feat: Phase 6 - Electron main process with native IPC handlers

- overlay:start/stop (MaqiangTangXiXiOverlay.exe)
- monitor:start/stop (MaqiangTangHardwareMonitor.exe)
- optimize:item/restore/list (MaqiangTangh1.exe)
- window controls, fs utilities
This commit is contained in:
Chen Gu
2026-05-09 02:26:04 +08:00
parent 5bd314deb2
commit f79e95f254
5 changed files with 393 additions and 10 deletions

19
electron/vite.config.js Normal file
View File

@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var vite_1 = require("vite");
var plugin_react_1 = require("@vitejs/plugin-react");
var path_1 = require("path");
exports.default = (0, vite_1.defineConfig)({
plugins: [(0, plugin_react_1.default)()],
base: './',
root: '.',
build: {
outDir: 'dist',
emptyOutDir: true,
},
resolve: {
alias: {
'@': path_1.default.resolve(__dirname, './src'),
},
},
});