created flag for skipping checking version
This commit is contained in:
parent
aa5edf5840
commit
f60d6d0496
@ -11,4 +11,6 @@
|
||||
#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/master/versions.json"
|
||||
#define VERSIONS_NAME "versions.json"
|
||||
|
||||
#define SKIP_CHECK 1
|
||||
|
||||
#endif
|
||||
|
@ -16,6 +16,8 @@
|
||||
void
|
||||
checkVersion()
|
||||
{
|
||||
if (SKIP_CHECK) return;
|
||||
|
||||
//FILE-CHECK VARIABLES
|
||||
int notFoundBuffer = 0;
|
||||
|
||||
|
@ -11,6 +11,12 @@
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
if (argc == 2 && strcmp(argv[1], "skipCheck") == 0)
|
||||
{
|
||||
#undef SKIP_CHECK
|
||||
#define SKIP_CHECK 0
|
||||
}
|
||||
|
||||
char *text = encryptText(TEST_TEXT, TEST_KEY);
|
||||
text = decryptText(text, TEST_KEY);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user