diff --git a/Flow.Launcher.Infrastructure/Storage/BinaryStorage.cs b/Flow.Launcher.Infrastructure/Storage/BinaryStorage.cs index b0af1974f..ea2d42773 100644 --- a/Flow.Launcher.Infrastructure/Storage/BinaryStorage.cs +++ b/Flow.Launcher.Infrastructure/Storage/BinaryStorage.cs @@ -114,5 +114,5 @@ namespace Flow.Launcher.Infrastructure.Storage } } } -#pragma warning enable SYSLIB0011 +#pragma warning restore SYSLIB0011 } diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs index d0118f3c9..5e43d4d78 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs @@ -157,8 +157,8 @@ namespace Flow.Launcher.Plugin.Program.Programs #if !DEBUG catch (Exception e) { - _ = ProgramLogger.LogException($"|UWP|All|{p.InstalledLocation}|An unexpected error occured and " + $"unable to convert Package to UWP for {p.Id.FullName}", e); - return new Application[] { }; + ProgramLogger.LogException($"|UWP|All|{p.InstalledLocation}|An unexpected error occured and " + $"unable to convert Package to UWP for {p.Id.FullName}", e); + return Array.Empty(); } #endif #if DEBUG //make developer aware and implement handling