first commit

This commit is contained in:
Karl committed 2026-10-13 10:34:48 +02:00
commit ff482ebe23
251 files changed
+19126

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { spawn } from 'node:child_process';
import { createRequire } from 'node:module';
const electron=createRequire(import.meta.url)('electron');
const env={...process.env};
for(const name of ['ADMIN_TOKEN','OIDC_CLIENT_SECRET','AI_API_KEY','INSPECTOR_TOKEN','SIEM_HTTP_TOKEN','SIEM_KEY_FILE'])delete env[name];
const child=spawn(electron,['.'],{stdio:'inherit',env,windowsHide:true});child.on('exit',code=>process.exit(code??1));
process.on('SIGINT',()=>child.kill());process.on('SIGTERM',()=>child.kill());