Skip to content

Commit

Permalink
Update mtproxy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rebecca554owen committed Jan 24, 2024
1 parent d004bd7 commit 157f060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtproxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ do_install() {

if [[ "$mtg_provider" == "mtg" ]]; then
local arch=$(get_architecture)
local mtg_url=https://github.com/9seconds/mtg/releases/download/v1.0.11/mtg-1.0.11-linux-amd64.tar.gz
local mtg_url=https://github.com/9seconds/mtg/releases/download/v1.0.11/mtg-1.0.11-linux-$arch.tar.gz
wget $mtg_url -O mtg.tar.gz
tar -xzvf mtg.tar.gz mtg-1.0.11-linux-amd64/mtg --strip-components 1
tar -xzvf mtg.tar.gz mtg-1.0.11-linux-$arch/mtg --strip-components 1

[[ -f "./mtg" ]] && ./mtg && echo "Installed for mtg"
else
Expand Down

0 comments on commit 157f060

Please sign in to comment.