Relocate version.txt, leave a copy in old place for a while for upgrades to work
This commit is contained in:
parent
c07c888321
commit
259ed9644d
|
@ -47,7 +47,7 @@ check_version ()
|
|||
}
|
||||
|
||||
hFile = InternetOpenUrl (hINet,
|
||||
"https://raw.github.com/hexchat/hexchat/master/version.txt",
|
||||
"https://raw.github.com/hexchat/hexchat/master/win32/version.txt",
|
||||
NULL,
|
||||
0,
|
||||
INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLAG_RELOAD,
|
||||
|
@ -117,7 +117,7 @@ check_version ()
|
|||
|
||||
hResource = HttpOpenRequest (hConnect,
|
||||
TEXT ("GET"),
|
||||
TEXT ("/hexchat/hexchat/master/version.txt"),
|
||||
TEXT ("/hexchat/hexchat/master/win32/version.txt"),
|
||||
TEXT ("HTTP/1.0"),
|
||||
NULL,
|
||||
NULL,
|
||||
|
|
|
@ -113,7 +113,8 @@ main (int argc, char *argv[])
|
|||
else if (!strcmp (argv[1], "-v")) /* version.txt */
|
||||
{
|
||||
printf ("%s", PACKAGE_VERSION);
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
printf ("usage:\n\t-a\thexchat.iss/AppVerName\n\t-i\thexchat.iss/VersionInfoVersion\n\t-o\thexchat.iss/OutputBaseFilename\n\t-r\thexchat.rc/FILEVERSION, PRODUCTVERSION\n\t-v\thexchat.iss/AppVersion\n");
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
2.9.3
|
Loading…
Reference in New Issue