Skip to content

Commit

Permalink
Fix extension activation (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute authored Jan 24, 2024
1 parent 11c5f33 commit 24f7e15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 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 @@ -8,7 +8,7 @@
"theme": "dark"
},
"publisher": "Katsute",
"version": "2.9.3",
"version": "2.9.4",
"private": true,
"engines": {
"vscode": "^1.85.0"
Expand Down
6 changes: 0 additions & 6 deletions src/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ import { show as timeMenu } from "./time";

const issueUrl: string = `https://github.com/KatsuteDev/Background/issues/new?template=bug.yml&os=${encodeURI(`${platform()} ${release()}`)}&vs=${encodeURI(version)}&version=${encodeURI(pkg.version)}`;

const sponsor: Uri = Uri.parse(pkg.sponsor.url);

// main menu

export const show: () => void = () =>
Expand Down Expand Up @@ -80,10 +78,6 @@ export const show: () => void = () =>
quickPickItem({
label: `$(github) Report an issue on GitHub`,
handle: () => env.openExternal(Uri.parse(`${issueUrl}&settings=${encodeURI("```json\n" + JSON.stringify(configuration(), null, 4) + "\n```")}`))
}),
quickPickItem({
label: "$(heart) Sponsor this extension",
handle: () => env.openExternal(sponsor)
})
], {
title: "Background",
Expand Down

0 comments on commit 24f7e15

Please sign in to comment.