From 9bdc97a965bc6650a873fa9dbd4575de159bb9bd Mon Sep 17 00:00:00 2001 From: Alex Simons Date: Mon, 14 Jun 2021 09:30:20 -0500 Subject: [PATCH] Allowing extension to run in restricted mode (#83) --- CHANGELOG.md | 4 ++++ .../bunnySenpai/mai/dark/mai.dark.vsCode.definition.json | 3 ++- .../zeroTwo/dark/zero.two.dark.vsCode.definition.json | 3 ++- .../quintuplets/miku/dark/miku.dark.vsCode.definition.json | 4 +++- package.json | 7 ++++++- src/NotificationService.ts | 2 +- 6 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 498dae7..63f495a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/buildSrc/assets/themes/bunnySenpai/mai/dark/mai.dark.vsCode.definition.json b/buildSrc/assets/themes/bunnySenpai/mai/dark/mai.dark.vsCode.definition.json index b6610d6..a459b27 100644 --- a/buildSrc/assets/themes/bunnySenpai/mai/dark/mai.dark.vsCode.definition.json +++ b/buildSrc/assets/themes/bunnySenpai/mai/dark/mai.dark.vsCode.definition.json @@ -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": {}, diff --git a/buildSrc/assets/themes/franxx/zeroTwo/dark/zero.two.dark.vsCode.definition.json b/buildSrc/assets/themes/franxx/zeroTwo/dark/zero.two.dark.vsCode.definition.json index 2ea54f3..62bc355 100644 --- a/buildSrc/assets/themes/franxx/zeroTwo/dark/zero.two.dark.vsCode.definition.json +++ b/buildSrc/assets/themes/franxx/zeroTwo/dark/zero.two.dark.vsCode.definition.json @@ -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": {}, diff --git a/buildSrc/assets/themes/quintuplets/miku/dark/miku.dark.vsCode.definition.json b/buildSrc/assets/themes/quintuplets/miku/dark/miku.dark.vsCode.definition.json index 5ca50f2..24c9a8b 100644 --- a/buildSrc/assets/themes/quintuplets/miku/dark/miku.dark.vsCode.definition.json +++ b/buildSrc/assets/themes/quintuplets/miku/dark/miku.dark.vsCode.definition.json @@ -3,7 +3,9 @@ "overrides": {}, "laf": { "extends": "dark-contrast,dark-dim", - "ui": {} + "ui": { + "statusBarItem.prominentBackground": "&selectionBackground&EE" + } }, "syntax": {}, "colors": {}, diff --git a/package.json b/package.json index a9ec44f..183a8cf 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -1052,6 +1052,11 @@ } ] }, + "capabilities": { + "untrustedWorkspaces": { + "supported": true + } + }, "scripts": { "package": "vsce package", "vscode:prepublish": "yarn run compile", diff --git a/src/NotificationService.ts b/src/NotificationService.ts index e4d830c..f45e0b9 100644 --- a/src/NotificationService.ts +++ b/src/NotificationService.ts @@ -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);