From 3b5dc0e57a64d2eed7fe05d9fa35e8de8b6a75f3 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 11 Nov 2020 20:16:15 +0000 Subject: WinGui: Move to .NET 5 runtime. (This requires the Microsoft .NET 5 runtime to be installed on the machine) Changed the configruation to make the UI platform agnostic. This will allow it to run on ARM64 natively (in theory) with if provided with an ARM64 native hb.dll --- win/CS/HandBrakeWPF/Views/ShellView.xaml.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Views') diff --git a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs index 3c1e70c80..8b6b5b30e 100644 --- a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs @@ -52,7 +52,6 @@ namespace HandBrakeWPF.Views { INotifyIconService notifyIconService = IoC.Get(); this.notifyIcon = new NotifyIcon(); - this.notifyIcon.ContextMenu = new ContextMenu(new[] { new MenuItem("Restore", NotifyIconClick) }); notifyIconService.RegisterNotifyIcon(this.notifyIcon); StreamResourceInfo streamResourceInfo = Application.GetResourceStream(new Uri("pack://application:,,,/handbrakepineapple.ico")); -- cgit v1.2.3