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:
parent
6eb0daa335
commit
4c96d43e6a
4
index.js
4
index.js
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user