Skip to content

Commit

Permalink
v 0.10.3.0
Browse files Browse the repository at this point in the history
v 0.10.3.0
  • Loading branch information
0x7c13 committed Sep 29, 2019
1 parent 68e9da9 commit f011d21
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 15 additions & 7 deletions src/Notepads/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public App()
ApplicationSettingsStore.Write(SettingsKey.ActiveInstanceIdStr, App.Id.ToString());

InitializeComponent();

Suspending += OnSuspending;
}

Expand All @@ -65,12 +66,6 @@ private static void OnUnhandledException(object sender, Windows.UI.Xaml.Unhandle
{
"Exception", e.Exception.ToString()
},
{
"OSArchitecture", SystemInformation.OperatingSystemArchitecture.ToString()
},
{
"OSVersion", SystemInformation.OperatingSystemVersion.ToString()
},
{
"Culture", SystemInformation.Culture.EnglishName
},
Expand Down Expand Up @@ -103,6 +98,12 @@ private static void OnUnhandledException(object sender, Windows.UI.Xaml.Unhandle
},
{
"AppUptime", SystemInformation.AppUptime.ToString()
},
{
"OSArchitecture", SystemInformation.OperatingSystemArchitecture.ToString()
},
{
"OSVersion", SystemInformation.OperatingSystemVersion.ToString()
}
};

Expand Down Expand Up @@ -212,7 +213,14 @@ private async System.Threading.Tasks.Task ActivateAsync(IActivatedEventArgs e)
LoggingService.LogInfo($"AppLaunchSettings: {string.Join(";", appLaunchSettings.Select(x => x.Key + "=" + x.Value).ToArray())}");
Analytics.TrackEvent("AppLaunch_Settings", appLaunchSettings);

await ActivationService.ActivateAsync(rootFrame, e);
try
{
await ActivationService.ActivateAsync(rootFrame, e);
}
catch (Exception ex)
{
throw new Exception("AppFailedToActivate", ex);
}

Window.Current.Activate();
ExtendAcrylicIntoTitleBar();
Expand Down
2 changes: 1 addition & 1 deletion src/Notepads/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Identity
Name="Notepads-Beta"
Publisher="CN=jackil"
Version="0.10.2.0" />
Version="0.10.3.0" />

<mp:PhoneIdentity PhoneProductId="77ab4c55-cc57-4187-a21f-b8adbd22d860" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down

0 comments on commit f011d21

Please sign in to comment.