From 72f51afe202e8d3ddef85ca3801809b0ee463893 Mon Sep 17 00:00:00 2001 From: Roman / Linnea Gräf Date: Sat, 24 Jun 2023 18:14:44 +0200 Subject: Merge pull request #255 * Remove old update data after each update --- .../java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt index 3dbba1cfb..9e998514c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt @@ -117,6 +117,9 @@ object UpdateManager { CurrentVersion.ofTag(SkyHanniMod.version), SkyHanniMod.MODID, ) + init { + context.cleanup() + } enum class UpdateState { AVAILABLE, @@ -126,4 +129,4 @@ object UpdateManager { } var potentialUpdate: PotentialUpdate? = null -} \ No newline at end of file +} -- cgit