SwiftBar plugin displaying live NBA scores and stats from current games.
$ git clone https://github.com/KevinZMa/live-nba-scores.git <target_directory>
$ cd <target_directory>
$ npm install
$ ln -s /path/to/project/index.js /path/to/plugins/folder/live-nba-scores.1m.js
Example:
$ ln -s ~/Workspace/live-nba-scores/index.js ~/SwiftBar/live-nba-scores.1m.js
After refreshing (⌘+r
), the app should show up in your menu bar.
Info: Your default shell in the SwiftBar Preferences (
⌘+,
) should be set tozsh
, or you will have to change the hashbang in index.js to your node executable. (e.g./opt/homebrew/bin/node
)