Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winbox-installer download 64bit version #25

Open
debek opened this issue Oct 23, 2020 · 1 comment
Open

winbox-installer download 64bit version #25

debek opened this issue Oct 23, 2020 · 1 comment

Comments

@debek
Copy link

debek commented Oct 23, 2020

It should download 32bit version to correct work.

@jaydio
Copy link

jaydio commented Feb 22, 2022

It does.

# Downloading latest version of Winbox from Mikrotik's website.
# The URL of the file is parsed from https://mikrotik.com/download
wbDl() {
  if [[ -f winbox.exe ]]
  then
    echo "Using previously downloaded winbox.exe"
  else
    echo -n "Downloading Winbox..."

    URL="https://mt.lv/winbox"
    if [[ $(uname -a | grep -o "x86_64") ]]; then
      URL=${URL}64
    fi

    wget -q -c -O winbox.exe $URL
    echo "DONE"
  fi
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants