From ed61e45a057f08815b0c876cad10bbe28793b34e Mon Sep 17 00:00:00 2001 From: Alex Pawlowski Date: Sat, 11 Dec 2021 12:13:10 -0500 Subject: [PATCH 1/2] Remove the cached app bundle before bundling --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff46446..20b5f26 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -123,6 +123,7 @@ jobs: - name: Merge into a universal app run: | mkdir -p target/release/bundle/osx + rm -rf target/release/bundle/osx/Neovide.app || true cp -R target/x86_64-apple-darwin/release/bundle/osx/Neovide.app \ target/release/bundle/osx/Neovide.app rm target/release/bundle/osx/Neovide.app/Contents/MacOS/neovide From f6db4b7ebbffddc3d391d8e35fc6f5355f79a120 Mon Sep 17 00:00:00 2001 From: Alex Pawlowski Date: Sat, 11 Dec 2021 12:46:10 -0500 Subject: [PATCH 2/2] Ad-Hoc codesign the resulting app bundle after lipo --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20b5f26..63e70f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,6 +131,7 @@ jobs: target/aarch64-apple-darwin/release/bundle/osx/Neovide.app/Contents/MacOS/neovide \ -create -output \ target/release/bundle/osx/Neovide.app/Contents/MacOS/neovide + codesign --force --deep -s - target/release/bundle/osx/Neovide.app - name: Create .dmg file run: |