escrcpy/electron-builder.json

116 lines
3.0 KiB
JSON
Raw Permalink Normal View History

{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"productName": "Escrcpy",
"appId": "org.viarotel.escrcpy",
"directories": {
"output": "dist-release",
"buildResources": "electron/resources/build"
},
"files": ["dist", "dist-electron"],
"win": {
"icon": "logo.ico",
"target": [
{
"target": "nsis",
"arch": ["x64", "arm64"]
},
{
"target": "zip",
"arch": ["x64", "arm64"]
},
{
"target": "portable",
"arch": ["x64", "arm64"]
2023-11-14 08:22:26 +01:00
},
{
"target": "appx",
"arch": ["x64", "arm64"]
}
],
"artifactName": "${productName}-${version}-win-${arch}.${ext}",
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["common", "win"]
}
},
"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": {
"identityName": "viarotel.Escrcpy",
"publisher": "CN=E67CC10B-A1BE-413C-BC3B-6E1137E0742D",
2023-11-14 08:22:26 +01:00
"publisherDisplayName": "viarotel",
"languages": ["zh-CN", "en-US", "zh-TW"]
2023-11-14 08:22:26 +01:00
},
"mac": {
"icon": "logo.icns",
"target": [
{
"target": "dmg",
"arch": ["universal", "x64", "arm64"]
},
{
"target": "zip",
"arch": ["universal", "x64", "arm64"]
}
],
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["common", "mac"]
},
2023-10-31 06:44:28 +01:00
"x64ArchFiles": "Contents/Resources/extra/**/*",
"entitlementsInherit": "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
},
"linux": {
"icon": "logo.icns",
"desktop": "logo",
"maintainer": "viarotel@qq.com",
"category": "Utility",
"target": [
{
"target": "AppImage",
"arch": ["x64", "arm64"]
},
{
"target": "deb",
"arch": ["x64", "arm64"]
}
],
"artifactName": "${productName}-${version}-linux-${arch}.${ext}",
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["common", "linux"]
}
},
"asar": true,
2023-10-23 10:26:07 +02:00
"npmRebuild": true,
"publish": {
"provider": "github",
"owner": "viarotel-org",
"repo": "escrcpy",
"updaterCacheDirName": "escrcpy-updater"
}
}