From 7cc59dab273c5cd92de2ab3486c611d140347805 Mon Sep 17 00:00:00 2001 From: tao wang Date: Wed, 22 Mar 2023 15:36:23 +0800 Subject: [PATCH] NEW:add new startup name in the MacOS system Change-Id: I0648e2379314c02a9255c3aa5f6e786a37438d4b --- cmake/modules/MacOSXBundleInfo.plist.in | 11 +++++++++++ src/platform/osx/Info.plist.in | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/cmake/modules/MacOSXBundleInfo.plist.in b/cmake/modules/MacOSXBundleInfo.plist.in index d513c387a..0e988d964 100644 --- a/cmake/modules/MacOSXBundleInfo.plist.in +++ b/cmake/modules/MacOSXBundleInfo.plist.in @@ -26,6 +26,17 @@ ???? CFBundleVersion ${MACOSX_BUNDLE_BUNDLE_VERSION} + CFBundleURLTypes + + + CFBundleURLName + bambustudioopen url + CFBundleURLSchemes + + bambustudioopen + + + CFBundleDocumentTypes diff --git a/src/platform/osx/Info.plist.in b/src/platform/osx/Info.plist.in index 7606c3e77..5392fab24 100644 --- a/src/platform/osx/Info.plist.in +++ b/src/platform/osx/Info.plist.in @@ -22,6 +22,17 @@ ???? CFBundleVersion @SLIC3R_BUILD_ID@ + CFBundleURLTypes + + + CFBundleURLName + bambustudioopen url + CFBundleURLSchemes + + bambustudioopen + + + CFBundleDocumentTypes