Put anything into your macOS menu bar (sequel to BitBar)
To build xbar, you will need:
- Go v1.15+
- npm v6.14.9
- Wails v2 cli -
go install github.com/wailsapp/wails/v2/cmd/[email protected]
If running for the first time first generate the .version
file and install the npm dependencies by running:
cd app && git describe --tags > .version
and
cd app/frontend && npm install
To start the application run:
cd app/frontend && npm run dev
and
cd app && wails dev
In this directory run ./build.sh
. The binary will be generated in ./build/bin/
.
./build.sh && ./build/bin/xbar
To use the latest version of the Wails library, ensure that go.mod is using the latest release tag.
The Wails CLI may be updated by running wails update -pre
. When v2 is released, then wails update
will keep you
on the stable channel.
Tag the branch:
git tag -a v0.1.0 -m "release tag."
git push origin v0.1.0
./package.sh
- For code signing, xbar uses https://github.com/matryer/gon (fork of https://github.com/mitchellh/gon)