Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 438 Bytes

DEVELOPMENT.md

File metadata and controls

17 lines (12 loc) · 438 Bytes

Development

Create go file with icon data

2goarray

go install github.com/cratonica/2goarray
INPUT=icon.png
OUTPUT=icon.go
echo "//+build linux darwin" > $OUTPUT
$GOPATH/bin/2goarray <VAR_NAME> <PACKAGE> < $INPUT >> $OUTPUT

Alternative approach to get ClampShell state via I/O Kit directly

traversing the I/O registry on Mac OS X (iokit)