From d4e83814d84795e25de1c841dfa6b079a291fb33 Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Sun, 21 Nov 2021 01:05:13 +0100 Subject: [PATCH] fixed plist editing during rebuild to force light theme on macOS --- src/cmake/meshlab_tools.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmake/meshlab_tools.cmake b/src/cmake/meshlab_tools.cmake index c8be5fc26..b58e644d8 100644 --- a/src/cmake/meshlab_tools.cmake +++ b/src/cmake/meshlab_tools.cmake @@ -67,7 +67,7 @@ function(set_additional_settings_info_plist) COMMAND plutil -replace NSHighResolutionCapable -bool True ${ARG_FILE} COMMAND plutil -replace CFBundleDocumentTypes -xml '' ${ARG_FILE} COMMAND plutil -replace CFBundleIdentifier -string 'com.vcg.meshlab' ${ARG_FILE} - COMMAND plutil -replace NSRequiresAquaSystemAppearance -bool True ${ARG_FILE} + COMMAND plutil -insert NSRequiresAquaSystemAppearance -bool True ${ARG_FILE} || (exit 0) ) add_file_format_info_plist(