Skip to content

Commit e855da5

Browse files
authored
Merge pull request #14 from gnmyt/development
Fixed the install script
2 parents 574373d + fa26f23 commit e855da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ clear
110110
if [ "$1" == "--beta" ]; then
111111
RELEASE_URL=https://github.com/gnmyt/myspeed/archive/refs/heads/development.zip
112112
else
113-
RELEASE_URL=$(curl -s https://api.github.com/repos/gnmyt/myspeed/releases/latest | grep browser_download_url | cut -d '"' -f 4)
113+
RELEASE_URL=$(curl -s https://api.github.com/repos/gnmyt/myspeed/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep -m1 "")
114114
fi
115115

116116

0 commit comments

Comments
 (0)