diff options
author | sr55 <[email protected]> | 2018-04-23 21:21:20 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-04-23 21:52:52 +0100 |
commit | 128041edb0a8183bb4b27d906e31df4e3dfc32f4 (patch) | |
tree | cfabbf8c5f27b12c29fd485fdcf66bd6eb3346db /win/CS/HandBrakeWPF/Services | |
parent | e845711c6fce01a393bde81541462903a63b749a (diff) |
WinGui: Portable Mode: New option to disable startup update check.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/UpdateService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/UpdateService.cs b/win/CS/HandBrakeWPF/Services/UpdateService.cs index b5213f05d..c0a1bcab6 100644 --- a/win/CS/HandBrakeWPF/Services/UpdateService.cs +++ b/win/CS/HandBrakeWPF/Services/UpdateService.cs @@ -68,6 +68,11 @@ namespace HandBrakeWPF.Services return; // Disable Update checker if we are in a UWP container.
}
+ if (Portable.IsPortable() && !Portable.IsUpdateCheckEnabled())
+ {
+ return; // Disable Update Check for Portable Mode.
+ }
+
// Make sure it's running on the calling thread
if (this.userSettingService.GetUserSetting<bool>(UserSettingConstants.UpdateStatus))
{
|