mirror of
https://github.com/koush/scrypted.git
synced 2026-05-01 04:00:29 +01:00
9 lines
315 B
JavaScript
9 lines
315 B
JavaScript
#!/usr/bin/env node
|
|
// install portable python if the SCRYPTED_PYTHON_PATH variable is unset.
|
|
// this variable will be set for docker and lxc environments.
|
|
if (!process.env.SCRYPTED_PYTHON_PATH) {
|
|
require('./packaged-python').installScryptedServerRequirements();
|
|
}
|
|
|
|
require('./electron-get').installElectron();
|