From e81b5e9f9be80fb49211c52afd983e0d00fafedb Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Sat, 27 Jan 2024 18:22:33 +0300 Subject: [PATCH] i cant wait to get rid of this --- CHANGELOG.md | 3 +++ VERSION | 2 +- loader/src/loader/Index.cpp | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf7fda7..d795590d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Geode Changelog +## v2.0.0-beta.10 + * + ## v2.0.0-beta.9 * Make the index population async as well (3b3e174) * Run Android file callbacks on main thread (79d9184) diff --git a/VERSION b/VERSION index 5bcf5c85..14f76e81 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0-beta.9 \ No newline at end of file +2.0.0-beta.10 \ No newline at end of file diff --git a/loader/src/loader/Index.cpp b/loader/src/loader/Index.cpp index 520a2cc9..e0b6c68e 100644 --- a/loader/src/loader/Index.cpp +++ b/loader/src/loader/Index.cpp @@ -403,7 +403,9 @@ void Index::Impl::checkForUpdates() { // make sure the downloaded local copy actually exists ghc::filesystem::exists(dirs::getIndexDir() / "v0" / "config.json") ) { - this->updateFromLocalTree(); + std::thread([this](){ + this->updateFromLocalTree(); + }).detach(); } // otherwise save hash and download source else {