Skip to content

Commit d35860a

Browse files
committed
version 202407271953
1 parent d0a778c commit d35860a

14 files changed

+13
-11
lines changed

.vs/AmarothLauncher/v17/.suo

11.5 KB
Binary file not shown.

AmarothLauncher/Core/Config.cs

+9-8
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ public class Config
1212
{
1313
private static Config instance;
1414
private const string BaseUrl = "http://www.didiwow.com/";
15+
private const string DownloadsUrl = "https://southmemory.github.io/launcher-wow-wild";
1516

1617
// Launcher's version.
17-
public double version = 202407052200;
18+
public double version = 202407271953;
1819
public bool isDefaultConfigUsed { get; private set; }
1920
XmlDocument xml = new XmlDocument();
2021
XmlDocument defaultXml = new XmlDocument();
@@ -185,16 +186,16 @@ private void PathConfigDefault()
185186
XmlComment comment = defaultXml.CreateComment("Paths to files and folders Launcher will work with. They are commonly all !CASE SENSITIVE!");
186187
XmlNode node = defaultXml.CreateElement("Paths");
187188

188-
AddSubnodeDefault(node, "FilelistPath", $"{BaseUrl}/updates/filelist.conf", "Path to text filelist.");
189-
AddSubnodeDefault(node, "VersionPath", $"{BaseUrl}/updates/launcherversion.conf", "Path to text file which contains your Lancher's current version (version is a double value with . as separator!");
190-
AddSubnodeDefault(node, "LauncherPath", $"{BaseUrl}/updates/Launcher.zip", "Path to a zip file with Launcher files - used if Launcher finds itself outdated.");
191-
AddSubnodeDefault(node, "FilesRootPath", $"{BaseUrl}/updates/", "Path to folder with files. Paths in filelist are relative to this path.");
192-
AddSubnodeDefault(node, "ChangelogPath", $"{BaseUrl}/updates/changelog.xml", "!HTTP! path to changelog XML file.");
189+
AddSubnodeDefault(node, "FilelistPath", $"{DownloadsUrl}/updates/filelist.conf", "Path to text filelist.");
190+
AddSubnodeDefault(node, "VersionPath", $"{DownloadsUrl}/updates/launcherversion.conf", "Path to text file which contains your Lancher's current version (version is a double value with . as separator!");
191+
AddSubnodeDefault(node, "LauncherPath", $"{DownloadsUrl}/updates/DiDiLauncher.zip", "Path to a zip file with Launcher files - used if Launcher finds itself outdated.");
192+
AddSubnodeDefault(node, "FilesRootPath", $"{DownloadsUrl}/updates/", "Path to folder with files. Paths in filelist are relative to this path.");
193+
AddSubnodeDefault(node, "ChangelogPath", $"{DownloadsUrl}/updates/changelog.xml", "!HTTP! path to changelog XML file.");
193194
AddSubnodeDefault(node, "ChangelogFTPPath", "ftp://ftp.example.com//www/files/", "!Full! !FTP! path to folder in which changelog is. Notice that //www/ part. You may want to use an IP instead of a domain name.");
194195
AddSubnodeDefault(node, "Webpage", BaseUrl, "URL which is to be opened when user clicks on Project webpage button.");
195196
AddSubnodeDefault(node, "Registration", BaseUrl, "URL which is to be opened when user clicks on Registration button.");
196-
AddSubnodeDefault(node, "Instructions", $"{BaseUrl}/launchermanual/", "URL which is to be opened when user clicks on Launcher manual button.");
197-
AddSubnodeDefault(node, "HelloImage", $"{BaseUrl}/updates/hello.png", "URL to image which is to be displayed in Main window (latest news image). Clicking on it opens a changelog browser.");
197+
AddSubnodeDefault(node, "Instructions", $"{DownloadsUrl}/launchermanual/", "URL which is to be opened when user clicks on Launcher manual button.");
198+
AddSubnodeDefault(node, "HelloImage", $"{DownloadsUrl}/updates/hello.png", "URL to image which is to be displayed in Main window (latest news image). Clicking on it opens a changelog browser.");
198199

199200
defaultXml.DocumentElement.AppendChild(comment);
200201
defaultXml.DocumentElement.AppendChild(node);

AmarothLauncher/Core/FileHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public bool IsInWowDir()
6565
blizzlikeMPQs.Add(cwd + @"\data\lichking.mpq");
6666
blizzlikeMPQs.Add(cwd + @"\data\patch.mpq");
6767
blizzlikeMPQs.Add(cwd + @"\data\patch-2.mpq");
68-
blizzlikeMPQs.Add(cwd + @"\data\patch-3.mpq");
68+
// blizzlikeMPQs.Add(cwd + @"\data\patch-3.mpq");
6969

7070
foreach (string mpqFile in blizzlikeMPQs)
7171
if (!File.Exists(mpqFile))

AmarothLauncher/GUI/MainWindow.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ private bool IsUpToDate()
9393
}
9494

9595
double webVersion;
96+
Console.WriteLine($"当前启动器版本号: {c.version}");
9697
if (Double.TryParse(versionOnWeb.Trim(), NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out webVersion))
9798
{
98-
Console.WriteLine($"当前启动器版本号: {c.version}, 网络上的启动器版本号: {webVersion}");
99+
Console.WriteLine($"网络上的启动器版本号: {webVersion}");
99100
Console.WriteLine($"IsUpToDate returning {webVersion <= c.version}");
100101
return webVersion <= c.version;
101102
}
512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

updates/Data/zhCN/patch-zhCN-z.mpq

-77.8 MB
Binary file not shown.

updates/DiDiLauncher.exe

512 Bytes
Binary file not shown.

updates/DiDiLauncher.zip

160 KB
Binary file not shown.

updates/Launcher.zip

-160 KB
Binary file not shown.

updates/launcherversion.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
202407052200
1+
202407271953

0 commit comments

Comments
 (0)