mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
2eb2ccd844
Drops all biometric (Termius-style), WebAuthn, and FIDO2 SSH key logic, UI, and dependencies. Simplifies key storage and authentication to only support standard and certificate keys. Eliminates related backend, OS Secure Storage, and Windows Hello/Touch ID code. Archives any legacy key records for migration safety. Reduces complexity and potential maintenance/security burden.
9 lines
303 B
JavaScript
9 lines
303 B
JavaScript
const { spawn } = require("node:child_process");
|
|
const electronPath = require("electron"); // returns binary path
|
|
|
|
const env = { ...process.env };
|
|
delete env.ELECTRON_RUN_AS_NODE;
|
|
|
|
const child = spawn(electronPath, ["."], { stdio: "inherit", env });
|
|
child.on("exit", (code) => process.exit(code ?? 0));
|