diff --git a/CMakeLists.txt b/CMakeLists.txt index 7658cc7..4574563 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ file (COPY resources/image DESTINATION share/planetblupi) file (COPY resources/movie DESTINATION share/planetblupi) file (COPY resources/sound DESTINATION share/planetblupi) file (COPY resources/music DESTINATION share/planetblupi) -file (COPY resources/icon/planetblupi.png DESTINATION share/planetblupi) +file (COPY resources/icon/blupi-256.png DESTINATION share/planetblupi) # Windows stuff @@ -155,7 +155,7 @@ install (DIRECTORY resources/image DESTINATION share/planetblupi) install (DIRECTORY resources/movie DESTINATION share/planetblupi) install (DIRECTORY resources/sound DESTINATION share/planetblupi) install (DIRECTORY resources/music DESTINATION share/planetblupi) -install (FILES resources/icon/planetblupi.png DESTINATION share/planetblupi) +install (FILES resources/icon/blupi-256.png DESTINATION share/planetblupi) # Copy libwinpthread-1.dll which seems not be linkable statically if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND MINGW) diff --git a/resources/icon/planetblupi.png b/resources/icon/planetblupi.png deleted file mode 100644 index e33aefb..0000000 Binary files a/resources/icon/planetblupi.png and /dev/null differ diff --git a/resources/win32/blupi.ico b/resources/win32/blupi.ico new file mode 100644 index 0000000..b03c465 Binary files /dev/null and b/resources/win32/blupi.ico differ diff --git a/resources/win32/planetblupi.ico b/resources/win32/planetblupi.ico deleted file mode 100644 index c9be4dd..0000000 Binary files a/resources/win32/planetblupi.ico and /dev/null differ diff --git a/resources/win32/planetblupi.rc b/resources/win32/planetblupi.rc index ea68a1e..259442a 100644 --- a/resources/win32/planetblupi.rc +++ b/resources/win32/planetblupi.rc @@ -1 +1 @@ -id ICON "planetblupi.ico" +id ICON "blupi.ico" diff --git a/src/blupi.cxx b/src/blupi.cxx index d86f369..0825d76 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -405,7 +405,7 @@ static bool DoInit (Sint32 argc, char *argv[]) return false; } - auto icon = IMG_Load ((GetBaseDir () + "planetblupi.png").c_str ()); + auto icon = IMG_Load ((GetBaseDir () + "blupi-256.png").c_str ()); SDL_SetWindowIcon (g_window, icon); SDL_FreeSurface (icon);