Code Monkey home page Code Monkey logo

Comments (4)

hologerry avatar hologerry commented on August 20, 2024 1

I understand, thank you very much.

from alfred-bear.

drgrib avatar drgrib commented on August 20, 2024

Hi @hologerry. If you have Go installed and set to build Apple Silicon binaries (the default setting on Silicon Macs), the easiest way to rebuild all the binaries is to open the workflow folder in VS Code and run the "go build all" task. On my setup, I have the build menu in VS Code mapped to the cmd+B, which I think is the default but can't remember if it is or not.

from alfred-bear.

hologerry avatar hologerry commented on August 20, 2024

Hi @drgrib, Thanks.
I have built all the Apple Silicon binaries without any warning or error.
I replaced the newly built cmd folder in the Alfred workflow folder user.workflow.xxxxxxx (which is opened using "open in Finder" in Alfred Preferences), this workflow works!
But I don't know how to package the whole repo to a .workflow file for directly installing the workflow.

from alfred-bear.

drgrib avatar drgrib commented on August 20, 2024

For future reference, you can actually just build the binaries in-place in user.workflow.xxxxxxx by opening that folder in VS Code. You don't need to do it externally.

For personal use, user.workflow.xxxxxxx is the workflow.

The only reason to export a .workflow file is if you want to share the workflow with other people. To do that, you would open Workflows > Bear (e.g. by typing ?bear in the Alfred prompt), right-click the "Bear" item in the vertical list, and select "Export...".

But, again, this does not sound like what you want to do. For a personal setup with the Apple Silicon binaries, you are already done. All the .workflow file does is create the user.workflow.xxxxxxx folder in your Alfred installation, which you already have.

from alfred-bear.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.