Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesun committed Jan 29, 2024
2 parents 418fa94 + b4d308c commit 46c9248
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions assets/buildinfo.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
BuildVersion=latest v8.0.4 2024-01-29 11:38:41
BuildVersion=latest v8.0.4 2024-01-29 14:04:36
ReleaseVersion=v8.0.4
BuildTime=2024-01-29 11:38:41
BuildTime=2024-01-29 14:04:36
BuildName=toughradius
CommitID=4a581829f2054eababe5af78ca1cec9e80c40258
CommitDate=Mon, 29 Jan 2024 11:27:45 +0800
CommitID=40e9916bc06b34f6aa56c1e39cbece52edec301c
CommitDate=Mon, 29 Jan 2024 11:38:48 +0800
[email protected]
CommitSubject=2024-01-29 11:27:34 : readme
CommitSubject=2024-01-29 11:38:41 : go clean -modcache
3 changes: 2 additions & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ else
echo "Go is not installed. Installing Go 1.21.6..."
wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
sudo ln -s /usr/local/go/bin/go /usr/local/bin/go
fi

# SET GOROOT AND GOPATH
GOROOT_LINE="export GOROOT=/usr/local/go"
GOPATH_LINE="export GOPATH=\$HOME/go"
PATH_LINE="export PATH=\$PATH:\$GOROOT/bin:\$GOPATH/bin"
PATH_LINE="export PATH=\$PATH:\$GOROOT/bin"

# Check if GOROOT, GOPATH and PATH are already set in /etc/profile
if ! grep -q "$GOROOT_LINE" /etc/profile; then
Expand Down

0 comments on commit 46c9248

Please sign in to comment.