generate plist from filetypes and inject into app bundle
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,6 +1,9 @@
|
||||
why: *.go go.mod go.sum noise.png
|
||||
documentTypes.plist: filetypes/filetypes.go
|
||||
go generate main.go
|
||||
|
||||
why: *.go go.mod go.sum noise.png documentTypes.plist
|
||||
go build .
|
||||
|
||||
why.app: why
|
||||
go tool appify -author "David Ashby" -id "in.yetaga.why" -name "why" -icon ./icon.png ./why
|
||||
go tool appify -author "David Ashby" -id "in.yetaga.why" -name "why" -icon ./icon.png -plist ./documentTypes.plist ./why
|
||||
rm why.app/Contents/README
|
||||
|
Reference in New Issue
Block a user