Skip to content

Commit 04a1893

Browse files
committed
release v2.0.7 🎉
1 parent e9ace67 commit 04a1893

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## v2.0.6 (2025/11/19)
1+
## v2.0.7 (2025/11/19)
22

33
- Change automatic update to manual by @shalldie in [#569](https://github.com/shalldie/vscode-background/pull/569)
44
- 自动更新替换为手动 by @shalldie in [#569](https://github.com/shalldie/vscode-background/pull/569)
55

6-
**Full Changelog**: https://github.com/shalldie/vscode-background/compare/v2.0.5...v2.0.6
6+
**Full Changelog**: https://github.com/shalldie/vscode-background/compare/v2.0.5...v2.0.7
77

88
## v2.0.5 (2025/11/16)
99

l10n/bundle.l10n.ja.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"Reload vscode": "vscode を再読み込み",
55
"Background@{version} is ready! Apply to take effect.": "Background@{version} の準備ができました!「適用」をクリックして反映してください。",
66
"More": "詳細",
7-
"Background has been disabled! Please reload.": "Backgroundは無効になっています!再起動してください",
7+
"Background will be disabled.": "Backgroundが無効になります",
88
"Configuration has been changed, click to apply.": "構成が変更されたので、更新をクリックします。",
9-
"Apply and Reload": "適用して再読み込み"
9+
"Apply and Reload": "適用して再読み込み",
10+
"Disable and Reload": "無効にして再読み込み"
1011
}

l10n/bundle.l10n.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"Reload vscode": "Reload vscode",
55
"Background@{version} is ready! Apply to take effect.": "Background@{version} is ready! Apply to take effect.",
66
"More": "More",
7-
"Background has been disabled! Please reload.": "Background has been disabled! Please reload.",
7+
"Background will be disabled.": "Background will be disabled.",
88
"Configuration has been changed, click to apply.": "Configuration has been changed, click to apply.",
9-
"Apply and Reload": "Apply and Reload"
9+
"Apply and Reload": "Apply and Reload",
10+
"Disable and Reload": "Disable and Reload"
1011
}

l10n/bundle.l10n.zh-cn.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"Reload vscode": "重载 vscode",
55
"Background@{version} is ready! Apply to take effect.": "Background@{version} 已就绪!点击应用生效。",
66
"More": "更多",
7-
"Background has been disabled! Please reload.": "Background 已经禁用! 请重载",
7+
"Background will be disabled.": "Background 会被禁用",
88
"Configuration has been changed, click to apply.": "配置已改变,点击应用。",
9-
"Apply and Reload": "应用并重载"
9+
"Apply and Reload": "应用并重载",
10+
"Disable and Reload": "禁用并重载"
1011
}

src/background/Background.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,12 @@ export class Background implements Disposable {
138138
// 禁用
139139
if (!enabled) {
140140
if (hasInstalled) {
141-
await this.uninstall();
141+
// await this.uninstall();
142142

143143
vsHelp.reload({
144-
message: l10n.t('Background has been disabled! Please reload.')
144+
message: l10n.t('Background will be disabled.'),
145+
btnReload: l10n.t('Disable and Reload'),
146+
beforeReload: () => this.uninstall()
145147
});
146148
}
147149
return;

0 commit comments

Comments
 (0)