Can we install winbox on mac but using bash (instead of zsh)?
This video mentioned we must use zsh shell
https://www.youtube.com/watch?v=FXhT2QGxgp0
#!/bin/bash
wine64 $(dirname $(greadlink -f "$0"))/winbox64.exe "$@"
wine64 "/Applications/winbox64.exe"
how can one keep winbox running continuously in the background?
/usr/local/bin/wine64 "/Applications/winbox64.exe"
ERROR: RoMON Agent not found. Add it to Managed List
Anyone know how i can permanently trust opening this file without the popup?
A bit too aggressive hereAnyone know how i can permanently trust opening this file without the popup?
Once again, you've asked something that has nothing to do with this forum's topic. You've simply broadened it to "how do I use macOS" now.
We're happy to help you with MikroTik hardware, RouterOS, and so forth, but take the other topics somewhere else, please.
You can be a bit less aggressive with approach
you don't feel like helping
no need to take over what questions should be asked
one your screenshot you posted is big as well, i was not aware the size of screenshot was intimidating. Mikrotik company that owns forum has not complained to me yet that a few screenshots i have ever posted on forum is causing issues.Side issue 1: Downscale screenshots taken on Retina systems by 2x before posting to the web to avoid this scaling problem. The macOS way of doing that is via Preview: Tools → Adjust Size, then say either 50% or change the resolution to something more like 72 ppi.
* If you're prompted to open the app in Finder and you're sure you want to open it despite the warning, you can control-click the app, choose Open from the menu, and then click Open in the dialog that appears. Enter your admin name and password to open the app.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask nrlquaker-winbox
open /Applications/Winbox-mac.app --args ip login password
Nevermind. Just a suggestion, since I actually like that "brew upgrade" get me the latest winbox and the wine stuff is automatic/included.@Amm0 With the method above, I will be unable to specify the exact winbox version i want to use
I have unique problems? lolNevermind. Just a suggestion, since I actually like that "brew upgrade" get me the latest winbox and the wine stuff is automatic/included.@Amm0 With the method above, I will be unable to specify the exact winbox version i want to use
Clearly you have unique problems. Gatekeeper is needed but annoying & not hard to fix. zsh is the default shell in any recent Mac OS, so unclear why bash is important if you don't know ~/.bash_profile. And, why someone would want/need to run an old version of winbox is beyond me (e.g. a new version of winbox can connect to older version of RouterOS). And the primary source isn't the docs, it's YouTube. Bash'ing head.
open /Applications/Winbox-mac.app --args ip login password
Omyzsh, I wasn't trying to pick a fight . And the use case of needing specifically bash and wine+winbox is part that's unique. More a general suggestion IF you didn't like getting prompted... since posted numerous screenshots of generally understood Mac security feature.
I have unique problems? lol
I will continue to use the setup i have
I just click cancel and it works
Using an bash or zsh "alias" to either an "open" or "wine64 .../winbox.exe" would also be an approach too. Since you are going through a shell script, that might also need to be marked as "safe" by gatekeeper, while "open" would follow the permissions of what's being open'ed (i.e. the brew cask version of winbox). Anyway.
Anyway, lots of way to skin the cat, if you're happy, I'm happy.