Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnafnafee committed Nov 12, 2021
1 parent a641c0d commit 648f3d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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.

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": "postscript-preview",
"displayName": "PostScript Preview",
"description": "PostScript Preview is an extension that helps to preview EPS and PS files in Visual Studio Code.",
"version": "0.4.1",
"version": "0.4.2",
"icon": "images/logo.png",
"publisher": "ahnafnafee",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function isMajorUpdate(previousVersion: string, currentVersion: string) {
var currentVerArr = currentVersion.split(".").map(Number);

// For pdftocairo bug fix
if (currentVerArr[1] > previousVerArr[1]) {
if (currentVerArr[1] > previousVerArr[1] || currentVerArr[2] > previousVerArr[2]) {
return true;
} else {
return false;
Expand Down Expand Up @@ -140,7 +140,7 @@ async function showWhatsNew(context: ExtensionContext) {
if (result === actions[0]) {
await env.openExternal(
Uri.parse(
"https://github.com/ahnafnafee/PostScript-Preview#requirements"
"https://github.com/ahnafnafee/PostScript-Preview#windows"
)
);
}
Expand Down

0 comments on commit 648f3d8

Please sign in to comment.