-
Notifications
You must be signed in to change notification settings - Fork 8
/
start.sh
70 lines (44 loc) · 889 Bytes
/
start.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
66
67
68
69
70
#!/bin/bash
spacing=" ---------------------------------------------------- "
lang=$(cat $HOME/EBomber/config/lang)
sleeptime=0.4
logo=$HOME/EBomber/config/logo.sh
clear
sleep $sleeptime
if [[ $lang = "" ]]
then
bash $logo
sleep $sleeptime
echo "$spacing "
echo ""
sleep $sleeptime
echo " Select language: "
echo ""
echo " 0 | English "
echo ""
echo " 1 | Russian "
echo ""
sleep $sleeptime
echo "$spacing "
echo ""
sleep $sleeptime
read -p " What language do you speak? > " choose
case "$choose" in
"0" )
echo en > $HOME/EBomber/config/lang; clear; bash $HOME/EBomber.sh
;;
"1" )
echo ru > $HOME/EBomber/config/lang; clear; bash $HOME/EBomber.sh
;;
esac
else
case "$lang" in
"en" )
bash $HOME/EBomber/lang/en/EBomber.sh
;;
"ru" )
bash $HOME/EBomber/lang/ru/EBomber.sh
;;
esac
fi
clear