1
0
mirror of https://github.com/mintty/wsltty.git synced 2024-10-05 18:31:04 +01:00

avoid %USERPROFILE% (#166)

This commit is contained in:
mintty 2019-05-02 00:00:00 +02:00
parent 0520b71e1f
commit 1f67e41333

View File

@ -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