Skip to content

Commit

Permalink
Merge pull request #146 from AShujiao/dev_2.5.5
Browse files Browse the repository at this point in the history
Dev 2.5.5
  • Loading branch information
AShujiao authored Oct 5, 2024
2 parents 5520805 + 987e43f commit dc45548
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,8 @@

#### ver 2.5.4 (2024/08/22)

1.修复Linux系统本地图片无法使用的问题
1.修复Linux系统本地图片无法使用的问题

#### ver 2.5.5 (2024/10/05)

1.修复vsc1.94.0版本导致的异常
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ Add a picture you like to cover the entire vscode..
## 最近更新日志
[完整日志](https://github.com/vscode-extension/vscode-background-cover/blob/master/CHANGELOG.md)

#### ver 2.5.4 (2024/08/22)
#### ver 2.5.5 (2024/10/05)

1.修复Linux系统本地图片无法使用的问题
1.修复vsc1.94.0版本导致的异常

---
### Thanks 感谢
Expand Down
2 changes: 1 addition & 1 deletion 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.4",
"version": "2.5.5",
"publisher": "manasxx",
"engines": {
"vscode": "^1.38.0"
Expand Down
3 changes: 2 additions & 1 deletion src/FileDom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
window,
InputBoxOptions,
commands,
env,
} from 'vscode';
import { exec } from 'child_process';
import vsHelp from './vsHelp';
Expand All @@ -15,7 +16,7 @@ const cssName: string = version >= "1.38" ? 'workbench.desktop.main.css' : 'work
export class FileDom {

// 文件路径
private filePath = path.join(path.dirname((require.main as NodeModule).filename), 'vs', 'workbench', cssName);
private filePath = path.join(env.appRoot, "out", "vs", "workbench", cssName);;//path.join(path.dirname((require.main as NodeModule).filename), 'vs', 'workbench', cssName);
private extName = "backgroundCover";
private imagePath: string = '';
private imageOpacity: number = 1;
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.4';
export default '2.5.5';

0 comments on commit dc45548

Please sign in to comment.