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"]
|
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",
|
2023-10-30 04:04:43 +01:00
|
|
|
"to": "extra",
|
|
|
|
"filter": ["common", "win"]
|
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-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"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2023-10-30 04:04:43 +01:00
|
|
|
"filter": ["common", "mac"]
|
2023-10-22 18:43:52 +02:00
|
|
|
},
|
2023-10-31 04:34:05 +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-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",
|
2023-10-30 04:04:43 +01:00
|
|
|
"filter": ["common", "linux"]
|
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
|
|
|
}
|