mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
Switches macOS build from dmg/zip/dir to pkg format for arm64, streamlining distribution. Adds description and author fields to metadata for improved package clarity and documentation.
80 lines
1.9 KiB
JSON
80 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
"appId": "com.netcatty.app",
|
|
"productName": "Netcatty",
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
|
"icon": "public/icon.png",
|
|
"directories": {
|
|
"buildResources": "build",
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*",
|
|
"!electron/.dev-config.json",
|
|
"public/**/*",
|
|
"node_modules/**/*"
|
|
],
|
|
"asarUnpack": [
|
|
"node_modules/node-pty/**/*",
|
|
"node_modules/ssh2/**/*",
|
|
"node_modules/cpu-features/**/*"
|
|
],
|
|
"mac": {
|
|
"target": [
|
|
{
|
|
"target": "pkg",
|
|
"arch": ["arm64"]
|
|
}
|
|
],
|
|
"category": "public.app-category.developer-tools",
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "electron/entitlements.mac.plist",
|
|
"entitlementsInherit": "electron/entitlements.mac.plist",
|
|
"extendInfo": {
|
|
"NSCameraUsageDescription": "Netcatty may use the camera for video calls",
|
|
"NSMicrophoneUsageDescription": "Netcatty may use the microphone for audio",
|
|
"NSLocalNetworkUsageDescription": "Netcatty needs local network access for SSH connections"
|
|
}
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "dir",
|
|
"arch": ["x64"]
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowElevation": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Netcatty"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": ["x64"]
|
|
},
|
|
{
|
|
"target": "dir",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"category": "Development"
|
|
}
|
|
}
|