mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-10-09 15:58:34 +00:00
20843c0379
Enhances biometric WebAuthn handling on macOS by preferring the browser helper flow in development/unpackaged environments, reducing UI hangs and improving reliability. Refines the logic for detecting packaged apps and adds configuration for explicitly selecting biometric flows. Updates packaging scripts to use electron-builder's install-app-deps and disables a noisy Node warning, while removing @electron/rebuild from dependencies for faster, more reliable builds. Cleans up package-lock.json by removing unused or redundant dev dependencies. Updates the application icon asset to a new version.
60 lines
1.6 KiB
JSON
60 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",
|
|
"icon": "public/icon.png",
|
|
"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"
|
|
}
|
|
}
|