Skip to content

Commit e372a1a

Browse files
author
Martin Nielsen
committed
Patch 1.2.5 - Fixed issue with notifications spam
Changed UpdateNotificationForm
1 parent c7c7178 commit e372a1a

6 files changed

Lines changed: 51 additions & 45 deletions

File tree

OverwatchTracker/Forms/UpdateNotificationForm.Designer.cs

Lines changed: 44 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OverwatchTracker/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ internal class Program
2323
[STAThread]
2424
private static void Main()
2525
{
26+
Application.EnableVisualStyles();
27+
Application.SetCompatibleTextRenderingDefault(false);
2628
Vars.initalize = new Initalize(
27-
"1.2.4",
29+
"1.2.5",
2830
"betteroverwatch.com",
2931
"https://api.github.com/repos/MartinNielsenDev/OverwatchTracker/releases/latest"
3032
);
@@ -88,15 +90,13 @@ private static void Main()
8890
}
8991
if (!Server.CheckNewestVersion()) return;
9092

91-
Application.EnableVisualStyles();
92-
Application.SetCompatibleTextRenderingDefault(false);
9393
Directory.CreateDirectory(Vars.configPath);
9494
Vars.settings = new Settings();
9595
Settings.Load();
9696
Vars.gameData = new Game();
9797
trayMenu = new TrayMenu();
9898
Server.autoUpdaterTimer.Start();
99-
Functions.DebugMessage("> success - Better Overwatch started");
99+
Functions.DebugMessage("Better Overwatch started");
100100
}
101101
catch (Exception e)
102102
{

OverwatchTracker/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.2.4.0")]
35-
[assembly: AssemblyFileVersion("1.2.4.0")]
34+
[assembly: AssemblyVersion("1.2.5.0")]
35+
[assembly: AssemblyFileVersion("1.2.5.0")]

OverwatchTracker/Protocols.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public static void CheckPlayMenu(Bitmap frame)
3333
Functions.PlaySound();
3434
Program.trayMenu.currentGame.MenuItems[1].Text = "Skill rating: " + srText;
3535
Functions.DebugMessage("Recognized sr: '" + srText + "'");
36+
Program.trayMenu.ChangeTray("Ready to record, enter a competitive game to begin", Resources.IconActive);
3637
}
3738
Vars.gameTimer.Stop();
3839
Vars.gameData.currentRating = srText;
@@ -45,7 +46,6 @@ public static void CheckPlayMenu(Bitmap frame)
4546
if (!IsValidGame()) return;
4647
CheckGameUpload();
4748
}
48-
Program.trayMenu.ChangeTray("Ready to record, enter a competitive game to begin", Resources.IconActive);
4949
}
5050
}
5151
}

OverwatchTracker/Server.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public static bool CheckNewestVersion()
8585
UpdateNotificationForm updateForm = new UpdateNotificationForm();
8686
updateForm.installedVersionLabel.Text += Vars.initalize.Version;
8787
updateForm.updateVersionLabel.Text += json.tag_name;
88-
updateForm.titleSubLabel.Text += json.tag_name;
8988
updateForm.changeLogTextBox.Text = json.body;
9089
updateForm.downloadUrl = json.assets[0].browser_download_url;
9190
updateForm.downloadSize = json.assets[0].size;

OverwatchTracker/app.manifest

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,11 @@
4545
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
4646
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
4747
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
48-
<!--
4948
<application xmlns="urn:schemas-microsoft-com:asm.v3">
5049
<windowsSettings>
5150
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
5251
</windowsSettings>
5352
</application>
54-
-->
5553
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
5654
<!--
5755
<dependency>

0 commit comments

Comments
 (0)