diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index f89e908b5..aa34cc46c 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -45,7 +45,7 @@ - + diff --git a/ILSpy/MainWindow.xaml.cs b/ILSpy/MainWindow.xaml.cs index 4946e580f..f0303ea0c 100644 --- a/ILSpy/MainWindow.xaml.cs +++ b/ILSpy/MainWindow.xaml.cs @@ -930,15 +930,18 @@ namespace ICSharpCode.ILSpy // https://github.com/NetSparkleUpdater/NetSparkle/blob/develop/src/NetSparkle.Samples.NetCore.WPF/MainWindow.xaml.cs string sparkleSettingsPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ICSharpCode\\ILSpy-sparkle.json"); + // var icsdasm = typeof(DecompilerVersionInfo).Assembly.FullName; + _sparkle = new SparkleUpdater( "https://ilspy.net/appcast.xml", new Ed25519Checker(SecurityMode.Strict, "s2P6MPexSRSjod77aWUjgVKj/gKYYAeqgHY/0Gf8b78=") ) { - UIFactory = new NetSparkleUpdater.UI.WPF.UIFactory(null), + UIFactory = new NetSparkleUpdater.UI.WPF.UIFactory(Images.ILSpyIcon), RelaunchAfterUpdate = false, CustomInstallerArguments = "", - Configuration = new JSONConfiguration(null, sparkleSettingsPath) + Configuration = new JSONConfiguration(new NetSparkleUpdater.AssemblyAccessors.AssemblyReflectionAccessor(null), sparkleSettingsPath) }; + _sparkle.StartLoop(true); }