Unverified Commit 588969ae authored by Azim Muradov's avatar Azim Muradov Committed by GitHub
Browse files

fix: Path to "Desktop" folder on Windows XP (#1625)

Fix path to "Desktop" folder to work correctly with different locales on Windows XP.
parent c7aac1ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1766,7 +1766,7 @@ prepareInstall() {
          echo ""
          echo "Call Domain.MoveHere(LocalAdminADsPath, \"$username\")"
          echo ""
          echo "Set oLink = WshShell.CreateShortcut(WshShell.ExpandEnvironmentStrings(\"%userprofile%\\Desktop\\Shared.lnk\"))"
          echo "Set oLink = WshShell.CreateShortcut(WshShell.SpecialFolders(\"Desktop\") & \"\\Shared.lnk\")"
          echo "With oLink"
          echo "  .TargetPath = \"\\\\host.lan\\Data\""
          echo "  .Save"