pinokiod 3.2.235 → 3.2.236

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.
Files changed (2) hide show
  1. package/kernel/index.js +1 -1
  2. 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().toLowerCase() == "true" || e.PINOKIO_SCRIPT_AUTOLAUNCH.trim() === "1")) {
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.235",
3
+ "version": "3.2.236",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {