Skip to content

Commit

Permalink
chore: fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 2, 2025
1 parent 432e043 commit ab82805
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,14 @@ jobs:
# try and avoid timeout errors
yarn config set httpTimeout 100000
if [[ "${{ github.ref }}" == refs/tags/* ]]
export EB_UPDATE_CHANNEL=stable
elif [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
export EB_UPDATE_CHANNEL=beta
elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then
export EB_UPDATE_CHANNEL=experimental
fi
yarn
yarn --cwd webui install
Expand Down Expand Up @@ -264,6 +272,14 @@ jobs:
# try and avoid timeout errors
yarn config set httpTimeout 100000
if [[ "${{ github.ref }}" == refs/tags/* ]]
export EB_UPDATE_CHANNEL=stable
elif [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
export EB_UPDATE_CHANNEL=beta
elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then
export EB_UPDATE_CHANNEL=experimental
fi
yarn
yarn --cwd webui install
yarn dist mac-x64
Expand Down
2 changes: 1 addition & 1 deletion satellite/src/electronUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const updateChannel: string | undefined = app.isPackaged ? pkgJson.updateChannel
autoUpdater.setFeedURL({
provider: 'generic',
publishAutoUpdate: false,
url: 'https://api-staging.bitfocus.io/v1/product/electron-updater/companion-satellite',
url: 'https://api.bitfocus.io/v1/product/electron-updater/companion-satellite',
})
autoUpdater.autoDownload = false
autoUpdater.autoInstallOnAppQuit = true
Expand Down

0 comments on commit ab82805

Please sign in to comment.