mirror of
https://github.com/koush/scrypted.git
synced 2026-04-29 03:10:25 +01:00
server: allow plugins to specify portable python build tags (#1571)
This commit is contained in:
@@ -152,7 +152,7 @@ export class PythonRuntimeWorker extends ChildProcessWorker {
|
||||
const portableInstallPath = path.join(pyPath, pyVersion);
|
||||
|
||||
const py = new PortablePython(pluginPythonVersion, portableInstallPath, portablePythonOptions);
|
||||
if (fs.existsSync(py.executablePath)) {
|
||||
if (fs.existsSync(py.executablePath) && !py.isTagOutdated()) {
|
||||
pythonPath = py.executablePath;
|
||||
finishSetup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user