2023-10-16 05:53:08 +02:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
2023-10-17 09:27:08 +02:00
|
|
|
"productName": "Escrcpy",
|
2023-10-16 05:53:08 +02:00
|
|
|
"appId": "org.viarotel.escrcpy",
|
|
|
|
"directories": {
|
2023-10-16 10:57:22 +02:00
|
|
|
"output": "dist-release",
|
2023-10-16 05:53:08 +02:00
|
|
|
"buildResources": "electron/resources/build"
|
|
|
|
},
|
2023-10-22 18:43:52 +02:00
|
|
|
"icon": "logo",
|
2023-10-16 05:53:08 +02:00
|
|
|
"files": ["dist", "dist-electron"],
|
|
|
|
"win": {
|
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
2023-10-21 10:28:14 +02:00
|
|
|
"arch": ["x64", "arm64"]
|
2023-10-16 05:53:08 +02:00
|
|
|
},
|
|
|
|
{
|
2023-10-20 17:40:36 +02:00
|
|
|
"target": "zip",
|
2023-10-21 10:28:14 +02:00
|
|
|
"arch": ["x64", "arm64"]
|
2023-10-16 05:53:08 +02:00
|
|
|
},
|
|
|
|
{
|
2023-10-20 17:40:36 +02:00
|
|
|
"target": "portable",
|
2023-10-21 10:28:14 +02:00
|
|
|
"arch": ["x64", "arm64"]
|
2023-10-16 05:53:08 +02:00
|
|
|
}
|
2023-10-20 12:17:58 +02:00
|
|
|
],
|
2023-10-21 10:28:14 +02:00
|
|
|
"artifactName": "${productName}-${version}-win-${arch}.${ext}",
|
2023-10-20 12:17:58 +02:00
|
|
|
"extraResources": {
|
|
|
|
"from": "electron/resources/extra",
|
|
|
|
"to": "extra"
|
|
|
|
}
|
2023-10-16 05:53:08 +02:00
|
|
|
},
|
2023-10-22 18:43:52 +02:00
|
|
|
"nsis": {
|
|
|
|
"artifactName": "${productName}-${version}-win-setup-${arch}.${ext}",
|
|
|
|
"shortcutName": "${productName}",
|
|
|
|
"uninstallDisplayName": "${productName}",
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
"deleteAppDataOnUninstall": false
|
|
|
|
},
|
|
|
|
"portable": {
|
|
|
|
"artifactName": "${productName}-${version}-win-portable-${arch}.${ext}",
|
|
|
|
"requestExecutionLevel": "user"
|
|
|
|
},
|
2023-10-20 17:40:36 +02:00
|
|
|
"mac": {
|
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "dmg",
|
|
|
|
"arch": ["universal", "x64", "arm64"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "zip",
|
|
|
|
"arch": ["universal", "x64", "arm64"]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
2023-10-22 18:43:52 +02:00
|
|
|
"extraResources": {
|
|
|
|
"from": "electron/resources/extra",
|
|
|
|
"to": "extra",
|
|
|
|
"filter": ["**/*", "!core"]
|
|
|
|
},
|
2023-10-20 17:40:36 +02:00
|
|
|
"entitlementsInherit": "electron/resources/build/entitlements.mac.plist",
|
|
|
|
"extendInfo": {
|
|
|
|
"NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.",
|
|
|
|
"NSDownloadsFolderUsageDescription": "Application requests access to the user's Downloads folder."
|
|
|
|
},
|
|
|
|
"type": "development",
|
|
|
|
"notarize": false,
|
|
|
|
"darkModeSupport": true,
|
|
|
|
"hardenedRuntime": false
|
2023-10-16 05:53:08 +02:00
|
|
|
},
|
|
|
|
"linux": {
|
2023-10-22 18:43:52 +02:00
|
|
|
"desktop": "logo",
|
2023-10-20 17:55:00 +02:00
|
|
|
"maintainer": "viarotel@qq.com",
|
2023-10-20 17:40:36 +02:00
|
|
|
"category": "Utility",
|
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "AppImage",
|
|
|
|
"arch": ["x64", "arm64"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "deb",
|
|
|
|
"arch": ["x64", "arm64"]
|
|
|
|
}
|
|
|
|
],
|
2023-10-22 18:43:52 +02:00
|
|
|
"artifactName": "${productName}-${version}-linux-${arch}.${ext}",
|
|
|
|
"extraResources": {
|
|
|
|
"from": "electron/resources/extra",
|
|
|
|
"to": "extra",
|
|
|
|
"filter": ["**/*", "!core"]
|
|
|
|
}
|
2023-10-16 10:08:02 +02:00
|
|
|
},
|
2023-10-22 18:43:52 +02:00
|
|
|
"asar": true,
|
2023-10-23 10:26:07 +02:00
|
|
|
"npmRebuild": true,
|
2023-10-22 18:43:52 +02:00
|
|
|
"publish": {
|
|
|
|
"provider": "github",
|
|
|
|
"owner": "viarotel-org",
|
|
|
|
"repo": "escrcpy",
|
|
|
|
"updaterCacheDirName": "escrcpy-updater"
|
|
|
|
}
|
2023-10-16 05:53:08 +02:00
|
|
|
}
|