Re-enable update checker/changelog code, set version back to v1.0

This commit is contained in:
Agent X 2024-06-30 07:43:09 -04:00
parent 5cba5bede1
commit b228b3bb0e
5 changed files with 7 additions and 7 deletions

View File

@ -12576,7 +12576,7 @@ MINOR_VERSION_NUMBER = 0
PATCH_VERSION_NUMBER = 0
--- @type string
SM64COOPDX_VERSION = "Prerelease_4"
SM64COOPDX_VERSION = "v1.0"
--- @type integer
VERSION_NUMBER = 37

View File

@ -108,7 +108,7 @@ void djui_init_late(void) {
gPanelLanguageOnStartup = true;
djui_panel_language_create(NULL);
}
if (true) { // strcmp(configLastVersion, get_version())) {
if (strcmp(configLastVersion, get_version())) {
snprintf(configLastVersion, MAX_CONFIG_STRING, "%s", get_version());
djui_panel_changelog_create(NULL);
}

View File

@ -4403,7 +4403,7 @@ char gSmluaConstants[] = ""
"COOP_OBJ_FLAG_LUA = (1 << 1)\n"
"COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n"
"COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n"
"SM64COOPDX_VERSION = 'Prerelease_4'\n"
"SM64COOPDX_VERSION = 'v1.0'\n"
"VERSION_TEXT = 'v'\n"
"VERSION_NUMBER = 37\n"
"MINOR_VERSION_NUMBER = 0\n"

View File

@ -1,7 +1,7 @@
#ifndef VERSION_H
#define VERSION_H
#define SM64COOPDX_VERSION "Prerelease_4"
#define SM64COOPDX_VERSION "v1.0"
// internal version
#define VERSION_TEXT "v"

View File

@ -318,9 +318,9 @@ void* main_game_init(void* isThreaded) {
enable_queued_dynos_packs();
sync_objects_init_system();
// if (gCLIOpts.network != NT_SERVER) {
// check_for_updates();
// }
if (gCLIOpts.network != NT_SERVER) {
check_for_updates();
}
LOADING_SCREEN_MUTEX(loading_screen_set_segment_text("Loading ROM Assets"));
rom_assets_load();