fix: Update prompt button not appearing properly
This commit is contained in:
parent
0717d4a1b4
commit
4de8990b5c
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user