Compare commits

1 Commits

Author SHA1 Message Date
2fafe7813d FIX: change cmd dir to game cmd dir 2026-04-07 21:30:32 +07:00
2 changed files with 4 additions and 1 deletions

View File

@@ -76,7 +76,10 @@ func (f *FSService) RemoveFile(path string) error {
}
func (f *FSService) StartApp(path string) (bool, string) {
dir := filepath.Dir(path)
cmd := exec.Command(path)
cmd.Dir = dir
err := cmd.Start()
if err != nil {
return false, err.Error()

View File

@@ -10,7 +10,7 @@ const ProxyFile = "firefly-go-proxy.exe"
const LauncherFile = "firefly-launcher.exe"
const TempUrl = "./temp"
const CurrentLauncherVersion = "2.5.0"
const CurrentLauncherVersion = "2.5.1"
type ToolFile string