Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit bbadfcc

Browse files
author
rankaisija
committed
fix auto-update
1 parent e27fab7 commit bbadfcc

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

project/tools/info.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,7 @@
7676
new = [ "z64rom.exe", "tools/lang_en.toml", "tools/info.cfg", "tools/novl.exe", "tools/seqas.exe", "tools/z64convert.exe", "tools/z64upgrade.exe" ]
7777
rem = [ ]
7878

79+
[1.5.9]
80+
new = [ "z64rom.exe", "tools/lang_en.toml", "tools/novl.exe", "tools/seqas.exe", "tools/z64upgrade.exe" ]
81+
rem = [ ]
82+

src/tools.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static void Tools_CheckUpdateImpl() {
120120
memcpy(buffer, tag, sz);
121121

122122
sscanf(buffer, "%d.%d.%d", &vnum[0], &vnum[1], &vnum[2]);
123-
sscanf(gToolName, "" PRNT_BLUE "z64rom " PRNT_GRAY "%d.%d.%d", &cnum[0], &cnum[1], &cnum[2]);
123+
sscanf(gToolName, "" PRNT_CYAN "z64rom " PRNT_GRAY "%d.%d.%d", &cnum[0], &cnum[1], &cnum[2]);
124124

125125
newVer = vnum[0] * 1000 + vnum[1] * 100 + vnum[2];
126126
curVer = cnum[0] * 1000 + cnum[1] * 100 + cnum[2];

src/z64rom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/*============================================================================*/
99

10-
const char* gToolName = PRNT_CYAN "z64rom " PRNT_GRAY "1.5.8";
10+
const char* gToolName = PRNT_CYAN "z64rom " PRNT_GRAY "1.5.9";
1111
char gProjectConfig[32] = "z64project.toml";
1212
StateZ g64 = {
1313
.buildID = ROM_DEV,

0 commit comments

Comments
 (0)