viper-desktop
Version:
AI-powered Verilog editor for rapid FPGA bitstream generation
22 lines (17 loc) • 502 B
JavaScript
const { spawn } = require('child_process');
const path = require('path');
// Get the path to the launcher script
const launcherPath = path.join(__dirname, 'viper-launcher-portable');
// Spawn the launcher
const child = spawn(launcherPath, process.argv.slice(2), {
stdio: 'inherit',
shell: true
});
child.on('error', (error) => {
console.error('Error launching Viper Desktop:', error.message);
process.exit(1);
});
child.on('exit', (code) => {
process.exit(code);
});