Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08d786a

Browse files
committed
Help compiling icons into an exe, for use with MSI advertisement.
1 parent cc0def1 commit 08d786a

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

PC/icons.mak

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
python_icon.exe: py.res empty.obj
2+
link /out:python_icon.exe /machine:x86 /subsystem:windows py.res empty.obj
3+
4+
py.res: py.ico pyc.ico pycon.ico icons.rc
5+
rc /fo py.res icons.rc
6+
7+
empty.obj: empty.c
8+
cl /c empty.c
9+

PC/icons.rc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
101 ICON "py.ico"
2+
102 ICON "pyc.ico"
3+
103 ICON "pycon.ico"
4+

0 commit comments

Comments
 (0)