Skip to content

Commit

Permalink
Allowing extension to run in restricted mode (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled authored Jun 14, 2021
1 parent 2e0dc42 commit 9bdc97a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

# 13.0.1 [Just trust me, bro]

- Changed extension to be enabled in [restricted mode](https://code.visualstudio.com/docs/editor/workspace-trust#_restricted-mode).

# 13.0.0 [Hanekawa, Shima Rin, Nagatoro, Yumeko, & Yuno]

## 5 New Themes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"editor.selectionBackground": "&selectionBackground&99",
"selection.background": "&selectionBackground&aa",
"textLink.foreground": "&editorAccentColor&AA",
"textLink.activeForeground": "&editorAccentColor&"
"textLink.activeForeground": "&editorAccentColor&",
"statusBarItem.prominentBackground": "&selectionBackground&DD"
}
},
"syntax": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"editor.selectionBackground": "&selectionBackground&66",
"selection.background": "&selectionBackground&aa",
"textLink.foreground": "&editorAccentColor&AA",
"textLink.activeForeground": "&editorAccentColor&"
"textLink.activeForeground": "&editorAccentColor&",
"statusBarItem.prominentBackground": "&selectionBackground&DD"
}
},
"syntax": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"overrides": {},
"laf": {
"extends": "dark-contrast,dark-dim",
"ui": {}
"ui": {
"statusBarItem.prominentBackground": "&selectionBackground&EE"
}
},
"syntax": {},
"colors": {},
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "The Doki Theme",
"description": "A bunch of themes with cute anime girls. Code with your waifu!",
"publisher": "unthrottled",
"version": "13.0.0",
"version": "13.0.1",
"license": "MIT",
"icon": "Doki-Theme.png",
"galleryBanner": {
Expand Down Expand Up @@ -1052,6 +1052,11 @@
}
]
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"scripts": {
"package": "vsce package",
"vscode:prepublish": "yarn run compile",
Expand Down
2 changes: 1 addition & 1 deletion src/NotificationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { VSCodeGlobals } from "./VSCodeGlobals";
import { attemptToGreetUser } from "./WelcomeService";

const SAVED_VERSION = "doki.theme.version";
const DOKI_THEME_VERSION = "v13.0.0";
const DOKI_THEME_VERSION = "v13.0.1";

export function attemptToNotifyUpdates(context: vscode.ExtensionContext) {
const savedVersion = VSCodeGlobals.globalState.get(SAVED_VERSION);
Expand Down

0 comments on commit 9bdc97a

Please sign in to comment.