Initial commit

Made-with: Cursor
This commit is contained in:
GitFrog1111
2026-04-04 14:52:48 +07:00
commit 3deaabfaa6
15 changed files with 1600 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env node
const path = require('path');
const { spawn } = require('child_process');
let electronBinary;
try {
electronBinary = require('electron');
} catch (e) {
console.error('Could not load Electron. Try: npm install -g badclaude');
process.exit(1);
}
const appPath = path.resolve(__dirname, '..');
const child = spawn(electronBinary, [appPath], {
detached: true,
stdio: 'ignore',
windowsHide: true,
});
child.on('error', (err) => {
console.error('Failed to start badclaude:', err.message);
process.exit(1);
});
child.unref();