-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforge.config.mjs
More file actions
30 lines (29 loc) · 812 Bytes
/
forge.config.mjs
File metadata and controls
30 lines (29 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// forge.config.mjs
import { makerSquirrel } from '@electron-forge/maker-squirrel';
import { makerZip } from '@electron-forge/maker-zip';
import { makerRpm } from '@electron-forge/maker-rpm';
import { makerDeb } from '@electron-forge/maker-deb';
import { VitePlugin } from '@electron-forge/plugin-vite';
import AutoUnpackNatives from '@electron-forge/plugin-auto-unpack-natives';
export default {
packagerConfig: {
icon: 'src/assets/logo',
asar: true,
unpack: '**/better-sqlite3/**'
},
rebuildConfig: {},
plugins: [
VitePlugin(),
AutoUnpackNatives()
],
makers: [
makerSquirrel({
name: 'floatnote',
setupExe: 'FloatNoteSetup.exe',
setupIcon: 'src/assets/logo.ico'
}),
makerZip({}, ['darwin', 'linux', 'win32']),
makerDeb(),
makerRpm()
]
};