diff options
| author | lempamo <[email protected]> | 2017-07-19 21:17:50 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-19 21:17:50 -0400 |
| commit | 67db4eebef37d24cee4057ac6f381ce9eb3854fe (patch) | |
| tree | 12491e87c25d8f746ff4c445374805ca2555b6f4 /TimeHACK.Main/Program.cs | |
| parent | 4b7db2e4223640e15507c1f07d139654fd0c4318 (diff) | |
| download | histacom2-67db4eebef37d24cee4057ac6f381ce9eb3854fe.tar.gz histacom2-67db4eebef37d24cee4057ac6f381ce9eb3854fe.tar.bz2 histacom2-67db4eebef37d24cee4057ac6f381ce9eb3854fe.zip | |
New Version thing
Diffstat (limited to 'TimeHACK.Main/Program.cs')
| -rw-r--r-- | TimeHACK.Main/Program.cs | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index 3f8d10c..086c084 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -21,7 +21,6 @@ namespace TimeHACK static System.Media.SoundPlayer stopsound; internal static bool nightly = true; - internal static string gameID; internal static TitleScreen title; public static string AddressBookSelectedFolderName; public static AddressBookContact AddressBookSelectedContact; @@ -42,12 +41,6 @@ namespace TimeHACK title = new TitleScreen(); - gameID = "Getting AppVeyor..."; - System.Threading.Thread getAppVeyor = new System.Threading.Thread(GetAppVeyor); - - getAppVeyor.Start(); - System.Threading.Thread.Sleep(500); - //TimeHACK.Engine.GameSave.SaveData MySaveData = new TimeHACK.Engine.GameSave.SaveData() //{ // OS = 60, @@ -94,31 +87,6 @@ namespace TimeHACK //Application.Exit(); } - public static void GetAppVeyor() - { - if (nightly == true) - { - try - { - WebClient wc = new WebClient(); - - // Set the GameID - string json = wc.DownloadString("http://ci.appveyor.com/api/projects/timehack/timehack"); - JObject j = JObject.Parse(JObject.Parse(json)["build"].ToString()); - gameID = "AppVeyor-" + j["buildNumber"].ToString(); - } - catch (WebException) - { - gameID = "AppVeyor"; - } - } - else - { - gameID = "TimeHACK 1.1"; - } - - } - public static void AddTaskbarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon) { TitleScreen.frm95.AddTaskBarItem(Application, ApplicationID, ApplicationName, ApplicationIcon); |
