diff --git a/CMakeLists.txt b/CMakeLists.txt index cdc0a9a7962c..a32c1cee2901 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 .)") diff --git a/NEXTCLOUD.cmake b/NEXTCLOUD.cmake index 81419eedb56e..67b56ccc5c2d 100644 --- a/NEXTCLOUD.cmake +++ b/NEXTCLOUD.cmake @@ -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" )