Skip to content

Commit cb67ee2

Browse files
committed
fix: fix workbench file path
1 parent d1596bd commit cb67ee2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/extension.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ if (!fs.existsSync(htmlFile)) {
3030
if (!fs.existsSync(htmlFile)) {
3131
htmlFile = path.join(base, 'electron-browser', 'workbench', 'workbench.esm.html')
3232
}
33+
if (!fs.existsSync(htmlFile)) {
34+
htmlFile = path.join(base, 'electron-browser', 'workbench', 'workbench.html')
35+
}
3336

3437
const enableCommonMessage = `VSCode must reload for this change to take effect. Code may display a warning that it is corrupted, this is normal. You can dismiss this message by choosing 'Don't show this again' on the notification.`
3538

0 commit comments

Comments
 (0)