Skip to content

Commit 2e29b5c

Browse files
committed
Hide icon in Dock
1 parent d536237 commit 2e29b5c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

siliv.spec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ exe = EXE(
5454
upx=True,
5555
upx_exclude=[],
5656
runtime_tmpdir=None,
57-
console=False,
57+
console=False, # Set to False for GUI applications
5858
disable_windowed_traceback=False,
5959
target_arch=None,
6060
codesign_identity=None,
@@ -67,14 +67,15 @@ app = BUNDLE(
6767
exe,
6868
name=f'{app_name}.app',
6969
icon=icon_path_source,
70-
bundle_identifier='siliv', # CHANGE com.example
70+
bundle_identifier='com.sub01.siliv',
7171
info_plist={
7272
'NSPrincipalClass': 'NSApplication',
7373
'NSAppleScriptEnabled': False,
74+
'LSUIElement': '1',
7475
'CFBundleDisplayName': app_name,
7576
'CFBundleName': app_name,
7677
'CFBundleVersion': '1.0.0',
7778
'CFBundleShortVersionString': '1.0',
78-
'NSHumanReadableCopyright': 'Copyright © 2025 Somewhere. All rights reserved.'
79+
'NSHumanReadableCopyright': 'Copyright © 2025 Sub01. All rights reserved.'
7980
}
80-
)
81+
)

0 commit comments

Comments
 (0)