Skip to content

Commit

Permalink
fix: VRChatインストールフォルダ探索処理の修正 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
book000 authored Nov 17, 2024
1 parent 021ae07 commit 5421abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/splashscreen-changer/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ func getDestinationPath(config *Config) (string, error) {

vrchatPath, err := findSteamGameDirectory("VRChat")
if err != nil {
return vrchatPath, nil
return "", errorRequired
}

_, err = os.Stat(filepath.Join(vrchatPath, "EasyAntiCheat"))
if err != nil {
return "", fmt.Errorf("EasyAntiCheat folder not found in %s", vrchatPath)
}

return "", errorRequired
return vrchatPath, nil
}

0 comments on commit 5421abc

Please sign in to comment.