From 5421abcc4b5d1f3e8758a67a31a0fe2f3eb1f7d6 Mon Sep 17 00:00:00 2001 From: Tomachi <8929706+book000@users.noreply.github.com> Date: Sun, 17 Nov 2024 09:18:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20VRChat=E3=82=A4=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=83=BC=E3=83=AB=E3=83=95=E3=82=A9=E3=83=AB=E3=83=80?= =?UTF-8?q?=E6=8E=A2=E7=B4=A2=E5=87=A6=E7=90=86=E3=81=AE=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#38)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/splashscreen-changer/args.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/splashscreen-changer/args.go b/cmd/splashscreen-changer/args.go index d370708..3ca9cee 100644 --- a/cmd/splashscreen-changer/args.go +++ b/cmd/splashscreen-changer/args.go @@ -92,7 +92,7 @@ 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")) @@ -100,5 +100,5 @@ func getDestinationPath(config *Config) (string, error) { return "", fmt.Errorf("EasyAntiCheat folder not found in %s", vrchatPath) } - return "", errorRequired + return vrchatPath, nil }