Commit 8d8d7495 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Add bigger icons for OSX

parent fcea2ec8
......@@ -16,6 +16,7 @@ if (WIN32 AND USE_BREAKPAD)
endif ()
set(krita_SRCS main.cc)
set(kra_SRCS main.cc)
if (NOT APPLE)
file(GLOB ICON_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/app/*-apps-calligrakrita.png")
......@@ -83,6 +84,16 @@ if(HAVE_KCRASH)
PRIVATE
KF5::Crash
)
set(KRA_SRCS
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/16-application-x-krita.png"
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/32-application-x-krita.png"
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/48-application-x-krita.png"
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/128-application-x-krita.png"
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/256-application-x-krita.png"
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/512-application-x-krita.png"
"${CMAKE_CURRENT_SOURCE_DIR}/pics/mimetypes/1024-application-x-krita.png"
)
ecm_add_app_icon(kra_SRCS ICONS ${KRA_SRCS})
endif()
if (APPLE)
......
......@@ -41,6 +41,8 @@
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFile</key>
<string>kra_SRCS</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>kra</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment