mirror of
https://github.com/alexkay/spek.git
synced 2025-04-19 01:47:37 +03:00
[win] Embed the icon into .exe
This commit is contained in:
parent
8c37a85268
commit
2dcebc3b30
@ -11,7 +11,12 @@ pushd $(dirname $0)/..
|
||||
|
||||
rm -fr win/msi-data
|
||||
mkdir win/msi-data
|
||||
CFLAGS="-mwindows" ./configure --prefix=${PWD}/win/msi-data && make && make install
|
||||
|
||||
# Compile the resource file
|
||||
windres win/spek.rc -O coff -o win/spek.res
|
||||
mkdir src/win && cp win/spek.res src/win/
|
||||
|
||||
CFLAGS="-mwindows" LDFLAGS="win/spek.res" ./configure --prefix=${PWD}/win/msi-data && make && make install
|
||||
|
||||
cd win/msi-data
|
||||
|
||||
|
1
win/spek.rc
Normal file
1
win/spek.rc
Normal file
@ -0,0 +1 @@
|
||||
0 ICON "spek.ico"
|
Loading…
x
Reference in New Issue
Block a user