From c05a5b4a8369fea9078bd4760571ea14b8d82c3b Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Mon, 3 Apr 2023 03:31:44 +0300 Subject: [PATCH] use cygpath instead of reg query to find mydocs --- builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder b/builder index 6fd4c0c..312c627 100644 --- a/builder +++ b/builder @@ -41,7 +41,7 @@ ScriptDir="$(dirname "$ScriptFullname")" # Common SteamPath="$(reg_readkey "HKCU\Software\Valve\Steam" "SteamPath")" -DocumentsPath="$(reg_readkey "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Personal")" +DocumentsPath="$(cygpath --mydocs)" ThirdPartyBin="$ScriptDir/3rd-party-bin" DummyPreview="$ScriptDir/dummy_preview.png"