Files
Netcatty/electron-builder.json
T
bincxz 092afeee57 Switches Electron production app to custom app:// protocol
Replaces the local HTTP server approach with a custom privileged protocol for loading the app in production, enabling secure WebAuthn (Touch ID/Windows Hello) without the overhead of an internal HTTP server. Improves platform authenticator error handling and ensures RP ID compatibility across environments. Updates development server configs for better cross-platform WebAuthn support and adds packaging scripts and dependencies for electron-builder.
2025-12-13 04:04:51 +08:00

59 lines
1.6 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "com.netcatty.app",
"productName": "Netcatty",
"directories": {
"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": "dir",
"arch": ["arm64"]
}
],
"category": "public.app-category.developer-tools",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "electron/entitlements.mac.plist",
"entitlementsInherit": "electron/entitlements.mac.plist",
"extendInfo": {
"NSBluetoothAlwaysUsageDescription": "Netcatty needs Bluetooth access for FIDO2 security keys",
"NSBluetoothPeripheralUsageDescription": "Netcatty needs Bluetooth access for FIDO2 security keys",
"NSCameraUsageDescription": "Netcatty may use the camera for video calls",
"NSMicrophoneUsageDescription": "Netcatty may use the microphone for audio",
"NSFaceIDUsageDescription": "Netcatty uses Face ID for secure authentication",
"NSLocalNetworkUsageDescription": "Netcatty needs local network access for SSH connections"
}
},
"win": {
"target": [
{
"target": "dir",
"arch": ["x64"]
}
]
},
"linux": {
"target": [
{
"target": "dir",
"arch": ["x64"]
}
],
"category": "Development"
}
}