diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-10-05 16:16:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-05 16:16:18 +1000 |
commit | c636d88309279ec458f96c6e6eadd93a39a6c912 (patch) | |
tree | 847a8ae242f326cead4afd66d77cbe52584d5c03 /src/main | |
parent | fda50f2ecd79498b8cb155025807d018cf86279e (diff) | |
download | skyhanni-c636d88309279ec458f96c6e6eadd93a39a6c912.tar.gz skyhanni-c636d88309279ec458f96c6e6eadd93a39a6c912.tar.bz2 skyhanni-c636d88309279ec458f96c6e6eadd93a39a6c912.zip |
Fix: repo getting redownloaded on the same commit (#2669)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt index ec6f0cbd9..b3109c9ee 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt @@ -36,7 +36,7 @@ class RepoManager(private val configLocation: File) { private var latestRepoCommit: String? = null val repoLocation: File = File(configLocation, "repo") private var error = false - private var lastRepoUpdate = SimpleTimeMark.farPast() + private var lastRepoUpdate = SimpleTimeMark.now() companion object { |