Horizon – Diff between revs 15 and 17

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 15 Rev 17
Line 84... Line 84...
84   84  
Line 85... Line 85...
85 private readonly SnapshotDatabase _snapshotDatabase; 85 private readonly SnapshotDatabase _snapshotDatabase;
Line 86... Line 86...
86   86  
Line 87... Line 87...
87 private SnapshotManagerForm _snapshotManagerForm; 87 private SnapshotManagerForm _snapshotManagerForm;
Line 88... Line 88...
88   88  
Line 144... Line 144...
144 _snapshotDatabase.SnapshotNoteUpdate += _snapshotDatabase_SnapshotNoteUpdate; 144 _snapshotDatabase.SnapshotNoteUpdate += _snapshotDatabase_SnapshotNoteUpdate;
145 _snapshotDatabase.SnapshotDataUpdate += _snapshotDatabase_SnapshotDataUpdate; 145 _snapshotDatabase.SnapshotDataUpdate += _snapshotDatabase_SnapshotDataUpdate;
Line 146... Line 146...
146   146  
147 _trackedFolders = new TrackedFolders.TrackedFolders(); 147 _trackedFolders = new TrackedFolders.TrackedFolders();
148 _trackedFolders.Folder.CollectionChanged += Folder_CollectionChanged; -  
149   -  
150 // Start application update. -  
151 var manifestModuleName = Assembly.GetEntryAssembly().ManifestModule.FullyQualifiedName; -  
152 var icon = Icon.ExtractAssociatedIcon(manifestModuleName); -  
153   -  
154 _sparkle = new SparkleUpdater("https://horizon.grimore.org/update/appcast.xml", -  
155 new Ed25519Checker(SecurityMode.Strict, "LonrgxVjSF0GnY4hzwlRJnLkaxnDn2ikdmOifILzLJY=")) -  
156 { -  
157 UIFactory = new UIFactory(icon), -  
158 RelaunchAfterUpdate = true -  
159 }; -  
160   -  
161 _sparkle.StartLoop(true, true); 148 _trackedFolders.Folder.CollectionChanged += Folder_CollectionChanged;
Line 162... Line 149...
162 } 149 }
163   150  
164 /// <summary> 151 /// <summary>
Line 579... Line 566...
579 _trackedFoldersChangedContinuation.Schedule(TimeSpan.FromSeconds(1), SaveFolders, _cancellationToken); 566 _trackedFoldersChangedContinuation.Schedule(TimeSpan.FromSeconds(1), SaveFolders, _cancellationToken);
580 } 567 }
Line 581... Line 568...
581   568  
582 private async void MainForm_Load(object sender, EventArgs e) 569 private async void MainForm_Load(object sender, EventArgs e)
-   570 {
-   571 // Start application update.
-   572 var manifestModuleName = Assembly.GetEntryAssembly().ManifestModule.FullyQualifiedName;
-   573 var icon = Icon.ExtractAssociatedIcon(manifestModuleName);
-   574  
-   575 _sparkle = new SparkleUpdater("https://horizon.grimore.org/update/appcast.xml",
-   576 new Ed25519Checker(SecurityMode.Strict, "LonrgxVjSF0GnY4hzwlRJnLkaxnDn2ikdmOifILzLJY="))
-   577 {
-   578 UIFactory = new UIFactory(icon),
-   579 RelaunchAfterUpdate = true
-   580 };
-   581  
-   582 await _sparkle.StartLoop(true, true);
583 { 583  
584 // attempt an upgrade 584 // attempt an upgrade
585 #pragma warning disable CS4014 585 #pragma warning disable CS4014
586 PerformUpgrade(); 586 //PerformUpgrade();
Line 587... Line 587...
587 #pragma warning restore CS4014 587 #pragma warning restore CS4014
588   588  
589 // Set form properties. 589 // Set form properties.