Skip to content

Files

Latest commit

87114b0 · Sep 10, 2024

History

History

app

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 29, 2021
Jul 14, 2023
Mar 8, 2021
Jan 29, 2023
Apr 9, 2023
Jun 29, 2021
Mar 22, 2021
Mar 8, 2021
Mar 16, 2021
Feb 26, 2022
Sep 10, 2024
May 1, 2021
May 1, 2021
Mar 30, 2021
Aug 28, 2021
Aug 28, 2021
Mar 8, 2021
Mar 8, 2021
Jul 14, 2021
Mar 22, 2021
Jun 29, 2021
Oct 29, 2021
Mar 30, 2021
Jul 1, 2021
Mar 8, 2021

xbar

Put anything into your macOS menu bar (sequel to BitBar)

Development

To build xbar, you will need:

  • Go v1.15+
  • npm v6.14.9
  • Wails v2 cli - go install github.com/wailsapp/wails/v2/cmd/wails@v2.0.0-alpha.72

Running

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

Building

In this directory run ./build.sh. The binary will be generated in ./build/bin/.

./build.sh && ./build/bin/xbar

Updates

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.

Packaging

Tag the branch:

git tag -a v0.1.0 -m "release tag."
git push origin v0.1.0
./package.sh