Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/bundle-desktop-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ jobs:
source_job_url="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
unsigned_url="s3://block-goose-artifacts-bucket-production/unsigned/goose-${GITHUB_SHA}-${{ github.run_id }}-intel.zip"

zip -q -u -r out/goose-darwin-x64/goose_intel_mac.zip entitlements.plist
zip -q -u -r out/Goose-darwin-x64/Goose_intel_mac.zip entitlements.plist

# upload unsigned goose to transfer bucket so it can be passed to lambda
aws s3 cp --quiet out/goose-darwin-x64/goose_intel_mac.zip "${unsigned_url}"
aws s3 cp --quiet out/Goose-darwin-x64/Goose_intel_mac.zip "${unsigned_url}"

# begin signing
echo "🚀 launching signing process"
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:

# download the signed app from S3
echo "⬇️ downloading signed app"
aws s3 cp --quiet "${signed_url}" out/goose-darwin-x64/goose_intel_mac.zip
aws s3 cp --quiet "${signed_url}" out/Goose-darwin-x64/Goose_intel_mac.zip
working-directory: ui/desktop

- name: Final cleanup before artifact upload
Expand All @@ -261,26 +261,26 @@ jobs:
- name: Upload Desktop artifact
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # pin@v4
with:
name: goose-darwin-x64
path: ui/desktop/out/goose-darwin-x64/goose_intel_mac.zip
name: Goose-darwin-x64
path: ui/desktop/out/Goose-darwin-x64/Goose_intel_mac.zip

- name: Quick launch test (macOS)
if: ${{ inputs.quick_test }}
run: |
# Ensure no quarantine attributes (if needed)
xattr -cr "ui/desktop/out/goose-darwin-x64/goose.app"
echo "Opening goose.app..."
open -g "ui/desktop/out/goose-darwin-x64/goose.app"
xattr -cr "ui/desktop/out/Goose-darwin-x64/Goose.app"
echo "Opening Goose.app..."
open -g "ui/desktop/out/Goose-darwin-x64/Goose.app"

# Give the app a few seconds to start and write logs
sleep 5

