chore(release): update yml file patterns in release workflow (#56)

This commit is contained in:
Haze
2026-02-11 18:53:01 +08:00
committed by GitHub
Unverified
parent 8ae15b8dd4
commit 2ae4201639
2 changed files with 13 additions and 4 deletions

View File

@@ -66,6 +66,10 @@ export class AppUpdater extends EventEmitter {
console.log(`[Updater] Version: ${version}, channel: ${channel}, feedUrl: ${feedUrl}`);
// Set channel so electron-updater requests the correct yml filename.
// e.g. channel "alpha" → requests alpha-mac.yml, channel "latest" → requests latest-mac.yml
autoUpdater.channel = channel;
autoUpdater.setFeedURL({
provider: 'generic',
url: feedUrl,