2023-09-02 11:37:03 +00:00
|
|
|
/**
|
|
|
|
* @see https://www.electron.build/configuration/configuration
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
|
|
"appId": "YourAppID",
|
|
|
|
"asar": true,
|
2023-10-04 21:34:36 +00:00
|
|
|
"productName": "FreeDATA",
|
2023-09-02 11:37:03 +00:00
|
|
|
"directories": {
|
|
|
|
"output": "release/${version}"
|
|
|
|
},
|
|
|
|
"files": [
|
2023-10-04 17:54:50 +00:00
|
|
|
"dist",
|
|
|
|
"dist-electron"
|
2023-09-02 11:37:03 +00:00
|
|
|
],
|
|
|
|
"mac": {
|
|
|
|
"target": [
|
|
|
|
"dmg"
|
2023-10-04 17:54:50 +00:00
|
|
|
],
|
|
|
|
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
|
|
|
"arch": [
|
|
|
|
"x64"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-10-04 17:54:50 +00:00
|
|
|
"artifactName": "${productName}-Windows-${version}-Setup.${ext}"
|
2023-09-02 11:37:03 +00:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
"deleteAppDataOnUninstall": false
|
2023-10-04 17:54:50 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"target": [
|
|
|
|
"AppImage"
|
|
|
|
],
|
2023-10-04 21:34:36 +00:00
|
|
|
"artifactName": "${productName}-${version}.${ext}"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"**/*",
|
|
|
|
"!**/*.ts",
|
|
|
|
"!*.map",
|
|
|
|
"!package.json",
|
|
|
|
"!package-lock.json",
|
|
|
|
{
|
|
|
|
"from": "../dist",
|
|
|
|
"filter": [
|
|
|
|
"**/*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|