add Windows icon
|
@ -137,6 +137,7 @@ src/gui/gui.cpp)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
list(APPEND ENGINE_SOURCES src/utfutils.cpp)
|
list(APPEND ENGINE_SOURCES src/utfutils.cpp)
|
||||||
list(APPEND ENGINE_SOURCES src/engine/winStuff.cpp)
|
list(APPEND ENGINE_SOURCES src/engine/winStuff.cpp)
|
||||||
|
list(APPEND ENGINE_SOURCES res/furnace.rc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_GUI)
|
if (BUILD_GUI)
|
||||||
|
|
1
res/furnace.rc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
IDI_ICON1 ICON DISCARDABLE "icon.ico"
|
BIN
res/icon.ico
Normal file
After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
@ -11,3 +11,5 @@ for i in "${sizes[@]}"; do
|
||||||
echo "making $i@2x..."
|
echo "making $i@2x..."
|
||||||
convert logo.png -filter Mitchell -scale "$((i*2))"x"$((i*2))" icon.iconset/icon_"$i"x"$i""@2x.png"
|
convert logo.png -filter Mitchell -scale "$((i*2))"x"$((i*2))" icon.iconset/icon_"$i"x"$i""@2x.png"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
convert icon.iconset/icon_256x256.png icon.ico
|
||||||
|
|