update macOS build process to work with new .app

Signed-off-by: Tobias Möritz <tobias@moeritz.cc>
This commit is contained in:
Tobias Möritz 2022-10-22 15:10:32 +02:00 committed by GitHub
parent 1dad35ca76
commit 500a7eceab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,8 +249,8 @@ jobs:
cmake --install ${{ env.BUILD_DIR }}
cd ${{ env.INSTALL_DIR }}
chmod +x "PrismLauncher.app/Contents/MacOS/prismlauncher"
sudo codesign --sign - --deep --force --entitlements "../program_info/App.entitlements" --options runtime "PrismLauncher.app/Contents/MacOS/prismlauncher"
chmod +x "Prism Launcher.app/Contents/MacOS/prismlauncher"
sudo codesign --sign - --deep --force --entitlements "../program_info/App.entitlements" --options runtime "Prism Launcher.app/Contents/MacOS/prismlauncher"
tar -czf ../PrismLauncher.tar.gz *
- name: Make Sparkle signature (macOS)