mirror of
https://github.com/yuruotong1/autoMate.git
synced 2026-03-22 13:07:17 +08:00
完成图标修改
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 8.3 KiB |
@@ -98,9 +98,10 @@ app.whenReady().then(() => {
|
||||
win.hide()
|
||||
})
|
||||
if(!is.dev){
|
||||
exec("./autoMateServer.exe", (error: any, stdout: any, stderr: any) => {
|
||||
const serverPath = process.platform === 'win32' ? '.\\autoMateServer.exe' : './autoMateServer.exe';
|
||||
exec(serverPath, (error: any, stdout: any, stderr: any) => {
|
||||
if (error) {
|
||||
console.error(`执行的错误: ${error}`);
|
||||
console.error(`error: ${error}`);
|
||||
return;
|
||||
}
|
||||
console.log(`stdout: ${stdout}`);
|
||||
|
||||
@@ -12,7 +12,6 @@ import { Welcome } from "@renderer/pages/Welcome";
|
||||
import ContentListAction from "@renderer/pages/ContentList/ContentListAction";
|
||||
import CategoryAction from "@renderer/pages/Category/CategoryAction";
|
||||
import { Setting } from "@renderer/pages/Setting";
|
||||
import Interactive from "@renderer/pages/Interactive";
|
||||
import SettingAction from "@renderer/pages/Setting/SettingAction";
|
||||
import SettingLoader from "@renderer/pages/Setting/SettingLoader";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user