-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_ides.sh
More file actions
executable file
·57 lines (52 loc) · 2.01 KB
/
install_ides.sh
File metadata and controls
executable file
·57 lines (52 loc) · 2.01 KB
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
#!/bin/bash
#PASSWORD=$(whiptail --passwordbox "please enter your sudo password" 8 78 --title "Password for sudo install" 3>&1 1>&2 2>&3)
PASSWORD=$1
#prompt for check what install
whiptail --title "Ubuntu setup for developers" --checklist --separate-output \
"Choose the IDEs to install. " 20 75 10 \
"01)" "Visual Studio Code " OFF \
"02)" "Android Studio " OFF \
"03)" "CLion for C and C++ " OFF \
"04)" "DataGrip, a IDE for SQL " OFF \
"05)" "GoLand for Go " OFF \
"06)" "IntelliJ IDEA Community for Java" OFF \
"07)" "IntelliJ IDEA Ultimate for Java " OFF \
"08)" "PhpStorm, a PHP ide " OFF \
"09)" "PyCharm Community, for Python" OFF \
"10)" "PyCharm Professional, for Python " OFF \
"11)" "RubyMine, for Ruby " OFF \
"12)" "WebStorm, for HTML5, CSS3. JS/NodeJS" OFF 2> .results
while read choice
do
case $choice in
"01)") ./scripts/ubuntu/ides/vscode.sh $PASSWORD
;;
"02)") ./scripts/ubuntu/ides/android.sh $PASSWORD
;;
"03)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh clion
;;
"04)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh datagrip
;;
"05)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh goland
;;
"06)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh intellij-idea-community
;;
"07)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh intellij-idea-ultimate
;;
"08)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh phpstorm
;;
"09)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh pycharm-community
;;
"10)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh pycharm-professional
;;
"11)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh rubymine
;;
"12)") echo $PASSWORD | sudo -stdin ./scripts/ubuntu/ides/jetbrains.sh webstorm
;;
*) echo "Finish script" && ./setup.sh
;;
esac
done < .results
$(rm -rf .results)
$(rm -rf strip)
./setup.sh $PASSWORD