diff --git a/apps/pwabuilder-vscode/src/services/new-pwa-starter.ts b/apps/pwabuilder-vscode/src/services/new-pwa-starter.ts index 48a163190..930c1681a 100644 --- a/apps/pwabuilder-vscode/src/services/new-pwa-starter.ts +++ b/apps/pwabuilder-vscode/src/services/new-pwa-starter.ts @@ -141,10 +141,10 @@ export function isNpmInstalled(): boolean { async function fetchFromGithub(): Promise { const streamPipeline = promisify(pipeline); - const fetchedZipPath: string = `${repositoryParentURI?.fsPath}\\fetchedTemplate.zip`; - const decompressedZipPath: string = `${repositoryParentURI?.fsPath}\\decompressedTemplate`; - const decompressedRepoPath: string = `${decompressedZipPath}\\pwa-starter-main`; - const finalLocationPath: string = `${repositoryParentURI?.fsPath}\\${repositoryName}`; + const fetchedZipPath: string = `${repositoryParentURI?.fsPath}/fetchedTemplate.zip`; + const decompressedZipPath: string = `${repositoryParentURI?.fsPath}/decompressedTemplate`; + const decompressedRepoPath: string = `${decompressedZipPath}/pwa-starter-main`; + const finalLocationPath: string = `${repositoryParentURI?.fsPath}/${repositoryName}`; const res = await fetch(starterRepositoryURI); if(res.body) { @@ -164,4 +164,4 @@ function inputCancelledWarning(): void { export function noNpmInstalledWarning(): void { vscode.window.showWarningMessage(noNpmWarning); -} \ No newline at end of file +}