generate plist from filetypes and inject into app bundle

This commit is contained in:
2025-05-03 15:43:44 -04:00
parent 4c0d9de1cd
commit b50e13a34e
7 changed files with 407 additions and 120 deletions

View File

@@ -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