Skip to content

Commit

Permalink
( ° ͜ʖ͡°)╭∩╮
Browse files Browse the repository at this point in the history
-Favourites and fuck you papertrail
  • Loading branch information
BigSpice committed Apr 18, 2023
1 parent efd3169 commit 3f5cc6c
Show file tree
Hide file tree
Showing 14 changed files with 271 additions and 603 deletions.
Binary file modified VTOL_2.0.0/.vs/VTOL/v17/.futdcache.v1
Binary file not shown.
15 changes: 3 additions & 12 deletions VTOL_2.0.0/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,7 @@ public MainWindow()

catch (Exception ex)
{
MessageBox.Show("Exception Encountered! - " + ex.Message);
Log.Error(ex, $"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}");
logger2.Open();
logger2.Log($"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}" + ex.Message + Environment.NewLine + ex.StackTrace + Environment.NewLine + ex.Source + Environment.NewLine + ex.InnerException + Environment.NewLine + ex.TargetSite + Environment.NewLine + "From VERSION - " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + Environment.NewLine);
logger2.Close();

}


Expand Down Expand Up @@ -647,7 +643,7 @@ private void Log_Folder_warning_Click(object sender, RoutedEventArgs e)
}
catch (Exception ex)
{
Log.Error(ex, $"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}");




Expand Down Expand Up @@ -728,11 +724,6 @@ private void Changelog_Click(object sender, RoutedEventArgs e)

catch (Exception ex)
{
MessageBox.Show("Exception Encountered! - " + ex.Message);
Log.Error(ex, $"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}");
logger2.Open();
logger2.Log($"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}" + ex.Message + Environment.NewLine + ex.StackTrace + Environment.NewLine + ex.Source + Environment.NewLine + ex.InnerException + Environment.NewLine + ex.TargetSite + Environment.NewLine + "From VERSION - " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + Environment.NewLine);
logger2.Close();
}
}

Expand Down Expand Up @@ -939,7 +930,7 @@ private void Main_Win_Control_StateChanged(object sender, EventArgs e)

catch (Exception ex)
{
Log.Error(ex, $"A crash happened at DEV VERSION{DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}");




Expand Down
12 changes: 1 addition & 11 deletions VTOL_2.0.0/Pages/Page_About.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,8 @@ private void Button_Click(object sender, RoutedEventArgs e)
}
catch (Exception ex)
{
Main.logger2.Open();
Main.logger2.Log($"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}" + ex.Message + Environment.NewLine + ex.StackTrace + Environment.NewLine + ex.Source +Environment.NewLine + ex.InnerException + Environment.NewLine + ex.TargetSite + Environment.NewLine + "From VERSION - " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + Environment.NewLine + System.Reflection.MethodBase.GetCurrentMethod().Name);
Main.logger2.Close();
Log.Error(ex, $"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}");

}
Process process = Process.Start(updaterModulePath, "/configure");
process.Close();

}
else
{
Expand Down Expand Up @@ -193,10 +186,7 @@ void Check_For_New_Update()
}
catch (Exception ex)
{
Main.logger2.Open();
Main.logger2.Log($"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}" + ex.Message + Environment.NewLine + ex.StackTrace + Environment.NewLine + ex.Source +Environment.NewLine + ex.InnerException + Environment.NewLine + ex.TargetSite + Environment.NewLine + "From VERSION - " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + Environment.NewLine + System.Reflection.MethodBase.GetCurrentMethod().Name);
Main.logger2.Close();
Log.Error(ex, $"A crash happened at {DateTime.Now.ToString("yyyy - MM - dd HH - mm - ss.ff", CultureInfo.InvariantCulture)}{Environment.NewLine}");


}

Expand Down
3 changes: 2 additions & 1 deletion VTOL_2.0.0/Pages/Page_Home.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:VTOL"
xmlns:xf="clr-namespace:XamlFlair;assembly=XamlFlair.WPF"

xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" x:Class="VTOL.Pages.Page_Home"
mc:Ignorable="d"
Expand Down Expand Up @@ -195,7 +196,7 @@

</DockPanel>

<ui:Button x:Name="Launch_Northstar" Margin="36,268,0,0" VerticalAlignment="Top" Height="62" Appearance="Primary" Background="{Binding Source={x:Static SystemParameters.WindowGlassBrush}}" Foreground="White" BorderThickness="2,2,2,2" Width="333" BorderBrush="{x:Null}" Click="Launch_Northstar_Click" FontSize="16" FontWeight="Normal" FontStyle="Normal" Opacity="0.6" ClickMode="Press" ToolTip="{x:Static properties:Language.Page_Home_LaunchNorthstar}">
<ui:Button xf:Animations.Primary="{StaticResource FadeIn}" x:Name="Launch_Northstar" Margin="36,268,0,0" VerticalAlignment="Top" Height="62" Appearance="Primary" Background="{Binding Source={x:Static SystemParameters.WindowGlassBrush}}" Foreground="White" BorderThickness="2,2,2,2" Width="333" BorderBrush="{x:Null}" Click="Launch_Northstar_Click" FontSize="16" FontWeight="Normal" FontStyle="Normal" Opacity="0.6" ClickMode="Press" ToolTip="{x:Static properties:Language.Page_Home_LaunchNorthstar}">

<ui:Button.Effect>
<DropShadowEffect
Expand Down
Loading

1 comment on commit 3f5cc6c

@BigSpice
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Gutted paper trail system and defaulted to serilog till 3.0.0

Please sign in to comment.