include changes from master #43

Merged
fyr77 merged 3 commits from master into feature-autodownload 2024-02-26 19:03:18 +01:00
Showing only changes of commit 8ce6a92146 - Show all commits

View file

@ -5,10 +5,17 @@ namespace EnvyUpdate
internal class Notify internal class Notify
{ {
public static void ShowDrivUpdatePopup() public static void ShowDrivUpdatePopup()
{
try
{ {
var toast = new ToastContentBuilder(); var toast = new ToastContentBuilder();
toast.AddText(Properties.Resources.update_popup_message); toast.AddText(Properties.Resources.update_popup_message);
toast.Show(); toast.Show();
} }
catch (System.Exception ex)
{
Debug.LogToFile("WARN Could not show notification. Error: " + ex.Message);
}
}
} }
} }