Skip to content

Commit

Permalink
avoid %USERPROFILE% (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintty committed May 2, 2019
1 parent 0520b71 commit 1f67e41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config-distros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ config () {

# default desktop shortcut in ~ -> Desktop
if [ "$name" = "WSL" ]
then cmd /C copy "$name Terminal.lnk" "%USERPROFILE%\\Desktop"
then
#cmd /C copy "$name Terminal.lnk" "%USERPROFILE%\\Desktop"
cmd /C copy "$name Terminal.lnk" "%APPDATA%\\..\\Desktop\\"
fi

# launch script in ~ -> WSLtty home, WindowsApps launch folder
Expand Down

0 comments on commit 1f67e41

Please sign in to comment.