From 4950376727013de78eecc3768396dcb0669885c4 Mon Sep 17 00:00:00 2001 From: oskar3123 Date: Wed, 21 Aug 2019 07:41:04 +0200 Subject: [PATCH] Fix AutoLobby visual bug --- GTAOnlineCasinoHelper/Properties/AssemblyInfo.cs | 4 ++-- GTAOnlineCasinoHelper/Views/AutoLobby.xaml.cs | 6 +++++- README.md | 6 ++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/GTAOnlineCasinoHelper/Properties/AssemblyInfo.cs b/GTAOnlineCasinoHelper/Properties/AssemblyInfo.cs index 3c54b03..250bbeb 100644 --- a/GTAOnlineCasinoHelper/Properties/AssemblyInfo.cs +++ b/GTAOnlineCasinoHelper/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ using System.Windows; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyVersion("1.1.1.0")] +[assembly: AssemblyFileVersion("1.1.1.0")] diff --git a/GTAOnlineCasinoHelper/Views/AutoLobby.xaml.cs b/GTAOnlineCasinoHelper/Views/AutoLobby.xaml.cs index fdf77b9..1a05a5b 100644 --- a/GTAOnlineCasinoHelper/Views/AutoLobby.xaml.cs +++ b/GTAOnlineCasinoHelper/Views/AutoLobby.xaml.cs @@ -155,7 +155,11 @@ namespace GTAOnlineCasinoHelper.Views await MainWindow.Instance.ShowMessageAsync("GTA V is already suspended", $"GTA V ({ProcessName}.exe) is already suspended"); return; } - SuspendGTA(); + if (!SuspendGTA()) + { + await MainWindow.Instance.ShowMessageAsync("GTA V is not running", $"GTA V ({ProcessName}.exe) is not running"); + return; + } TextBlock_Status.Text = "Suspended"; } diff --git a/README.md b/README.md index 48805bd..005017c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ ## Screenshots -![Main Window](http://git.oskar3123.eu:8880/screens/461590f8-b8f3-4911-b103-aa1e72ce9062.png) +![Main Window - LuckyWheel](http://git.oskar3123.eu:8880/screens/1a369870-7296-444d-8bd2-6228cf7bd1ec.png) -![Settings Window](http://git.oskar3123.eu:8880/screens/2ea0d012-8750-495f-a8f7-922336b9e761.png) +![Main Window - AutoLobby](http://git.oskar3123.eu:8880/screens/28009fbd-143d-4cd3-94bf-168e9f38e72c.png) + +![Settings Window](http://git.oskar3123.eu:8880/screens/a2bec92b-666f-486d-9b74-77a463860858.png)