mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Move URI scheme variable from Nextcloud.cmake to root CmakeListst.
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
ba16c4d816
commit
9270d401e8
2 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,9 @@ set( CFAPI_SHELLEXT_THUMBNAIL_HANDLER_CLASS_ID "6FF9B5B6-389F-444A-9FDD-A286C36E
|
|||
set( CFAPI_SHELLEXT_THUMBNAIL_HANDLER_CLASS_ID_REG "{${CFAPI_SHELLEXT_THUMBNAIL_HANDLER_CLASS_ID}}" )
|
||||
set( CFAPI_SHELLEXT_THUMBNAIL_HANDLER_DISPLAY_NAME "${APPLICATION_NAME} Thumbnail Handler" )
|
||||
|
||||
# URI Handler Scheme for Local File Editing
|
||||
set( APPLICATION_URI_HANDLER_SCHEME "nc")
|
||||
|
||||
# Default suffix if the theme doesn't define one
|
||||
if(NOT DEFINED APPLICATION_VIRTUALFILE_SUFFIX)
|
||||
set(APPLICATION_VIRTUALFILE_SUFFIX "${APPLICATION_SHORTNAME}_virtual" CACHE STRING "Virtual file suffix (not including the .)")
|
||||
|
|
|
@ -5,7 +5,6 @@ set( APPLICATION_DOMAIN "nextcloud.com" )
|
|||
set( APPLICATION_VENDOR "Nextcloud GmbH" )
|
||||
set( APPLICATION_UPDATE_URL "https://updates.nextcloud.org/client/" CACHE STRING "URL for updater" )
|
||||
set( APPLICATION_HELP_URL "" CACHE STRING "URL for the help menu" )
|
||||
set( APPLICATION_URI_HANDLER_SCHEME "nc")
|
||||
|
||||
if(APPLE AND APPLICATION_NAME STREQUAL "Nextcloud" AND EXISTS "${CMAKE_SOURCE_DIR}/theme/colored/Nextcloud-macOS-icon.svg")
|
||||
set( APPLICATION_ICON_NAME "Nextcloud-macOS" )
|
||||
|
|
Loading…
Reference in a new issue