mirror of
https://gitee.com/viarotel-org/escrcpy.git
synced 2024-12-02 03:07:35 +08:00
69 lines
2.0 KiB
JSON
69 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
"productName": "Escrcpy",
|
|
"appId": "org.viarotel.escrcpy",
|
|
"asar": true,
|
|
"directories": {
|
|
"output": "dist-release",
|
|
"buildResources": "electron/resources/build"
|
|
},
|
|
"files": ["dist", "dist-electron"],
|
|
"publish": {
|
|
"provider": "github",
|
|
"owner": "viarotel-org",
|
|
"repo": "escrcpy",
|
|
"updaterCacheDirName": "escrcpy-updater"
|
|
},
|
|
"mac": {
|
|
"icon": "logo.icns",
|
|
"target": ["dmg"],
|
|
"artifactName": "${productName}-${version}-mac-installer.${ext}",
|
|
"entitlementsInherit": "electron/resources/build/entitlements.mac.plist",
|
|
"extendInfo": {
|
|
"NSCameraUsageDescription": "Application requests access to the device's camera.",
|
|
"NSMicrophoneUsageDescription": "Application requests access to the device's microphone.",
|
|
"NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.",
|
|
"NSDownloadsFolderUsageDescription": "Application requests access to the user's Downloads folder."
|
|
},
|
|
"notarize": false
|
|
},
|
|
"win": {
|
|
"icon": "logo.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "zip"
|
|
},
|
|
{
|
|
"target": "portable"
|
|
}
|
|
],
|
|
"extraResources": {
|
|
"from": "electron/resources/extra",
|
|
"to": "extra"
|
|
}
|
|
},
|
|
"nsis": {
|
|
"artifactName": "${productName}-${version}-win-setup.${ext}",
|
|
"shortcutName": "${productName}",
|
|
"uninstallDisplayName": "${productName}",
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName}-${version}-win-portable.${ext}",
|
|
"requestExecutionLevel": "user"
|
|
},
|
|
"linux": {
|
|
"icon": "logo.png",
|
|
"target": ["AppImage"],
|
|
"artifactName": "${productName}-${version}-linux.${ext}"
|
|
},
|
|
"npmRebuild": false
|
|
}
|