From 80ddb0d9b24a94446a76f9177586b847a79240c2 Mon Sep 17 00:00:00 2001 From: Yair <39923744+yaira2@users.noreply.github.com> Date: Sun, 13 Aug 2023 11:31:01 -0400 Subject: [PATCH 1/3] Update Package.appxmanifest --- src/Files.App (Package)/Package.appxmanifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Files.App (Package)/Package.appxmanifest b/src/Files.App (Package)/Package.appxmanifest index baa16eb56734..8c8ac739b25a 100644 --- a/src/Files.App (Package)/Package.appxmanifest +++ b/src/Files.App (Package)/Package.appxmanifest @@ -16,7 +16,7 @@ + Version="2.5.22.0" /> Files - Dev From b413185af647f73047f8979ba829c735a84ffaa8 Mon Sep 17 00:00:00 2001 From: Yair <39923744+yaira2@users.noreply.github.com> Date: Sun, 13 Aug 2023 11:46:47 -0400 Subject: [PATCH 2/3] Fix app center --- src/Files.App/App.xaml.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Files.App/App.xaml.cs b/src/Files.App/App.xaml.cs index 62fbc622b672..41efa8e0eaff 100644 --- a/src/Files.App/App.xaml.cs +++ b/src/Files.App/App.xaml.cs @@ -11,6 +11,10 @@ using Files.App.ViewModels.Settings; using Files.Core.Services.SizeProvider; using Files.Core.Storage; +#if STORE || STABLE || PREVIEW +using Microsoft.AppCenter; +using Microsoft.AppCenter.Analytics; +#endif using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; @@ -340,7 +344,7 @@ await SafetyExtensions.IgnoreExceptions(async () => /// /// Enumerates through all tabs and gets the Path property and saves it to AppSettings.LastSessionPages. /// - public static void SaveSessionTabs() + public static void SaveSessionTabs() { IUserSettingsService userSettingsService = Ioc.Default.GetRequiredService(); @@ -420,7 +424,7 @@ private static void AppUnhandledException(Exception? ex, bool shouldShowNotifica Debug.WriteLine(formattedException.ToString()); - // Please check "Output Window" for exception details (View -> Output Window) (CTRL + ALT + O) + // Please check "Output Window" for exception details (View -> Output Window) (CTRL + ALT + O) Debugger.Break(); SaveSessionTabs(); From 77564c6c5b44e92e6aaef0f758a511ea2618a9f8 Mon Sep 17 00:00:00 2001 From: Yair <39923744+yaira2@users.noreply.github.com> Date: Sun, 13 Aug 2023 12:02:38 -0400 Subject: [PATCH 3/3] Update App.xaml.cs --- src/Files.App/App.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Files.App/App.xaml.cs b/src/Files.App/App.xaml.cs index 41efa8e0eaff..0005b87a43cb 100644 --- a/src/Files.App/App.xaml.cs +++ b/src/Files.App/App.xaml.cs @@ -14,6 +14,7 @@ #if STORE || STABLE || PREVIEW using Microsoft.AppCenter; using Microsoft.AppCenter.Analytics; +using Microsoft.AppCenter.Crashes; #endif using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting;