Skip to content

Commit

Permalink
2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AShujiao committed May 27, 2024
1 parent 87b30ff commit 71917a8
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 17 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,5 @@
2.在线社区集成进vscode左侧栏,发布图片、设置默认页
3.社区支持注册(需邮箱激活)
4.社区支持回复主题,上传图片、添加第三方图片(用于设置背景图)
5.社区支持发布个人主题(私人图库)(需要作者审核)
5.社区支持发布个人主题(私人图库)(需要作者审核)
6.修复开启自动更换的异常 (2.5.1/2024.05.27)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Add a picture you like to cover the entire vscode..
3.社区支持注册(需邮箱激活)
4.社区支持回复主题,上传图片、添加第三方图片(用于设置背景图)
5.社区支持发布个人主题(私人图库)(需要作者审核)
6.修复开启自动更换的异常 (2.5.1/2024.05.27)

---
### Thanks 感谢
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "background-cover",
"displayName": "background-cover",
"description": "Add a picture you like to cover the entire vscode..",
"version": "2.5.0",
"version": "2.5.1",
"publisher": "manasxx",
"engines": {
"vscode": "^1.38.0"
Expand Down Expand Up @@ -151,8 +151,8 @@
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.20.42",
"typescript": "^4.5.4",
"@types/vscode": "^1.30.0",
"@vscode/test-electron":"^2.3.2"
"@vscode/test-electron": "^2.3.2",
"typescript": "^4.5.4"
}
}
24 changes: 15 additions & 9 deletions src/PickLIst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class PickList {
return false;
}
PickList.itemList = new PickList(config);
PickList.itemList.imageFileType = 1;
PickList.itemList.autoUpdateBackground();
return PickList.itemList = undefined;
}
Expand All @@ -162,6 +163,7 @@ export class PickList {
return false;
}
PickList.itemList = new PickList(config);
PickList.itemList.imageFileType = 1;
PickList.itemList.autoUpdateBackground();
PickList.itemList = undefined;
return commands.executeCommand('workbench.action.reloadWindow');
Expand Down Expand Up @@ -671,15 +673,19 @@ export class PickList {
this.quickPick.ignoreFocusOut = true;
this.quickPick.show();
}else{
// 弹出提示框确认是否重启
window.showInformationMessage(
'"' + this.imgPath + '"' + ' | Reloading takes effect? / 重新加载生效?', 'YES', 'NO').then(
(value) => {
if (value === 'YES') {
commands.executeCommand(
'workbench.action.reloadWindow');
}
});

// 通过在线图库更新提示弹窗
if(this.imageFileType == 2){
// 弹出提示框确认是否重启
window.showInformationMessage(
'"' + this.imgPath + '"' + ' | Reloading takes effect? / 重新加载生效?', 'YES', 'NO').then(
(value) => {
if (value === 'YES') {
commands.executeCommand(
'workbench.action.reloadWindow');
}
});
}
}

}
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function activate(context: ExtensionContext) {
let title:string = ex ? ex.packageJSON['one_title'] : '';
if(openVersion != version && title != ""){
context.globalState.update('ext_version',version);
vsHelp.showWebview('🐷已更新到2.5.0:集成在线图库 --- 🐷\r🐶🐷🐔🦊立即体验!!🐯🐮🐹🐽❓');
vsHelp.showWebview('🐷已更新到2.5.1:集成在线图库 --- 🐷\r🐶🐷🐔🦊立即体验!!🐯🐮🐹🐽❓');
}
setContext(context);
}
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '2.5.0';
export default '2.5.1';

0 comments on commit 71917a8

Please sign in to comment.