Skip to content

Commit 42fbf87

Browse files
committed
Requirements filename correction for installBundledPythonExecutable()
1 parent 6f57a72 commit 42fbf87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/utils/pythonEnv.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ export async function installBundledPythonExecutable(mainWindow) {
429429
console.log("process.resourcesPath: ", process.resourcesPath)
430430
// Install the required python packages
431431
if (process.env.NODE_ENV === "production") {
432-
installPythonPackage(mainWindow, pythonExecutablePath, null, path.join(process.resourcesPath, "pythonEnv", "requirements.txt"))
432+
installPythonPackage(mainWindow, pythonExecutablePath, null, path.join(process.resourcesPath, "pythonEnv", "merged_requirements.txt"))
433433
} else {
434-
installPythonPackage(mainWindow, pythonExecutablePath, null, path.join(process.cwd(), "pythonEnv", "requirements.txt"))
434+
installPythonPackage(mainWindow, pythonExecutablePath, null, path.join(process.cwd(), "pythonEnv", "merged_requirements.txt"))
435435
}
436436
}
437437
}

0 commit comments

Comments
 (0)