Skip to content

Commit dcb5add

Browse files
committed
add tool to help Windows Home users nuke their installation if need to start from scratch
1 parent a4c061a commit dcb5add

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

utils/uninstall_win_home.sh

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
OPTIND=1 # Reset in case getopts has been used previously in the shell.
4+
5+
# default drive letter:
6+
install_drive=C
7+
8+
while getopts "d:" opt; do
9+
case "$opt" in
10+
d) install_drive=$OPTARG
11+
;;
12+
esac
13+
done
14+
shift $((OPTIND-1)) # In case I add other stuff later...
15+
16+
export MACHINE_STORAGE_PATH=${install_drive}:\\docker
17+
echo $MACHINE_STORAGE_PATH
18+
19+
docker-machine ls
20+
docker-machine rm mesa-machine

0 commit comments

Comments
 (0)