mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
66 lines
1.3 KiB
Text
66 lines
1.3 KiB
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": "app.freedata",
|
|
"asar": true,
|
|
"afterSign": "electron-builder-notarize",
|
|
"productName": "FreeDATA",
|
|
"directories": {
|
|
"output": "release/${version}"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"dist-electron",
|
|
|
|
{
|
|
from: 'src',
|
|
to: '123'
|
|
}
|
|
],
|
|
|
|
|
|
"extraResources": [
|
|
{
|
|
"from": "../modem/dist/modem/",
|
|
"to": "modem",
|
|
"filter": [
|
|
"**/*",
|
|
"!**/.git"
|
|
]
|
|
}
|
|
],
|
|
|
|
|
|
"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": {
|
|
"category": "Development",
|
|
"target": [
|
|
"AppImage"
|
|
],
|
|
"artifactName": "${productName}-${version}.${ext}"
|
|
}
|
|
}
|