MacVolumeControl/src
2023-08-09 22:31:27 -06:00
..
.vscode Inital commit adding plugin outline to control mac volume 2023-08-09 10:12:38 -06:00
com.dlprows.macvolumecontrol.sdPlugin update action icon with padding so it looks nicer 2023-08-09 22:31:27 -06:00
logging update logging to put all logs in one folder 2023-08-09 20:33:24 -06:00
volume Implement UI feedback, polling, and the underlying code can support keyboard or core audio for changes to volume 2023-08-09 20:35:04 -06:00
DistributionTool Inital commit adding plugin outline to control mac volume 2023-08-09 10:12:38 -06:00
go.mod Inital commit adding plugin outline to control mac volume 2023-08-09 10:12:38 -06:00
go.sum Inital commit adding plugin outline to control mac volume 2023-08-09 10:12:38 -06:00
main.go Implement UI feedback, polling, and the underlying code can support keyboard or core audio for changes to volume 2023-08-09 20:35:04 -06:00
Makefile Fix make file 2023-08-09 20:33:07 -06:00
README.md Inital commit adding plugin outline to control mac volume 2023-08-09 10:12:38 -06:00

StreamDeck plugin skeleton

This is a skeleton project for getting started making StreamDeck plugins using the Golang client library.

Usage

Clone this repo and copy the directory to somewhere appropriate in your GOPATH. From there, most things are done using the supplied Makefile.

Build:

make build

This outputs a build binary in to the project directory but doesn't do much else. To test out the plugin with your StreamDeck, you need to do a local install.

Install:

make install

This builds an .sdPlugin directory under the build directory and then copies it over to the StreamDeck plugin directory. Note: you'll need to close the StreamDeck software before doing this. If you don't, you'll get a device or resource busy error.

View logs:

make logs

If you've enabled logging, logs will get dumped in to a temporary file. This make command tails all log files and needs to be run after you've fired up the StreamDeck software, as the temporary file won't have been created before then.

Build for release:

make release

To distribute your StreamDeck plugin, you need to use Elgato's DistributionTool. Download it, put it somewhere on your path, and then make release should work. If you have any problems in your manifest.json, this tool will ask you to fix them before it outputs a release-ready plugin.