Skip to content

Commit 9efe840

Browse files
author
RandomEngy
committed
Updating autoupdate XML. Fixed update confirmation screen not showing up after update and having app restart instead.
1 parent b8c4974 commit 9efe840

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

Installer/latest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<UpdateInfo>
22
<Release>
3-
<Latest>0.1.0</Latest>
4-
<DownloadLocation>http://engy.us/VidCoder/VidCoder-0.1.0.exe</DownloadLocation>
5-
<ChangelogLocation>http://engy.us/</ChangelogLocation>
3+
<Latest>0.2.0</Latest>
4+
<DownloadLocation>http://engy.us/VidCoder/VidCoder-0.2.0.exe</DownloadLocation>
5+
<ChangelogLocation>http://vidcoder.codeplex.com/releases/view/43773</ChangelogLocation>
66
</Release>
77
</UpdateInfo>

VidCoder/Services/Interfaces/IUpdateService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public interface IUpdateService
1111
event EventHandler<EventArgs> UpdateDownloadCompleted;
1212

1313
void CheckUpdates();
14+
void HandlePendingUpdate();
1415
void PromptToApplyUpdate();
1516
void HandleUpdatedSettings(bool updatesEnabled);
1617

VidCoder/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public MainViewModel()
102102

103103
this.logger = new Logger();
104104

105+
this.updateService.HandlePendingUpdate();
105106
this.updateService = ServiceFactory.UpdateService;
106107
this.updateService.CheckUpdates();
107108

0 commit comments

Comments
 (0)