44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
// @see - https://www.electron.build/configuration/configuration
|
|
{
|
|
$schema: "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
appId: "cvpilot",
|
|
asar: true,
|
|
productName: "cvpilot",
|
|
directories: {
|
|
output: "release/${version}",
|
|
},
|
|
files: ["dist", "dist-electron"],
|
|
extraResources: [
|
|
{
|
|
from: "./extraResources/",
|
|
to: "lib/"
|
|
}
|
|
],
|
|
mac: {
|
|
target: ["dmg"],
|
|
artifactName: "${productName}-Mac-${version}-Installer.${ext}",
|
|
},
|
|
win: {
|
|
target: [
|
|
{
|
|
target: "nsis",
|
|
arch: ["x64"],
|
|
},
|
|
],
|
|
artifactName: "${productName}-Windows-${version}-Setup.${ext}",
|
|
},
|
|
nsis: {
|
|
oneClick: false,
|
|
perMachine: false,
|
|
allowToChangeInstallationDirectory: true,
|
|
createDesktopShortcut: true,
|
|
runAfterFinish: true,
|
|
include: "./scripts/installer.nsh",
|
|
deleteAppDataOnUninstall: false,
|
|
},
|
|
linux: {
|
|
target: ["AppImage"],
|
|
artifactName: "${productName}-Linux-${version}.${ext}",
|
|
},
|
|
}
|