Create a symlink to qmk if requested
This commit is contained in:
		
							parent
							
								
									ec720ac1ea
								
							
						
					
					
						commit
						999b35c7f8
					
				@ -136,6 +136,19 @@ else
 | 
			
		||||
    done
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
while true; do
 | 
			
		||||
    echo
 | 
			
		||||
    echo "Do you want to add a symlink to the QMK repository in your home directory for convenience?"
 | 
			
		||||
    echo "This will create a folder 'qmk_firmware' in your home directory."
 | 
			
		||||
    echo "In the future you can use this folder instead of the full path on your windows file system"
 | 
			
		||||
    read -p "(Y/N)? " res
 | 
			
		||||
    case $res in
 | 
			
		||||
        [Yy]* ) ln -sfn "$dir/.." ~/qmk_firmware; break;;
 | 
			
		||||
        [Nn]* ) break;;
 | 
			
		||||
        * ) echo "Invalid answer";;
 | 
			
		||||
    esac
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
echo
 | 
			
		||||
echo "******************************************************************************"
 | 
			
		||||
echo "Installation completed!"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user