mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-22 20:35:48 +03:00
Fix the app icon to be ownclouds
This commit is contained in:
parent
bfedc2c18b
commit
496572314d
3 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ macro (KDE4_ADD_APP_ICON appsources pattern)
|
|||
set(WINDRES_EXECUTABLE TRUE)
|
||||
endif(MSVC)
|
||||
if (PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
|
||||
string(REPLACE "*" "(.*)" pattern_rx "${pattern}")
|
||||
string(REPLACE "*" "([0123456789]*)" pattern_rx "${pattern}")
|
||||
file(GLOB files "${pattern}")
|
||||
foreach (it ${files})
|
||||
string(REGEX REPLACE "${pattern_rx}" "\\1" fn "${it}")
|
||||
|
|
BIN
resources/owncloud-icon-128.png
Normal file
BIN
resources/owncloud-icon-128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -111,7 +111,7 @@ set( final_src
|
|||
# add executable icon on windows and osx
|
||||
include( AddAppIconMacro )
|
||||
set(ownCloud_old ${ownCloud})
|
||||
kde4_add_app_icon( ownCloud "${CMAKE_CURRENT_SOURCE_DIR}/../resources/mirall-*.png" )
|
||||
kde4_add_app_icon( ownCloud "${CMAKE_CURRENT_SOURCE_DIR}/../resources/owncloud-icon-*.png")
|
||||
list(APPEND final_src ${ownCloud})
|
||||
set(ownCloud ${ownCloud_old})
|
||||
|
||||
|
|
Loading…
Reference in a new issue