diff --git a/.github/workflows/pr-comment-bundle-intel.yml b/.github/workflows/pr-comment-bundle-intel.yml index 2b5e103c35..db2263f6cc 100644 --- a/.github/workflows/pr-comment-bundle-intel.yml +++ b/.github/workflows/pr-comment-bundle-intel.yml @@ -91,9 +91,25 @@ jobs: body: | ### macOS Intel Desktop App (x64) - [💻 Download macOS Desktop App (Intel x64, signed)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-x64.zip) + [💻 Download macOS Desktop App (Intel x64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-x64.zip) **Instructions:** - After downloading, unzip the file and drag the goose.app to your Applications folder. The app is signed and notarized for macOS. - - This link is provided by nightly.link and will work even if you're not logged into GitHub. \ No newline at end of file + + The easiest way is to just run the following script: + + `./scripts/pre-release.sh` + + script which will download the latest release (or you can specify the release you need), does the + unzip, xattr to get it out of quarantine and signs it. + + If you need to do this manually: + + * Download the file + * Unzip + * run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'` + * optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'` + * start the app + + The signing step is only needed if you do something that uses mac entitlements like speech to text + + This link is provided by nightly.link and will work even if you're not logged into GitHub. diff --git a/.github/workflows/release-branches.yml b/.github/workflows/release-branches.yml index c2e47e6998..d2a63dbf48 100644 --- a/.github/workflows/release-branches.yml +++ b/.github/workflows/release-branches.yml @@ -27,9 +27,20 @@ jobs: [📱 Download macOS Desktop App (arm64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-arm64.zip) **Instructions:** - After downloading, unzip the file and drag the goose.app to a location you prefer. The app is unsigned, so to run it run `xattr -r -d com.apple.quarantine '/path/to/goose.app'` and then open the app - - **To test speech-to-text**, you also need to codesign the app with the microphone entitlement: - ``` - codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app' - ``` + + The easiest way is to just run the following script: + + `./scripts/pre-release.sh` + + script which will download the latest release (or you can specify the release you need), does the + unzip, xattr to get it out of quarantine and signs it. + + If you need to do this manually: + + * Download the file + * Unzip + * run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'` + * optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'` + * start the app + + The signing step is only needed if you do something that uses mac entitlements like speech to text