提交 a915a7bf 编写于 作者: J Joao Moreno

bring back windows background updates

上级 d5902eae
...@@ -1027,7 +1027,7 @@ begin ...@@ -1027,7 +1027,7 @@ begin
Sleep(1000); Sleep(1000);
end; end;
Exec(ExpandConstant('{app}\inno_updater.exe'), ExpandConstant('_ "{app}\unins000.dat" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode); Exec(ExpandConstant('{app}\inno_updater.exe'), ExpandConstant('"{app}\{#ExeBasename}.exe" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode);
end; end;
end; end;
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
import * as nls from 'vs/nls'; import * as nls from 'vs/nls';
import 'vs/css!./media/update.contribution'; import 'vs/css!./media/update.contribution';
import product from 'vs/platform/node/product';
import { Registry } from 'vs/platform/registry/common/platform'; import { Registry } from 'vs/platform/registry/common/platform';
import { IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions } from 'vs/workbench/common/contributions'; import { IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions } from 'vs/workbench/common/contributions';
import { ReleaseNotesEditor } from 'vs/workbench/parts/update/electron-browser/releaseNotesEditor'; import { ReleaseNotesEditor } from 'vs/workbench/parts/update/electron-browser/releaseNotesEditor';
...@@ -60,7 +61,7 @@ configurationRegistry.registerConfiguration({ ...@@ -60,7 +61,7 @@ configurationRegistry.registerConfiguration({
}, },
'update.enableWindowsBackgroundUpdates': { 'update.enableWindowsBackgroundUpdates': {
'type': 'boolean', 'type': 'boolean',
'default': false, 'default': product.quality === 'insider',
'description': nls.localize('enableWindowsBackgroundUpdates', "Enables Windows background updates.") 'description': nls.localize('enableWindowsBackgroundUpdates', "Enables Windows background updates.")
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册