/** * @see https://www.electron.build/configuration/configuration */ { "appId": "com.heynote.app", "asar": true, //"icon": "public/favicon.ico", "directories": { "output": "release/${version}", "buildResources": "resources" }, "files": [ "dist-electron", "dist" ], "mac": { "artifactName": "${productName}_${version}.${ext}", "target": [ "dmg" ] }, "win": { "target": [ { "target": "nsis", "arch": [ "x64" ] } ], "artifactName": "${productName}_${version}.${ext}" }, "nsis": { "oneClick": false, "perMachine": false, "allowToChangeInstallationDirectory": true, "deleteAppDataOnUninstall": false } }