From 3d7e1be0ae2b6bd61db89e1c1bb75128420c646d Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sun, 1 Sep 2019 09:27:51 -0400 Subject: [PATCH] annoying in development --- GUI/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/main.cpp b/GUI/main.cpp index 7a9a092..184ddf2 100644 --- a/GUI/main.cpp +++ b/GUI/main.cpp @@ -9,6 +9,7 @@ int main(int argc, char *argv[]) { std::thread([] { + if (!*VERSION) return; using InternetHandle = AutoHandle>; // Queries GitHub releases API https://developer.github.com/v3/repos/releases/ and checks the last release tag to check if it's the same if (InternetHandle internet = WinHttpOpen(L"Mozilla/5.0 Textractor", WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, NULL, NULL, 0))