organize the media files a little better

This commit is contained in:
2025-05-17 14:44:19 -04:00
parent 2588421fe9
commit 2cab45fe9c
5 changed files with 5 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
# make does not handle last-modified dates on folders very well, so instead we use the inner binary as the target
# make does not handle last-modified dates on folders very well, so instead we use the inner binary as the "target"
why.app/Contents/MacOS/why.app: why documentTypes.plist
go tool appify -author "David Ashby" -version `git rev-parse --short HEAD` -id "in.yetaga.why" -name "why" -icon ./icon.png -plist ./documentTypes.plist ./why
go tool appify -author "David Ashby" -version `git rev-parse --short HEAD` -id "in.yetaga.why" -name "why" -icon ./media/icon.png -plist ./documentTypes.plist ./why
rm why.app/Contents/README
documentTypes.plist: filetypes/*.go filetypes/cmd/*.go
go generate main.go
why: *.go filetypes/*.go noise.png icon.png go.mod go.sum $(go.work go.work.sum)
why: *.go filetypes/*.go media/* go.mod go.sum $(go.work go.work.sum)
go build .

View File

@@ -25,10 +25,10 @@ type state struct {
images []string
}
//go:embed noise.png
//go:embed media/noise.png
var noise []byte // this is a default image
//go:embed icon.png
//go:embed media/icon.png
var icon []byte // this is the app icon
//go:generate go run ./filetypes/cmd/gen.go

View File

Before

Width:  |  Height:  |  Size: 296 KiB

After

Width:  |  Height:  |  Size: 296 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

View File

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 295 KiB