mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-24 10:09:21 +01:00
update code for online update to use the file UPDATEFOLDER/revisions for version checking
This commit is contained in:
parent
2506ce94f6
commit
22453ca6db
@ -55,11 +55,11 @@ void CheckVersion(void)
|
||||
if(Settings.checkrev == -1)
|
||||
{
|
||||
#ifdef STBOOTVWII
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st.vwii/revisions.st.vwii");
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st.vwii/revisions");
|
||||
#elif VWII
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.vwii/revisions.vwii");
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.vwii/revisions");
|
||||
#elif STBOOT
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st/revisions.st");
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st/revisions");
|
||||
#else
|
||||
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL/revisions");
|
||||
#endif
|
||||
|
@ -14,11 +14,11 @@ string CheckNewVersions()
|
||||
string revs = "error";
|
||||
char buffer[100];
|
||||
#ifdef STBOOTVWII
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL.st.vwii/revisions.st.vwii");
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL.st.vwii/revisions");
|
||||
#elif VWII
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL.vwii/revisions.vwii");
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL.vwii/revisions");
|
||||
#elif STBOOT
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL.st/revisions.st");
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL.st/revisions");
|
||||
#else
|
||||
sprintf(buffer, "http://www.nanolx.org/hbf/DOL/revisions");
|
||||
#endif
|
||||
|
@ -1,3 +1,4 @@
|
||||
45-
|
||||
44-
|
||||
43-
|
||||
42-
|
@ -1,3 +1,4 @@
|
||||
45-
|
||||
44-
|
||||
43-
|
||||
42-
|
5
web/DOL.vwii/revisions
Normal file
5
web/DOL.vwii/revisions
Normal file
@ -0,0 +1,5 @@
|
||||
45-
|
||||
44-
|
||||
43-
|
||||
42-
|
||||
end
|
@ -1,3 +1,4 @@
|
||||
45-
|
||||
44-
|
||||
43-
|
||||
42-
|
Loading…
Reference in New Issue
Block a user