Windows XP path fix

This commit is contained in:
dylan araps 2016-01-05 19:08:10 +11:00
parent 2fef67694d
commit 88a6c10d28
1 changed files with 2 additions and 1 deletions

View File

@ -622,7 +622,8 @@ getwallpaper () {
"Windows")
case "$distro" in
"Windows XP")
img="/cygdrive/c/Documents and Settings/${USER}/Local Settings/Application Data/Microsoft/Wallpaper1.bmp"
path="C:\\Documents and Settings\\${USER}\\Local Settings\\Application Data\\Microsoft\\Wallpaper1.bmp"
img="$(cygpath -u "${path}")"
;;
"Windows"*)