diff --git a/src/extension.js b/src/extension.js index 0d81840..e98180b 100644 --- a/src/extension.js +++ b/src/extension.js @@ -261,6 +261,10 @@ async function activate(context) { globalState = context.globalState; storagePath = context.globalStorageUri.path; + if (process.platform == 'win32') { + storagePath = storagePath.slice(1); + } + // create storage path if not exists [storagePath, `${storagePath}/schedules`, `${storagePath}/audios`] .forEach(path => {