Skip to content

Commit

Permalink
add zip for macOS + Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
endorpersand committed Oct 5, 2024
1 parent 2215ec8 commit d5843b1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { ForgeConfig } from '@electron-forge/shared-types';
import { MakerSquirrel } from '@electron-forge/maker-squirrel';
import { MakerDMG } from "@electron-forge/maker-dmg";
import { MakerFlatpak } from "@electron-forge/maker-flatpak";
import { MakerZIP } from "@electron-forge/maker-zip";
import { PublisherGithub } from '@electron-forge/publisher-github';
import { VitePlugin } from '@electron-forge/plugin-vite';
import { FusesPlugin } from '@electron-forge/plugin-fuses';
Expand All @@ -27,7 +28,7 @@ const config: ForgeConfig = {
},
},
rebuildConfig: {},
makers: [new MakerSquirrel({}), new MakerDMG(), new MakerFlatpak({
makers: [new MakerSquirrel({}), new MakerDMG(), new MakerZIP({}, ['darwin', 'linux']), new MakerFlatpak({
// Override the default settings:
// Uses `org.freedesktop.Platform//24.08` and `org.freedesktop.SDK//24.08` instead of `19.08`
// Uses zypak v2024.01.17 instead of the default (v2021).
Expand Down
1 change: 1 addition & 0 deletions src/gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@electron-forge/maker-dmg": "~7.4.0",
"@electron-forge/maker-flatpak": "~7.4.0",
"@electron-forge/maker-squirrel": "~7.4.0",
"@electron-forge/maker-zip": "~7.4.0",
"@electron-forge/plugin-auto-unpack-natives": "~7.4.0",
"@electron-forge/plugin-fuses": "~7.4.0",
"@electron-forge/plugin-vite": "~7.4.0",
Expand Down
24 changes: 24 additions & 0 deletions src/gui/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5843b1

Please sign in to comment.