Skip to content

Commit

Permalink
Merge pull request #80 from HiMenma/master
Browse files Browse the repository at this point in the history
  • Loading branch information
mvscode authored May 18, 2023
2 parents 6413c29 + 1b57818 commit 7ce7daf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install-frps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ check_os_bit(){
ARCHS=""
if [[ `getconf WORD_BIT` = '32' && `getconf LONG_BIT` = '64' ]] ; then
Is_64bit='y'
ARCHS="arm64"
if [[ "$(uname -m)" == "aarch64" ]]; then
ARCHS="arm64"
elif [[ "$(uname -m)" == "x86_64" ]]; then
ARCHS="amd64"
fi
else
Is_64bit='n'
ARCHS="arm"
Expand Down

0 comments on commit 7ce7daf

Please sign in to comment.