forked from oliverschwendener/ueli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.config.js
33 lines (33 loc) · 1.01 KB
/
electron-builder.config.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
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
module.exports = {
productName: "Ueli",
directories: {
output: "release",
buildResources: "build",
},
files: ["dist-main/index.js", "dist-preload/index.js", "dist-renderer/**/*", "assets/**/*"],
extraMetadata: {
version: process.env.VITE_APP_VERSION,
},
mac: {
hardenedRuntime: true,
gatekeeperAssess: false,
icon: "assets/Build/app-icon-dark.png",
target: [
{ target: "dmg", arch: "universal" },
{ target: "zip", arch: "universal" },
],
},
win: {
icon: "assets/Build/app-icon-dark-transparent.png",
target: [{ target: "msi" }, { target: "nsis" }, { target: "zip" }, { target: "appx" }],
},
linux: {
icon: "assets/Build/app-icon-dark.png",
category: "Utility",
target: [{ target: "AppImage" }, { target: "deb" }, { target: "zip" }],
},
};