From 20ddc80a2a08a08bc5668312dbed38f24955eda8 Mon Sep 17 00:00:00 2001 From: Aaron Murgatroyd Date: Sat, 9 Nov 2024 13:26:23 +1000 Subject: [PATCH] Code sign Mach O files manually Fix typo Add MacOS Output and Temp folders to GitIgnore --- .gitignore | 4 ++++ distribution/macos/create_app_bundle.sh | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f71237b1a..f7f7bf47d 100644 --- a/.gitignore +++ b/.gitignore @@ -175,3 +175,7 @@ PublishProfiles/ # Glade backup files *.glade~ + +# Distribution for MACOS Files +distribution/macos/temp/* +distribution/macos/output/* diff --git a/distribution/macos/create_app_bundle.sh b/distribution/macos/create_app_bundle.sh index e4397da84..9c1080fa8 100755 --- a/distribution/macos/create_app_bundle.sh +++ b/distribution/macos/create_app_bundle.sh @@ -42,9 +42,10 @@ then fi # cargo install apple-codesign - echo "Usign rcodesign for ad-hoc signing" + echo "Using rcodesign for ad-hoc signing" rcodesign sign --entitlements-xml-path "$ENTITLEMENTS_FILE_PATH" "$APP_BUNDLE_DIRECTORY" else - echo "Usign codesign for ad-hoc signing" + echo "Using codesign for ad-hoc signing" + find "$APP_BUNDLE_DIRECTORY" -name "*.dylib" -exec codesign -f -s - {} \; codesign --entitlements "$ENTITLEMENTS_FILE_PATH" -f -s - "$APP_BUNDLE_DIRECTORY" fi