iCharlesZ / vscode-live2d

一个简单的VSCode看板娘插件,会跟随你的鼠标动作变化,写代码累了可以逗逗她哦
https://marketplace.visualstudio.com/items?itemName=CharlesZ.vscode-live2d
108 stars 15 forks source link

The modified workbench.html broke some other extenstions in vscode 1.64.2 #27

Closed Fubuchi closed 2 years ago

Fubuchi commented 2 years ago

Vscode version:

Version: 1.64.2 (user setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042

Here is the content of the csp in workbench.html in vscode 1.64.2

<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data: blob: vscode-remote-resource:;
 media-src 'self'; frame-src 'self' vscode-webview:; object-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; 
connect-src 'self' https: ws:; font-src 'self' https: vscode-remote-resource:;">

the connect-src has a new item: ws:

The workbench.html replaced by vscode-live2d didn't has this part hence it broke some extenstions (Remote WSL in my case). Adding ws: fixed the issue

lemmonyjiang commented 2 years ago

除了remote-wsl,同样也会使remote-container无法使用。

iCharlesZ commented 2 years ago

Thanks for the feedback. The new version v1.8.1 has been released.