forked from OrangeDrangon/android-messages-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.js
33 lines (33 loc) · 883 Bytes
/
electron-builder.js
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
31
32
33
module.exports = {
appId: "pw.kmr.amd",
artifactName: "${productName}-v${version}-${os}-${arch}.${ext}",
productName: "Google Messages",
copyright: "Copyright 2023 Luis Vervaet",
files: ["app/**/*", "resources/**/*"],
directories: {
buildResources: "resources",
output: "dist",
},
linux: {
target: ["AppImage", "snap", "deb", "pacman", "rpm", "freebsd", "zip"],
executableName: "GoogleMessages",
category: "Internet",
desktop: {
StartupWMClass: "google-messages-desktop",
},
},
win: {
target: ["nsis", "portable"],
},
mac: {
category: "public.app-category.social-networking",
target: { target: "default", arch: "universal" },
},
portable: {
artifactName: "${productName}-v${version}-${os}-${arch}.portable.${ext}",
},
nsis: {
allowToChangeInstallationDirectory: true,
oneClick: false,
},
};