summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHawarth <hawarth@hawarth.com>2026-03-20 18:38:45 +0100
committerHawarth <hawarth@hawarth.com>2026-03-20 18:38:45 +0100
commit1d8a945a75d7904c79abb7c165736a77aec9786b (patch)
treef99740258e708084302003efa2743c33ee381a4c
parent792d998b30c92887b46f984b8f6263d4ca81e076 (diff)
downloaddf-lumberborne-1d8a945a75d7904c79abb7c165736a77aec9786b.tar.gz
df-lumberborne-1d8a945a75d7904c79abb7c165736a77aec9786b.zip
fix: add command to clean installed_mods directory
Cleans the ~/.local/share/Bay\ 12\ Games/Dwarf\ Fortress/data/installed_mods/ directory so the game can properly refresh the newly built/installed mod; otherwise the game will not register the changes.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aad81ba..764941d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ tarball: package
install: package
rm -rf /home/hawarth/.local/share/Bay\ 12\ Games/Dwarf\ Fortress/mods/$(NAME)_v$(VERSION)/
+ rm -rf /home/hawarth/.local/share/Bay\ 12\ Games/Dwarf\ Fortress/data/installed_mods/*
mv $(NAME)_v$(VERSION)/ /home/hawarth/.local/share/Bay\ 12\ Games/Dwarf\ Fortress/mods/
clean: