build: Fixed macOS bundling issues
* Fixed Info.plist file missing values and deprecated keys * Compress with 'ditto' instead of 'zip' for correct app notarization
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Sourcetrail</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>@MACOSX_BINARY_NAME@</string>
|
||||
<string>@MACOS_BINARY_NAME@</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.sourcetrail</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
@@ -16,16 +16,12 @@
|
||||
<string>Sourcetrail</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@VERSION_STRING@</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>@VERSION_STRING@</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
<key>LSRequiresCarbon</key>
|
||||
<true/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string></string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
|
||||
@@ -248,7 +248,7 @@ while true; do
|
||||
[Yy]* )
|
||||
echo -e $INFO "Notarize app.";
|
||||
|
||||
zip ${BUNDLE_PATH}.zip ${BUNDLE_PATH};
|
||||
ditto -c -k --keepParent ${BUNDLE_PATH} ${BUNDLE_PATH}.zip;
|
||||
xcrun altool --notarize-app --primary-bundle-id "com.sourcetrail" --username "egraether@coati.io"
|
||||
--password "@keychain:sourcetrail_notarization" --file ${BUNDLE_PATH}.zip;
|
||||
# xcrun altool --notarization-history 0 -u "egraether@coati.io" -p "@keychain:sourcetrail_notarization";
|
||||
|
||||
Reference in New Issue
Block a user