feat: implement core IPC handlers and service management for Nginx, Apache, and project configuration

This commit is contained in:
Ümit Tunç
2026-04-03 22:37:44 +03:00
parent 612fd2042b
commit a6967a7c4c
15 changed files with 453 additions and 30 deletions
+12
View File
@@ -0,0 +1,12 @@
const fs = require('fs');
const { execSync } = require('child_process');
try {
console.log('Converting icon using npx png-to-ico...');
const buffer = execSync('npx -y png-to-ico logo/icon.png');
fs.writeFileSync('build/icon.ico', buffer);
console.log('Successfully created build/icon.ico (' + buffer.length + ' bytes)');
} catch (err) {
console.error('Conversion failed:', err.message);
process.exit(1);
}