mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-17 03:10:39 -04:00
GUI: Fix ampersands not showing in 'insert token' popup dialog
This commit is contained in:
parent
ff11c110f4
commit
1a4ccea029
@ -40,6 +40,7 @@ namespace MCGalaxy.Gui.Popups {
|
||||
btn.Text = token.Trigger;
|
||||
btn.Click += delegate { Token = token.Trigger; DialogResult = DialogResult.OK; Close(); };
|
||||
btn.Margin = new Padding(0);
|
||||
btn.UseMnemonic = false;
|
||||
btn.UseVisualStyleBackColor = false;
|
||||
btn.Font = new Font("Microsoft Sans Serif", 9.5F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
||||
Controls.Add(btn);
|
||||
|
@ -31,7 +31,7 @@ namespace MCGalaxy {
|
||||
public const string BaseURL = "https://raw.githubusercontent.com/UnknownShadow200/MCGalaxy/master/";
|
||||
public const string UploadsURL = "https://github.com/UnknownShadow200/MCGalaxy/tree/master/Uploads";
|
||||
|
||||
const string CurrentVersionFile = BaseURL + "Uploads/current_version.txt";
|
||||
const string CurrentVersionURL = BaseURL + "Uploads/current_version.txt";
|
||||
#if TEN_BIT_BLOCKS
|
||||
const string dllURL = BaseURL + "Uploads/MCGalaxy_infid.dll?raw=true";
|
||||
#else
|
||||
@ -53,7 +53,7 @@ namespace MCGalaxy {
|
||||
WebClient client = HttpUtil.CreateWebClient();
|
||||
|
||||
try {
|
||||
string latest = client.DownloadString(CurrentVersionFile);
|
||||
string latest = client.DownloadString(CurrentVersionURL);
|
||||
|
||||
if (new Version(Server.Version) >= new Version(latest)) {
|
||||
Logger.Log(LogType.SystemActivity, "No update found!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user