add electron auto-update

This commit is contained in:
Ramnique Singh 2026-01-20 00:15:21 +05:30
parent ce3d5eb7f0
commit d92106741d
5 changed files with 1342 additions and 3 deletions

View file

@ -48,6 +48,21 @@ module.exports = {
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
// ZIP is used by Squirrel.Mac for auto-updates
config: (arch) => ({
// Path must match S3 publisher's folder structure: releases/darwin/{arch}
macUpdateManifestBaseUrl: `https://rowboat-desktop-app-releases.s3.amazonaws.com/releases/darwin/${arch}`
})
}
],
publishers: [
{
name: '@electron-forge/publisher-s3',
config: {
bucket: 'rowboat-desktop-app-releases',
region: 'us-east-1',
public: true,
folder: 'releases' // Creates structure: releases/darwin/arm64/files
}
}
],
hooks: {