| 1 | { |
| 2 | "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json", |
| 3 | "appId": "cn.aitoearn.pc", |
| 4 | "productName": "哎哟赚AiToEarn", |
| 5 | "asar": true, |
| 6 | "asarUnpack": ["**/node_modules/sharp/**/*", "**/node_modules/@img/**/*"], |
| 7 | "directories": { |
| 8 | "output": "release/${version}" |
| 9 | }, |
| 10 | "files": ["dist-electron", "dist"], |
| 11 | "mac": { |
| 12 | "gatekeeperAssess": false, |
| 13 | "hardenedRuntime": true, |
| 14 | "entitlements": "scripts/entitlements.mac.plist", |
| 15 | "entitlementsInherit": "scripts/entitlements.mac.plist", |
| 16 | "identity": "Yika(Beijing)Technology Co., Ltd.", |
| 17 | "artifactName": "${productName}-${version}-${arch}.${ext}", |
| 18 | "target": [ |
| 19 | { |
| 20 | "target": "default", |
| 21 | "arch": ["x64", "arm64"] |
| 22 | } |
| 23 | ] |
| 24 | }, |
| 25 | "win": { |
| 26 | "target": [ |
| 27 | { |
| 28 | "target": "nsis", |
| 29 | "arch": ["x64"] |
| 30 | } |
| 31 | ], |
| 32 | "artifactName": "${productName}-${version}.${ext}" |
| 33 | }, |
| 34 | "nsis": { |
| 35 | "oneClick": false, |
| 36 | "perMachine": false, |
| 37 | "allowToChangeInstallationDirectory": true, |
| 38 | "deleteAppDataOnUninstall": false |
| 39 | }, |
| 40 | "publish": { |
| 41 | "provider": "generic", |
| 42 | "channel": "latest", |
| 43 | "url": "https://ylzsfile.yikart.cn/att/" |
| 44 | }, |
| 45 | "extraResources": [ |
| 46 | { |
| 47 | "from": "public/assets", |
| 48 | "to": "assets", |
| 49 | "filter": ["**/*"] |
| 50 | } |
| 51 | ] |
| 52 | } |
| 53 |