mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
shell/macOS: Remove backslashes from the extension display name
Tell cmake not to escape shell strings adding backslashes before spaces by passing the VERBATIM optiton. Also add the quotes to whole command line arguments to prevent quotes from appearing on the XCode side, because of the VERBATIM option. This only affects themed clients since the default theme doesn't have space in its APPLICATION_NAME.
This commit is contained in:
parent
d3a0608bd5
commit
ebd2a15711
1 changed files with 7 additions and 6 deletions
|
@ -16,12 +16,13 @@ set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/ownCloud.icns")
|
||||||
# those user-defined settings to build the plist.
|
# those user-defined settings to build the plist.
|
||||||
add_custom_target( mac_overlayplugin ALL
|
add_custom_target( mac_overlayplugin ALL
|
||||||
xcodebuild -project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj
|
xcodebuild -project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj
|
||||||
-target FinderSyncExt -configuration Release SYMROOT=${CMAKE_CURRENT_BINARY_DIR}
|
-target FinderSyncExt -configuration Release "SYMROOT=${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}
|
"OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}"
|
||||||
OC_APPLICATION_NAME="${APPLICATION_NAME}"
|
"OC_APPLICATION_NAME=${APPLICATION_NAME}"
|
||||||
OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}
|
"OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}"
|
||||||
OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}
|
"OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}"
|
||||||
COMMENT building Mac Overlay icons)
|
COMMENT building Mac Overlay icons
|
||||||
|
VERBATIM)
|
||||||
add_dependencies(mac_overlayplugin ${APPLICATION_EXECUTABLE}) # for the ownCloud.icns to be generated
|
add_dependencies(mac_overlayplugin ${APPLICATION_EXECUTABLE}) # for the ownCloud.icns to be generated
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue