From 56f60b768525e9eb063696f19c2564fc777b5961 Mon Sep 17 00:00:00 2001 From: MikeMaximus Date: Thu, 21 Mar 2019 13:59:50 -0600 Subject: [PATCH] Stop showing the exit dialog in Linux on unhandled exceptions --- GBM/Forms/frmMain.vb | 12 ++++-------- GBM/readme.txt | 8 +++++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/GBM/Forms/frmMain.vb b/GBM/Forms/frmMain.vb index ea8ee6d..9b471f4 100644 --- a/GBM/Forms/frmMain.vb +++ b/GBM/Forms/frmMain.vb @@ -1976,11 +1976,6 @@ Public Class frmMain End Sub Private Sub Main_FormClosing(sender As System.Object, e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing - 'Unix Handler - If mgrCommon.IsUnix And Not bShutdown Then - ShutdownApp() - End If - Select Case e.CloseReason Case CloseReason.UserClosing If bShutdown = False Then @@ -1991,12 +1986,13 @@ Public Class frmMain Me.WindowState = FormWindowState.Minimized Me.ShowInTaskbar = False Me.Visible = False + Else + ShutdownApp() End If End If - Case CloseReason.TaskManagerClosing, CloseReason.WindowsShutDown - 'Do nothing and let the app close without warning + Case Else + ShutdownApp(False) End Select - End Sub Private Sub AutoRestoreEventProcessor(myObject As Object, ByVal myEventArgs As EventArgs) Handles tmRestoreCheck.Elapsed diff --git a/GBM/readme.txt b/GBM/readme.txt index 1c2c57d..0104bd6 100644 --- a/GBM/readme.txt +++ b/GBM/readme.txt @@ -2,7 +2,7 @@ Game Backup Monitor v1.1.8 Readme http://mikemaximus.github.io/gbm-web/ gamebackupmonitor@gmail.com -March 10, 2019 +March 21, 2019 New in 1.1.8 @@ -24,7 +24,8 @@ All Platforms: - The disk space check prior to backups can now be disabled in the "Backup and Restore" settings. - Added "Operating System" field to game configurations: - "Windows" and "Linux" are the only valid choices at this time and only Linux users are allowed to change this field. -- Re-designed how GBM initilizes on startup. +- Changed how GBM initilizes on startup to fix some long standing issues. +- Fixed some inconsistencies with form icons and when forms are shown in the task bar. Windows: @@ -42,6 +43,7 @@ Linux: - This data can be viewed and manually modified on the Game Manager. - Fixed the handling of Wine/Proton games when multiple configurations are detected. - Fixed a crash when using "Backup Only" and "New Backups Pending" filters on the Game Manager. -- The Mono and GBM process will now exit cleanly if a critical failure occurs during startup. +- The Mono and GBM process will now exit cleanly if a critical error occurs during startup. +- GBM will no longer show the exit dialog when a critical error occurs. The entire version history of GBM releases is available at http://mikemaximus.github.io/gbm-web/versionhistory.html \ No newline at end of file