fix build
This commit is contained in:
parent
50ff7ef6bc
commit
87b2c3ed7d
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -73,6 +73,7 @@ jobs:
|
|||||||
mv ./target/release/ai00_server.exe ../backend-rust/webgpu_server.exe
|
mv ./target/release/ai00_server.exe ../backend-rust/webgpu_server.exe
|
||||||
cd ..
|
cd ..
|
||||||
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
|
(Get-Content -Path ./backend-golang/app.go) -replace "//go:custom_build windows ", "" | Set-Content -Path ./backend-golang/app.go
|
||||||
make
|
make
|
||||||
Rename-Item -Path "build/bin/RWKV-Runner.exe" -NewName "RWKV-Runner_windows_x64.exe"
|
Rename-Item -Path "build/bin/RWKV-Runner.exe" -NewName "RWKV-Runner_windows_x64.exe"
|
||||||
|
|
||||||
|
@ -113,7 +113,8 @@ func (a *App) monitorHardware() {
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
monitor.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
monitor.SysProcAttr = &syscall.SysProcAttr{}
|
||||||
|
//go:custom_build windows monitor.SysProcAttr.HideWindow = true
|
||||||
monitor.Start()
|
monitor.Start()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user