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"
|
|
|
|
},
|
|
|
|
"files": ["dist", "dist-electron"],
|
|
|
|
"win": {
|
2023-10-24 19:05:42 +02:00
|
|
|
"icon": "logo.ico",
|
2023-10-16 05:53:08 +02:00
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
2023-10-21 10:28:14 +02:00
|
|
|
"arch": ["x64", "arm64"]
|
2024-11-06 11:58:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "zip",
|
|
|
|
"arch": ["x64", "arm64"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "portable",
|
|
|
|
"arch": ["x64", "arm64"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "appx",
|
|
|
|
"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",
|
2023-10-30 04:04:43 +01:00
|
|
|
"to": "extra",
|
2024-11-06 11:56:34 +01:00
|
|
|
"filter": ["common", "win", "win-${arch}"]
|
2023-10-20 12:17:58 +02:00
|
|
|
}
|
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-11-14 08:22:26 +01:00
|
|
|
"appx": {
|
2024-07-26 12:12:41 +02:00
|
|
|
"identityName": "viarotel.Escrcpy",
|
|
|
|
"publisher": "CN=E67CC10B-A1BE-413C-BC3B-6E1137E0742D",
|
2023-11-14 08:22:26 +01:00
|
|
|
"publisherDisplayName": "viarotel",
|
2024-07-26 12:12:41 +02:00
|
|
|
"languages": ["zh-CN", "en-US", "zh-TW"]
|
2023-11-14 08:22:26 +01:00
|
|
|
},
|
2023-10-20 17:40:36 +02:00
|
|
|
"mac": {
|
2023-10-24 19:05:42 +02:00
|
|
|
"icon": "logo.icns",
|
2023-10-20 17:40:36 +02:00
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "dmg",
|
|
|
|
"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",
|
2024-11-06 11:56:34 +01:00
|
|
|
"filter": ["common", "mac", "mac-${arch}"]
|
2023-10-22 18:43:52 +02:00
|
|
|
},
|
2023-10-31 06:44:28 +01:00
|
|
|
"x64ArchFiles": "Contents/Resources/extra/**/*",
|
2023-10-24 05:08:27 +02:00
|
|
|
"entitlementsInherit": "entitlements.mac.plist",
|
2023-10-20 17:40:36 +02:00
|
|
|
"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-24 19:05:42 +02:00
|
|
|
"icon": "logo.icns",
|
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",
|
2024-11-06 11:56:34 +01:00
|
|
|
"filter": ["common", "linux", "linux-${arch}", "linux-${target}"]
|
2023-10-22 18:43:52 +02:00
|
|
|
}
|
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
|
|
|
}
|