-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Apple M1 support #2
Comments
Correct that is a known limitation of the binary compilation process.
Unfortunately, I do not own an Apple M1 yet, therefore the compiled binary is
You have 2 options to run this on your Apple M1: Option A: Use Rosettasoftwareupdate --install-rosetta Option B: Compile the workflow from scratch on your own machine.This one is a bit more involved, but all you have to do is. # install the Dart SDK
brew tap dart-lang/dart
brew install dart
# clone the repo
git clone https://github.com/techouse/alfred-tailwindcss-docs
cd alfred-tailwindcss-docs
# edit the env
cp .env.example .env
vim .env
# generate all the environment-dependent files
make code_gen
# compile the app
make compile |
I'll add a wrapper script to detect the architecture and run it as required. |
Right, arch -x86_64 ./docs -q "{query}" That should force the OS to run it as such. |
Hi,
The workflow unfortunately does not work on Apple MacBook M1.
When the script is executed, I see the message "Bad CPU type in executable". I guess this is due to the fact that it is compiled to a binary with Dart now.
The text was updated successfully, but these errors were encountered: