Add about page, add icons, use open crate

This commit is contained in:
Jeremy Soller 2024-02-28 09:29:05 -07:00
parent ea93c7df32
commit b39c845456
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
18 changed files with 296 additions and 46 deletions

View file

@ -15,6 +15,9 @@ desktop := APPID + '.desktop'
desktop-src := 'res' / desktop
desktop-dst := clean(rootdir / prefix) / 'share' / 'applications' / desktop
icons-src := 'res' / 'icons' / 'hicolor'
icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor'
# Default recipe which runs `just build-release`
default: build-release
@ -60,7 +63,10 @@ run *args:
# Installs files
install:
install -Dm0755 {{bin-src}} {{bin-dst}}
install -Dm0755 {{desktop-src}} {{desktop-dst}}
install -Dm0644 {{desktop-src}} {{desktop-dst}}
for size in `ls {{icons-src}}`; do \
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \
done
# Uninstalls installed files
uninstall: