Update electron builder and fix mobile terminal background

This commit is contained in:
LukeGus
2025-09-10 01:11:11 -05:00
parent 4b7cb03f7a
commit 9d84469ea3
11 changed files with 5585 additions and 50 deletions

View File

@@ -8,6 +8,12 @@ contextBridge.exposeInMainWorld('electronAPI', {
// 获取平台信息
getPlatform: () => ipcRenderer.invoke('get-platform'),
// 获取后端端口
getBackendPort: () => ipcRenderer.invoke('get-backend-port'),
// 重启后端服务
restartBackend: () => ipcRenderer.invoke('restart-backend'),
// 环境检测
isElectron: true,
isDev: process.env.NODE_ENV === 'development',