pinokiod 3.142.0 → 3.144.0

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.
@@ -82,6 +82,8 @@ create_default_packages:
82
82
  - python=3.10
83
83
  envs_dirs:
84
84
  - ${this.kernel.bin.path("miniconda/envs")}
85
+ plugins:
86
+ anaconda_telemetry: false
85
87
  pkgs_dirs:
86
88
  - ${this.kernel.bin.path("miniconda/pkgs")}
87
89
  remote_connect_timeout_secs: 20.0
package/kernel/util.js CHANGED
@@ -36,11 +36,16 @@ const pushListeners = new Set()
36
36
  let cachedMacNotifierPath
37
37
 
38
38
  function resolveAsarPath(p) {
39
- if (!p || p.includes('app.asar.unpacked')) {
39
+ if (!p || p.includes('app.asar.unpacked') || !p.includes('app.asar')) {
40
40
  return p
41
41
  }
42
- if (p.includes('app.asar')) {
43
- return p.replace('app.asar', 'app.asar.unpacked')
42
+ const candidate = p.replace('app.asar', 'app.asar.unpacked')
43
+ try {
44
+ if (fs.existsSync(candidate)) {
45
+ return candidate
46
+ }
47
+ } catch (_) {
48
+ // ignore fs errors and fall back to the original path
44
49
  }
45
50
  return p
46
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.142.0",
3
+ "version": "3.144.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {