Skip to content

Commit 9f846a8

Browse files
committed
shell-scripts updated
1 parent 43723b7 commit 9f846a8

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

godemon-installer.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
3+
printf "What do you want to do? \n1. Install Godemon \n2. Update Godemon \n"
4+
read OPTION
5+
6+
if [ "$OPTION" = "1" ]
7+
then
8+
wget https://github.com/nProgrammer/godemon/releases/download/2.6.1/godemon
9+
sudo cp -r godemon /bin/godemon
10+
sudo chmod 777 /bin/godemon
11+
elif [ "$OPTION" = "2" ]
12+
then
13+
wget https://github.com/nProgrammer/godemon/releases/download/2.6.1/godemon
14+
sudo rm -r /bin/godemon
15+
sudo mv godemon /bin/godemon
16+
sudo chmod 777 /bin/godemon
17+
fi
18+
19+
printf "\n Everything done \n"

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
func main() {
1919
hostInfo := [2]string{build.Default.GOOS, build.Default.GOARCH}
2020
color.Cyan("Godemon starting...")
21-
version := "2.6.1"
21+
version := "2.6.2"
2222
doneChan := make(chan bool)
2323
filepath, modOrFile, cnf, command, help, init, name, oso, arch := cliTools.LoadCMD("", "")
2424
filepath, modOrFile = controllers.ProgramStarting(&cnf, filepath, modOrFile, command, help, version, init, name, oso, arch, hostInfo[0])

0 commit comments

Comments
 (0)