From ffe7c478426eddbf4f1a0896d2960e2ec2cd4d1b Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 7 Aug 2020 13:19:54 +0300 Subject: Added an application icon --- CMakeLists.txt | 12 +++++------- res/Lagrange-padded.png | Bin 0 -> 844495 bytes res/Lagrange.icns | Bin 0 -> 1399146 bytes res/lagrange-256.png | Bin 0 -> 84056 bytes res/lagrange.ico | Bin 0 -> 96562 bytes 5 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 res/Lagrange-padded.png create mode 100644 res/Lagrange.icns create mode 100644 res/lagrange-256.png create mode 100644 res/lagrange.ico diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dd4ca2d..df3ec24f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,9 +84,7 @@ set (SOURCES if (IOS) elseif (APPLE) list (APPEND SOURCES src/ui/macos.m src/ui/macos.h) - # list (APPEND RESOURCES - # "res/Lagrange.icns" - # ) + list (APPEND RESOURCES "res/Lagrange.icns") endif () if (MSYS) set (WINRC_FILE_VERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0) @@ -158,9 +156,9 @@ Type=Application Icon=fi.skyjake.lagrange") install (TARGETS app DESTINATION bin) install (FILES ${desktop} DESTINATION share/applications) - # install (FILES res/appicon-128.png - # DESTINATION share/icons/hicolor/256x256/apps - # RENAME fi.skyjake.lagrange.png - # ) + install (FILES res/lagrange-256.png + DESTINATION share/icons/hicolor/256x256/apps + RENAME fi.skyjake.lagrange.png + ) endif () diff --git a/res/Lagrange-padded.png b/res/Lagrange-padded.png new file mode 100644 index 00000000..47f0efc1 Binary files /dev/null and b/res/Lagrange-padded.png differ diff --git a/res/Lagrange.icns b/res/Lagrange.icns new file mode 100644 index 00000000..2d9f3f74 Binary files /dev/null and b/res/Lagrange.icns differ diff --git a/res/lagrange-256.png b/res/lagrange-256.png new file mode 100644 index 00000000..717c38ca Binary files /dev/null and b/res/lagrange-256.png differ diff --git a/res/lagrange.ico b/res/lagrange.ico new file mode 100644 index 00000000..c9118faa Binary files /dev/null and b/res/lagrange.ico differ -- cgit v1.2.3