Skip to content

Commit 621eced

Browse files
committed
one click restart
1 parent ed83304 commit 621eced

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ dist
4343
.github/prompts/*.local.prompt.md
4444
.agents/skills/.local/
4545
.github/skills/.local/
46+
src/vs/workbench/contrib/update/browser/update.test.contribution.ts

src/vs/workbench/contrib/update/browser/update.contribution.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ workbench.registerWorkbenchContribution(DefaultAccountUpdateContribution, Lifecy
3434
workbench.registerWorkbenchContribution(UpdateStatusBarContribution, LifecyclePhase.Restored);
3535
workbench.registerWorkbenchContribution(UpdateTitleBarContribution, LifecyclePhase.Restored);
3636

37+
// Dev-only: test commands for simulating update states (gitignored)
38+
import(/* @vite-ignore */ `${'./update.test.contribution.js'}`).catch(() => { });
39+
3740
// Release notes
3841

3942
export class ShowReleaseNotesAction extends Action2 {

src/vs/workbench/contrib/update/browser/updateTitleBarEntry.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,6 @@ export class UpdateTitleBarEntry extends BaseActionViewItem {
334334
case StateType.Ready: {
335335
label.textContent = localize('updateIndicator.update', "Update");
336336
this.content.classList.add('prominent');
337-
const hint = dom.append(this.content, dom.$('.indicator-hint'));
338-
hint.textContent = localize('updateIndicator.readyHint', "Installed. Restart?");
339-
this.flashHintOnce();
340337
break;
341338
}
342339

0 commit comments

Comments
 (0)