diff options
author | Roman / Linnea Gräf <nea@nea.moe> | 2023-06-24 18:14:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 18:14:44 +0200 |
commit | 72f51afe202e8d3ddef85ca3801809b0ee463893 (patch) | |
tree | de00c72555289f1f4aa803c2b7e98f8cad69122f /src/main/java/at/hannibal2 | |
parent | 3e124fe2283d6087c5700fefbbc0ddcd39d5b18d (diff) | |
download | skyhanni-72f51afe202e8d3ddef85ca3801809b0ee463893.tar.gz skyhanni-72f51afe202e8d3ddef85ca3801809b0ee463893.tar.bz2 skyhanni-72f51afe202e8d3ddef85ca3801809b0ee463893.zip |
Merge pull request #255
* Remove old update data after each update
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt | 5 |
1 files changed, 4 insertions, 1 deletions
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 +} |