diff --git a/source/init/tasks.cpp b/source/init/tasks.cpp index bf65648fc..0fc2f3125 100644 --- a/source/init/tasks.cpp +++ b/source/init/tasks.cpp @@ -32,7 +32,7 @@ namespace hex::init { auto releases = net.getJson("https://api.github.com/repos/WerWolv/ImHex/releases/latest"); if (releases.code != 200) - return false; + return false; if (!releases.response.contains("tag_name") || !releases.response["tag_name"].is_string()) return false; diff --git a/source/window.cpp b/source/window.cpp index 2c118045a..d28d1f2df 100644 --- a/source/window.cpp +++ b/source/window.cpp @@ -57,7 +57,6 @@ namespace hex { Window::Window() { SharedData::currentProvider = nullptr; - #if !defined(RELEASE) { for (const auto &[argument, value] : init::getInitArguments()) { if (argument == "update-available") { @@ -67,7 +66,6 @@ namespace hex { } } } - #endif this->initGLFW(); this->initImGui();