Skip to content

Commit f4476d8

Browse files
committed
add makerdmg
1 parent 7e43aaf commit f4476d8

File tree

4 files changed

+14994
-2
lines changed

4 files changed

+14994
-2
lines changed

forge.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { MakerDMG } from "@electron-forge/maker-dmg";
12
import { MakerZIP } from "@electron-forge/maker-zip";
23
import { VitePlugin } from "@electron-forge/plugin-vite";
34
import type { ForgeConfig } from "@electron-forge/shared-types";
@@ -10,7 +11,13 @@ const config: ForgeConfig = {
1011
icon: "./build/app-icon", // Forge adds .icns/.ico/.png based on platform
1112
},
1213
rebuildConfig: {},
13-
makers: [new MakerZIP({}, ["darwin", "linux", "win32"])],
14+
makers: [
15+
new MakerDMG({
16+
icon: "./build/app-icon.icns",
17+
format: "ULFO",
18+
}),
19+
new MakerZIP({}, ["darwin", "linux", "win32"]),
20+
],
1421
plugins: [
1522
new VitePlugin({
1623
build: [

0 commit comments

Comments
 (0)