mirror of
				https://github.com/mintty/wsltty.git
				synced 2025-11-04 09:01:52 +00:00 
			
		
		
		
	avoid %USERPROFILE% (#166)
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user