FIX: change cmd dir to game cmd dir
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user