diff --git a/Makefile b/Makefile index f658fda..e9c1cd8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: dev build test seed release-patch release-minor release-major aur-update clean +.PHONY: dev build install-local test seed release-patch release-minor release-major aur-update clean dev: cargo run @@ -6,6 +6,14 @@ dev: build: cargo build --release +# Install the release build with its icon and launcher entry under ~/.local +install-local: build + install -Dm755 target/release/chelete $(HOME)/.local/bin/chelete + install -Dm644 assets/icons/128x128@2x.png $(HOME)/.local/share/icons/hicolor/256x256/apps/chelete.png + install -Dm644 assets/chelete.desktop $(HOME)/.local/share/applications/chelete.desktop + -gtk-update-icon-cache -q $(HOME)/.local/share/icons/hicolor + -update-desktop-database $(HOME)/.local/share/applications + test: cargo test diff --git a/assets/icon.svg b/assets/icon.svg new file mode 100644 index 0000000..5773aea --- /dev/null +++ b/assets/icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/icons/128x128.png b/assets/icons/128x128.png index abc9933..cc80f9f 100644 Binary files a/assets/icons/128x128.png and b/assets/icons/128x128.png differ diff --git a/assets/icons/128x128@2x.png b/assets/icons/128x128@2x.png index c5ce2d0..9cac92b 100644 Binary files a/assets/icons/128x128@2x.png and b/assets/icons/128x128@2x.png differ diff --git a/assets/icons/32x32.png b/assets/icons/32x32.png index 893df5d..b9b1503 100644 Binary files a/assets/icons/32x32.png and b/assets/icons/32x32.png differ diff --git a/assets/icons/icon.icns b/assets/icons/icon.icns index e69de29..0dbb20c 100644 Binary files a/assets/icons/icon.icns and b/assets/icons/icon.icns differ diff --git a/assets/icons/icon.ico b/assets/icons/icon.ico index 893df5d..7e09b05 100644 Binary files a/assets/icons/icon.ico and b/assets/icons/icon.ico differ