pinokiod 3.2.236 → 3.2.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/index.js +1 -1
- package/package.json +1 -1
package/kernel/index.js
CHANGED
|
@@ -495,7 +495,7 @@ class Kernel {
|
|
|
495
495
|
let env_path = path.resolve(this.api.userdir, api.path)
|
|
496
496
|
let e = await Environment.get(env_path)
|
|
497
497
|
console.log(e)
|
|
498
|
-
if (e.PINOKIO_SCRIPT_AUTOLAUNCH &&
|
|
498
|
+
if (e.PINOKIO_SCRIPT_AUTOLAUNCH && e.PINOKIO_SCRIPT_AUTOLAUNCH.trim().length > 0) {
|
|
499
499
|
let autolaunch_path = path.resolve(env_path, e.PINOKIO_SCRIPT_AUTOLAUNCH)
|
|
500
500
|
let exists = await this.exists(autolaunch_path)
|
|
501
501
|
console.log("ATTEMPTING AUTOLAUNCH", autolaunch_path)
|