This repository has been archived by the owner on Dec 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrun.sh
executable file
·65 lines (64 loc) · 1.95 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
echo "Please Select your version"
PS3='Please enter your choice: '
options=("Win WSL 10.5" "Win WSL 10.6" "Win WSL 10.7" "Win Cygwin 10.5" "Win Cygwin 10.6" "Win Cygwin 10.7" "Linux 10.5" "Linux 10.6" "Linux 10.7" "Linux Docker 10.5" "Linux Docker 10.6" "Linux Docker 10.7" "Win Docker WSL 10.5" "Win Docker WSL 10.6" "Win Docker WSL 10.7" "Win Docker Cygwin 10.5" "Win Docker Cygwin 10.6" "Win Docker Cygwin 10.7")
select opt in "${options[@]}"
do
case $opt in
"Win WSL 10.5")
./JFTool-10.5.x/tool-win.sh
;;
"Win WSL 10.6")
./JFTool-10.6.x/tool-win.sh
;;
"Win WSL 10.7")
./JFTool-10.7.x/tool-win.sh
;;
"Win Cygwin 10.5")
./JFTool-10.5.x/tool-cygwin.sh
;;
"Win Cygwin 10.6")
./JFTool-10.6.x/tool-cygwin.sh
;;
"Win Cygwin 10.7")
./JFTool-10.7.x/tool-cygwin.sh
;;
"Linux 10.5")
./JFTool-10.5.x/tool.sh
;;
"Linux 10.6")
./JFTool-10.6.x/tool.sh
;;
"Linux 10.7")
./JFTool-10.7.x/tool.sh
;;
"Linux Docker 10.5")
./JFTool-10.5.x/tool-dockerlinux.sh
;;
"Linux Docker 10.6")
./JFTool-10.6.x/tool-docker-linux.sh
;;
"Linux Docker 10.7")
./JFTool-10.7.x/tool-docker-linux.sh
;;
"Win Docker WSL 10.5")
./JFTool-10.5.x/tool-dockerwsl.sh
;;
"Win Docker WSL 10.6")
./JFTool-10.6.x/tool-docker-wsl.sh
;;
"Win Docker WSL 10.7")
./JFTool-10.7.x/tool-docker-wsl.sh
;;
"Win Docker Cygwin 10.5")
./JFTool-10.5.x/tool-dockercygwin.sh
;;
"Win Docker Cygwin 10.6")
./JFTool-10.6.x/tool-docker-cygwin.sh
;;
"Win Docker Cygwin 10.7")
./JFTool-10.7.x/tool-docker-cygwin.sh
;;
*) echo "invalid option $REPLY";;
esac
done