# Check if it's running
if pgrep -f "goose.app/Contents/MacOS/goose" > /dev/null; then
if pgrep -f "Goose.app/Contents/MacOS/Goose" > /dev/null; then
echo "App appears to be running."
else
echo "App did not stay open. Possible crash or startup error."
exit 1
fi
# Kill the app to clean up
pkill -f "goose.app/Contents/MacOS/goose"
pkill -f "Goose.app/Contents/MacOS/Goose"
6 changes: 3 additions & 3 deletions .github/workflows/bundle-desktop-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,21 +180,21 @@ jobs:
- name: Upload .deb package
uses: actions/upload-artifact@v4
with:
name: goose-linux-x64-deb
name: Goose-linux-x64-deb
path: ui/desktop/out/make/deb/x64/*.deb
if-no-files-found: error

- name: Upload .rpm package
uses: actions/upload-artifact@v4
with:
name: goose-linux-x64-rpm
name: Goose-linux-x64-rpm
path: ui/desktop/out/make/rpm/x64/*.rpm
if-no-files-found: error

- name: Upload combined Linux packages
uses: actions/upload-artifact@v4
with:
name: goose-linux-x64
name: Goose-linux-x64
path: |
ui/desktop/out/make/deb/x64/*.deb
ui/desktop/out/make/rpm/x64/*.rpm
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/bundle-desktop-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,12 @@ jobs:
- name: Copy exe/dll to final out folder and prepare flat distribution
run: |
cd ui/desktop
mkdir -p ./out/goose-win32-x64/resources/bin
rsync -av src/bin/ out/goose-win32-x64/resources/bin/
mkdir -p ./out/Goose-win32-x64/resources/bin
rsync -av src/bin/ out/Goose-win32-x64/resources/bin/

# Create flat distribution structure
mkdir -p ./dist-windows
cp -r ./out/goose-win32-x64/* ./dist-windows/
cp -r ./out/Goose-win32-x64/* ./dist-windows/

# Verify the final structure
echo "📋 Final flat distribution structure:"
Expand Down Expand Up @@ -318,8 +318,8 @@ jobs:
wget -q https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0.jar -O jsign.jar
echo "05ca18d4ab7b8c2183289b5378d32860f0ea0f3bdab1f1b8cae5894fb225fa8a jsign.jar" | sha256sum -c

# Sign the main Electron executable (goose.exe)
echo "🔐 Signing main Electron executable: goose.exe"
# Sign the main Electron executable (Goose.exe)
echo "🔐 Signing main Electron executable: Goose.exe"
cd ui/desktop/dist-windows/

java -jar ${GITHUB_WORKSPACE}/jsign.jar \
Expand All @@ -329,12 +329,12 @@ jobs:
--alias windows-codesign \
--certfile "${GITHUB_WORKSPACE}/block-codesign-cert.pem" \
--tsaurl "http://timestamp.digicert.com" \
--name "goose" \
--name "Goose" \
--url "https://github.com/block/goose" \
"goose.exe"
"Goose.exe"

osslsigncode verify goose.exe
echo "✅ Main executable goose.exe signed successfully"
osslsigncode verify Goose.exe
echo "✅ Main executable Goose.exe signed successfully"

# Sign the backend executable (goosed.exe)
echo "🔐 Signing backend executable: goosed.exe"
Expand All @@ -347,7 +347,7 @@ jobs:
--alias windows-codesign \
--certfile "${GITHUB_WORKSPACE}/block-codesign-cert.pem" \
--tsaurl "http://timestamp.digicert.com" \
--name "goose Backend" \
--name "Goose Backend" \
--url "https://github.com/block/goose" \
"goosed.exe"

Expand All @@ -357,8 +357,8 @@ jobs:
# Show final file status
echo "📋 Final signed files:"
cd ../../
ls -la goose.exe
sha256sum goose.exe
ls -la Goose.exe
sha256sum Goose.exe
ls -la resources/bin/goosed.exe
sha256sum resources/bin/goosed.exe

Expand All @@ -371,8 +371,8 @@ jobs:
run: |
echo "📋 Verifying both signed executables in final distribution:"
echo "Main executable:"
ls -la ui/desktop/dist-windows/goose.exe
osslsigncode verify ui/desktop/dist-windows/goose.exe
ls -la ui/desktop/dist-windows/Goose.exe
osslsigncode verify ui/desktop/dist-windows/Goose.exe
echo "✅ Main executable signature verification passed"

echo "Backend executable:"
Expand All @@ -387,18 +387,18 @@ jobs:
echo "📦 Creating Windows zip package..."

# Create a zip file from the dist-windows directory
zip -r "goose-win32-x64.zip" dist-windows/
zip -r "Goose-win32-x64.zip" dist-windows/

echo "✅ Windows zip package created:"
ls -la goose-win32-x64.zip
ls -la Goose-win32-x64.zip

# Also create the zip in the expected output structure for consistency
mkdir -p out/goose-win32-x64/
cp goose-win32-x64.zip out/goose-win32-x64/
mkdir -p out/Goose-win32-x64/
cp Goose-win32-x64.zip out/Goose-win32-x64/

# 11) Upload the final Windows build
- name: Upload Windows build artifacts
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # pin@v4
with:
name: goose-win32-x64
path: ui/desktop/out/goose-win32-x64/goose-win32-x64.zip
name: Goose-win32-x64
path: ui/desktop/out/Goose-win32-x64/Goose-win32-x64.zip
20 changes: 10 additions & 10 deletions .github/workflows/bundle-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ jobs:
source_job_url="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
unsigned_url="s3://block-goose-artifacts-bucket-production/unsigned/goose-${GITHUB_SHA}-${{ github.run_id }}-arm64.zip"

zip -q -u -r out/goose-darwin-arm64/goose.zip entitlements.plist
zip -q -u -r out/Goose-darwin-arm64/Goose.zip entitlements.plist

# upload unsigned goose to transfer bucket so it can be passed to lambda
aws s3 cp --quiet out/goose-darwin-arm64/goose.zip "${unsigned_url}"
aws s3 cp --quiet out/Goose-darwin-arm64/Goose.zip "${unsigned_url}"

# begin signing
echo "🚀 launching signing process"
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:

# download the signed app from S3
echo "⬇️ downloading signed app"
aws s3 cp --quiet "${signed_url}" out/goose-darwin-arm64/goose.zip
aws s3 cp --quiet "${signed_url}" out/Goose-darwin-arm64/Goose.zip
working-directory: ui/desktop

- name: Final cleanup before artifact upload
Expand All @@ -296,26 +296,26 @@ jobs:
id: upload-app-bundle
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # pin@v4
with:
name: goose-darwin-arm64
path: ui/desktop/out/goose-darwin-arm64/goose.zip
name: Goose-darwin-arm64
path: ui/desktop/out/Goose-darwin-arm64/Goose.zip

- name: Quick launch test (macOS)
if: ${{ inputs.quick_test }}
run: |
# Ensure no quarantine attributes (if needed)
xattr -cr "ui/desktop/out/goose-darwin-arm64/goose.app"
echo "Opening goose.app..."
open -g "ui/desktop/out/goose-darwin-arm64/goose.app"
xattr -cr "ui/desktop/out/Goose-darwin-arm64/Goose.app"
echo "Opening Goose.app..."
open -g "ui/desktop/out/Goose-darwin-arm64/Goose.app"

# Give the app a few seconds to start and write logs
sleep 5

# Check if it's running
if pgrep -f "goose.app/Contents/MacOS/goose" > /dev/null; then
if pgrep -f "Goose.app/Contents/MacOS/Goose" > /dev/null; then
echo "App appears to be running."
else
echo "App did not stay open. Possible crash or startup error."
exit 1
fi
# Kill the app to clean up
pkill -f "goose.app/Contents/MacOS/goose"
pkill -f "Goose.app/Contents/MacOS/Goose"
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: |
goose-*.tar.bz2
goose*.zip
Goose*.zip
*.deb
*.rpm
download_cli.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: |
goose-*.tar.bz2
goose*.zip
Goose*.zip
*.deb
*.rpm
download_cli.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-comment-bundle-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Download Intel artifact
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # pin@v4
with:
name: goose-darwin-x64
name: Goose-darwin-x64
path: intel-dist

- name: Comment on PR with Intel download link
Expand All @@ -91,7 +91,7 @@ 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, signed)](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.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-comment-bundle-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Download Windows artifact
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # pin@v4
with:
name: desktop-windows-dist
name: Goose-win32-x64
path: windows-dist

- name: Comment on PR with Windows download link
Expand All @@ -92,9 +92,9 @@ jobs:
body: |
### Windows Desktop App

[🪟 Download Windows Desktop App (x64, signed)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/desktop-windows-dist.zip)
[🪟 Download Windows Desktop App (x64, signed)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-win32-x64.zip)

**Instructions:**
After downloading, unzip the file and run goose.exe. The app is signed for Windows.
After downloading, unzip the file and run Goose.exe. The app is signed for Windows.

This link is provided by nightly.link and will work even if you're not logged into GitHub.
4 changes: 2 additions & 2 deletions .github/workflows/pr-comment-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Download ARM64 artifact
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # pin@v4
with:
name: goose-darwin-arm64
name: Goose-darwin-arm64
path: arm64-dist

- name: Comment on PR with ARM64 download link
Expand All @@ -133,7 +133,7 @@ jobs:
body: |
### macOS ARM64 Desktop App (Apple Silicon)

[📱 Download macOS Desktop App (arm64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/goose-darwin-arm64.zip)
[📱 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
2 changes: 1 addition & 1 deletion .github/workflows/release-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
body: |
### macOS ARM64 Desktop App (Apple Silicon)

[📱 Download macOS Desktop App (arm64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/goose-darwin-arm64.zip)
[📱 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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: |
goose-*.tar.bz2
goose*.zip
Goose*.zip
*.deb
*.rpm
download_cli.sh
Expand All @@ -122,7 +122,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: |
goose-*.tar.bz2
goose*.zip
Goose*.zip
*.deb
*.rpm
download_cli.sh
Expand Down
4 changes: 2 additions & 2 deletions documentation/src/components/MacDesktopInstallButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ const DesktopInstallButtons = () => {
<div className="pill-button">
<Link
className="button button--primary button--lg"
to="https://github.com/block/goose/releases/download/stable/goose.zip"
to="https://github.com/block/goose/releases/download/stable/Goose.zip"
>
<IconDownload /> macOS Silicon
</Link>
<Link
className="button button--primary button--lg"
to="https://github.com/block/goose/releases/download/stable/goose_intel_mac.zip"
to="https://github.com/block/goose/releases/download/stable/Goose_intel_mac.zip"
>
<IconDownload /> macOS Intel
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const WindowsDesktopInstallButtons = () => {
<div className="pill-button">
<Link
className="button button--primary button--lg"
to="https://github.com/block/goose/releases/download/stable/goose-win32-x64.zip"
to="https://github.com/block/goose/releases/download/stable/Goose-win32-x64.zip"
>
<IconDownload /> Windows
</Link>
Expand Down
8 changes: 4 additions & 4 deletions ui/desktop/forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ module.exports = {
{
name: '@electron-forge/maker-deb',
config: {
name: 'goose',
bin: 'goose',
name: 'Goose',
bin: 'Goose',
maintainer: 'Block, Inc.',
homepage: 'https://block.github.io/goose/',
categories: ['Development'],
Expand All @@ -79,8 +79,8 @@ module.exports = {
{
name: '@electron-forge/maker-rpm',
config: {
name: 'goose',
bin: 'goose',
name: 'Goose',
bin: 'Goose',
maintainer: 'Block, Inc.',
homepage: 'https://block.github.io/goose/',
categories: ['Development'],
Expand Down
Loading
Loading