Skip to content

Commit 1adb7ce

Browse files
authored
Add option to disable automatic update check at startup (#1819)
1 parent d7edd92 commit 1adb7ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

QuickLook/App.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ private bool EnsureFolderWritable(string folder)
259259

260260
private void CheckUpdate()
261261
{
262+
if (SettingHelper.Get("DisableAutoUpdateCheck", false))
263+
return;
264+
262265
if (DateTime.Now.Ticks - SettingHelper.Get<long>("LastUpdateTicks") < TimeSpan.FromDays(30).Ticks)
263266
return;
264267

0 commit comments

Comments
 (0)