diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-21 13:24:28 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-21 13:24:28 +0100 |
| commit | 75c05d35535267096b0c46e143be7a55bb21c9c4 (patch) | |
| tree | b9f175812ff8fde1f982ee0667a3853572ec8259 /TimeHACK.Main/Program.cs | |
| parent | fee528f280640948216f41f0569c79a6552e61c7 (diff) | |
| parent | a42b7b8d3219f5df18721afdf88bddb8dd11d463 (diff) | |
| download | histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.tar.gz histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.tar.bz2 histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.zip | |
Update My Fork PART 2!!!
Diffstat (limited to 'TimeHACK.Main/Program.cs')
| -rw-r--r-- | TimeHACK.Main/Program.cs | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index e2a4be6..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,16 +41,10 @@ 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, - // MyStringList = new List<string> + // MystringList = new List<string> // { // "Item1", // "Item2" @@ -69,7 +62,7 @@ namespace TimeHACK Application.Run(title); } - public static String OpenFileExplorerAsDialogAndReturnGivenPath() + public static string OpenFileExplorerAsDialogAndReturnGivenPath() { WinClassicWindowsExplorer we = new WinClassicWindowsExplorer(); @@ -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); |
