diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/package-lock.json | 4 | ||||
-rw-r--r-- | extension/package.json | 2 | ||||
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/extension/package-lock.json b/extension/package-lock.json index 0359ad49..61222648 100644 --- a/extension/package-lock.json +++ b/extension/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "0.0.71", + "version": "0.0.72", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "continue", - "version": "0.0.71", + "version": "0.0.72", "license": "Apache-2.0", "dependencies": { "@electron/rebuild": "^3.2.10", diff --git a/extension/package.json b/extension/package.json index 96ffbd98..78b09d35 100644 --- a/extension/package.json +++ b/extension/package.json @@ -14,7 +14,7 @@ "displayName": "Continue", "pricing": "Free", "description": "Accelerating software development with language models", - "version": "0.0.71", + "version": "0.0.72", "publisher": "Continue", "engines": { "vscode": "^1.74.0" diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index c99ed1dd..4e6e5786 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -118,7 +118,7 @@ async function setupPythonEnv() { const createEnvCommand = [ `cd "${path.join(getExtensionUri().fsPath, "scripts")}"`, `${pythonCmd} -m venv env`, - ].join("; "); + ].join(" && "); // Repeat until it is successfully created (sometimes it fails to generate the bin, need to try again) while (true) { @@ -154,7 +154,7 @@ async function setupPythonEnv() { pipUpgradeCmd, `${pipCmd} install -r requirements.txt`, touchCmd, - ].join(" ; "); + ].join(" && "); const [, stderr] = await runCommand(installRequirementsCommand); if (stderr) { throw new Error(stderr); @@ -292,7 +292,7 @@ export async function downloadPython3() { throw new Error("python3 not found"); } else if (os === "linux") { command = - "sudo apt update ; upgrade ; sudo apt install python3 python3-pip"; + "sudo apt update && upgrade && sudo apt install python3 python3-pip"; } else if (os === "win32") { command = "wget -O python_installer.exe https://www.python.org/ftp/python/3.11.3/python-3.11.3-amd64.exe ; python_installer.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0"; |