1
mirror of https://github.com/cocktailpeanut/dalai synced 2024-11-23 04:16:53 +01:00

Different folder structure for win32 binary

This commit is contained in:
cocktailpeanut 2023-03-14 18:20:25 -07:00
parent 6eb0daa335
commit 4c96d43e6a

View File

@ -180,8 +180,8 @@ class Dalai {
if (platform === "win32") {
await this.python()
}
const root_python_paths = (platform === "win32" ? [path.resolve(this.home, "python", "bin", "python3")] : ["python3", "python"])
const root_pip_paths = (platform === "win32" ? [path.resolve(this.home, "python", "bin", "pip3")] : ["pip3", "pip"])
const root_python_paths = (platform === "win32" ? [path.resolve(this.home, "python", "python.exe")] : ["python3", "python"])
const root_pip_paths = (platform === "win32" ? [path.resolve(this.home, "python", "python -m pip")] : ["pip3", "pip"])
// prerequisites
if (platform === "linux") {