1
0

use cygpath instead of reg query to find mydocs

This commit is contained in:
GenZmeY 2023-04-03 03:31:44 +03:00
parent 0ce0136be2
commit c05a5b4a83

View File

@ -41,7 +41,7 @@ ScriptDir="$(dirname "$ScriptFullname")"
# Common # Common
SteamPath="$(reg_readkey "HKCU\Software\Valve\Steam" "SteamPath")" 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" ThirdPartyBin="$ScriptDir/3rd-party-bin"
DummyPreview="$ScriptDir/dummy_preview.png" DummyPreview="$ScriptDir/dummy_preview.png"