Skip to content

Commit e842e7c

Browse files
committed
update outdated-bridge dialog
1 parent a576d27 commit e842e7c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Bridge/BridgeTCPUDP.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,10 @@ public static void ProcessServerPacket(int packetID) {
652652
#region VersionCheck
653653
if (!sreader.ReadBoolean()) {
654654
form.Log("mismatch\n", Color.Red);
655-
MessageBox.Show("your bridge is outdated\nupdate\nstay offline");
655+
var b = MessageBox.Show("your bridge is outdated. Please download the newest version.\n\nGo to download page now?", "version mismatch", MessageBoxButtons.YesNo);
656+
if (b == DialogResult.Yes) {
657+
System.Diagnostics.Process.Start("https://github.com/LastExceed/Exceed/releases");
658+
}
656659
return;
657660
}
658661
form.Log("match\n", Color.Green);

Resources/Config.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace Resources {
22
static public class Config {
33
public const int mapseed = 8710; //hardcoded for now
4-
public const int bridgeVersion = 13;
4+
public const int bridgeVersion = 14;
55
public const string serverIP = "pb97.ddns.net";//temp
66
public const int serverPort = 12346;
77
}

0 commit comments

Comments
 (0)