mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 20:10:58 +00:00
avoid %USERPROFILE% (#166)
This commit is contained in:
parent
0520b71e1f
commit
1f67e41333
@ -219,7 +219,9 @@ config () {
|
|||||||
|
|
||||||
# default desktop shortcut in ~ -> Desktop
|
# default desktop shortcut in ~ -> Desktop
|
||||||
if [ "$name" = "WSL" ]
|
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
|
fi
|
||||||
|
|
||||||
# launch script in ~ -> WSLtty home, WindowsApps launch folder
|
# launch script in ~ -> WSLtty home, WindowsApps launch folder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user