summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 14090ed..e6c1513 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# Copyright 2025 Dillution <[email protected]>.
+# Copyright 2025-2026 Dillution <[email protected]>.
#
# This file is part of DPIBreak.
#
@@ -49,7 +49,7 @@ uninstall:
ifneq ($(wildcard Cargo.toml),)
VERSION := $(shell cargo metadata --format-version=1 --no-deps \
- | jq -r '.packages[0].version')
+ | jq -r '.packages[] | select(.name == "dpibreak") | .version')
endif
ifneq ($(wildcard .git),)