mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-26 05:06:42 +00:00
Create a symlink to qmk if requested
This commit is contained in:
parent
ec720ac1ea
commit
999b35c7f8
@ -136,6 +136,19 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
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 "******************************************************************************"
|
echo "******************************************************************************"
|
||||||
echo "Installation completed!"
|
echo "Installation completed!"
|
||||||
|
Loading…
Reference in New Issue
Block a user