Skip to content

Commit a271283

Browse files
committed
feat: add icon to executable
1 parent 22aadc9 commit a271283

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

activity-browser.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ python_options = [
1414
if options.verbose:
1515
python_options.append(("v", None, "OPTION"))
1616

17+
EXE_ICON = os.path.join("activity_browser", "static", "icons", "activity-browser.ico") if platform.system().lower() == 'windows' else None
18+
1719
a = Analysis(
1820
["run-activity-browser.py"],
1921
pathex=[],
@@ -56,6 +58,7 @@ if options.debug:
5658
upx=True,
5759
upx_exclude=[],
5860
name="activity-browser",
61+
icon=EXE_ICON
5962
)
6063
target = coll
6164
else:
@@ -67,6 +70,7 @@ else:
6770
a.datas,
6871
name="activity-browser",
6972
console=False,
73+
icon=EXE_ICON
7074
)
7175
target = exe
7276

0 commit comments

Comments
 (0)