40 lines
993 B
Text
40 lines
993 B
Text
/**
|
|
* @see https://www.electron.build/configuration/configuration
|
|
*/
|
|
{
|
|
$schema: 'https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json',
|
|
appId: 'com.forthvending.taobin-recipe-manager',
|
|
asar: true,
|
|
productName: 'taobin-recipe-manager',
|
|
protocols: {
|
|
name: 'taobin-recipe-manager',
|
|
schemes: ['taobin-electron']
|
|
},
|
|
directories: {
|
|
output: 'release/${version}'
|
|
},
|
|
files: ['dist', 'dist-electron'],
|
|
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,
|
|
deleteAppDataOnUninstall: false
|
|
},
|
|
linux: {
|
|
target: ['AppImage'],
|
|
artifactName: '${productName}-Linux-${version}.${ext}'
|
|
}
|
|
}
|