mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-14 18:57:40 +01:00
93 lines
2.4 KiB
JSON
93 lines
2.4 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"
|
|
},
|
|
"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"
|
|
},
|
|
"win": {
|
|
"icon": "logo.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"artifactName": "${productName}-${version}-win-${arch}.${ext}",
|
|
"extraResources": {
|
|
"from": "electron/resources/extra",
|
|
"to": "extra"
|
|
}
|
|
},
|
|
"mac": {
|
|
"icon": "logo.icns",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["universal", "x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": ["universal", "x64", "arm64"]
|
|
}
|
|
],
|
|
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
|
"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
|
|
},
|
|
"linux": {
|
|
"maintainer": "viarotel@qq.com",
|
|
"category": "Utility",
|
|
"icon": "logo.png",
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"artifactName": "${productName}-${version}-linux.${ext}"
|
|
},
|
|
"npmRebuild": false
|
|
}
|