forked from chrisknepper/android-messages-desktop
-
Notifications
You must be signed in to change notification settings - Fork 30
/
electron-builder.js
37 lines (37 loc) · 995 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
34
35
36
37
module.exports = {
appId: "pw.kmr.amd",
artifactName: "${productName}-v${version}-${os}-${arch}.${ext}",
productName: "Android Messages",
copyright: "Copyright 2020 Kyle Rosenberg",
files: ["app/**/*", "resources/**/*"],
directories: {
buildResources: "resources",
output: "dist",
},
linux: {
target: ["AppImage", "snap", "deb", "pacman", "rpm", "freebsd", "zip"],
executableName: "AndroidMessages",
executableArgs: [
"--ozone-platform-hint=auto",
"--enable-features=WaylandWindowDecorations",
],
category: "Internet",
desktop: {
Name: "Android 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,
},
};