Skip to content

Commit

Permalink
Update zip.md
Browse files Browse the repository at this point in the history
  • Loading branch information
says10 authored Mar 6, 2024
1 parent f359bda commit 75a18e0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion config/makers/zip.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ The Zip target builds basic `.zip` files containing your packaged application.Th

```javascript
{
name: '@electron-forge/maker-zip'
name: '@electron-forge/maker-zip',
config: (arch) => ({
macUpdateManifestBaseUrl: (config) => {
const parsed = new URL(config.macUpdateManifestBaseUrl);
if (!parsed.pathname.endsWith('/RELEASES.json')) {
parsed.pathname += '/RELEASES.json';
}
return parsed.toString();
}
})
}

```

0 comments on commit 75a18e0

Please sign in to comment.