/// <summary> /// Initialiazes the config /// </summary> private static void InitConfig() { _config = new Config(); _config.Paths = new ObservableCollection <Path>(DefaultPaths.GetDefault()); _config.DefaultFileExtensions.AddRange(HelperClasses.DefaultFileExtensions.GetDefault()); _config.ShortcutManagerSettings = new ShortcutManagerSettings(); _config.Persist(); RegistryHelper.AssociateFileExtension(); RegistryHelper.RegisterCustomProtocol(); }
private static void OnAppUpdate(Version version) { MessageBox.Show($"James got an update to: {version}"); RegistryHelper.AssociateFileExtension(); RegistryHelper.RegisterCustomProtocol(); }