pinokiod 1.1.9 → 1.1.11

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.
@@ -74,8 +74,8 @@ class Conda {
74
74
  (this.kernel.platform === 'win32' ? 'conda_hook' : `eval "$(conda shell.bash hook)"`),
75
75
  (this.platform === 'win32' ? `activate base` : `conda activate base`),
76
76
  "conda config --add create_default_packages python=3.10",
77
- "conda install -y pip brotli brotlipy",
78
- "conda update -y --all",
77
+ "conda install -y -c conda-forge pip brotli brotlipy",
78
+ // "conda update -y --all",
79
79
  ]
80
80
  }, (stream) => {
81
81
  ondata(stream)
package/kernel/shell.js CHANGED
@@ -512,6 +512,12 @@ class Shell {
512
512
  }
513
513
  }
514
514
  }
515
+ if (params.env) {
516
+ params.env.CONDA_PIP_INTEROP_ENABLED = "1"
517
+ params.env.CONDA_AUTO_ACTIVATE_BASE = "false"
518
+ } else {
519
+ params.env = { CONDA_PIP_INTEROP_ENABLED: "1", CONDA_AUTO_ACTIVATE_BASE: "false" }
520
+ }
515
521
  } else if (params.venv) {
516
522
  let env_path = path.resolve(params.path, params.venv)
517
523
  let activate_path = (this.platform === 'win32' ? path.resolve(env_path, "Scripts", "activate") : path.resolve(env_path, "bin", "activate"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -287,7 +287,7 @@ class Server {
287
287
  name: "zip",
288
288
  }, {
289
289
  type: "conda",
290
- name: "nodejs",
290
+ name: ["nodejs", "ffmpeg"],
291
291
  args: "-c conda-forge"
292
292
  }, {
293
293
  name: "py"
@@ -528,7 +528,7 @@ class Server {
528
528
  name: "zip",
529
529
  }, {
530
530
  type: "conda",
531
- name: "nodejs",
531
+ name: ["nodejs", "ffmpeg"],
532
532
  args: "-c conda-forge"
533
533
  }, {
534
534
  name: "py"
@@ -994,7 +994,6 @@ class Server {
994
994
  // console.log("*******", { filepath, pathComponents, U })
995
995
 
996
996
  let pinokio_proxy = this.kernel.api.proxies["/"]
997
- console.log("pinokio_proxy", pinokio_proxy)
998
997
 
999
998
  res.render("index", {
1000
999
  proxy: pinokio_proxy[0],
@@ -903,16 +903,18 @@ body.dark .line.align-top h3 .col .uri {
903
903
  color: var(--dark-fade);
904
904
  }
905
905
  .line.align-top h3 .col .uri i {
906
- margin-right: 5px;
906
+ margin-right: 3px;
907
907
  }
908
908
  .line.align-top h3 .col .uri a {
909
909
  color: #54aeff;
910
910
  text-decoration: none;
911
911
  }
912
912
  .line.align-top h3 .col .uri {
913
- padding: 5px 0;
913
+ opacity: 0.9;
914
+ padding-bottom: 2px;
914
915
  color: var(--light-fade);
915
- font-size: 14px;
916
+ font-size: 12px;
917
+ font-family: verdana;
916
918
  }
917
919
  body.dark .line.align-top h3 .col .title a {
918
920
  color: var(--dark-link-color);
@@ -196,6 +196,7 @@ header .runner {
196
196
  </div>
197
197
  <% } %>
198
198
  <div class='col'>
199
+ <div class='uri'><i class="fa-regular fa-folder"></i><%=item.url%></div>
199
200
  <div class='title'><%=item.name%></div>
200
201
  <!--<div class='title'><a href="<%=item.browser_url%>"><%=item.name%> <i class="fa-solid fa-angles-right"></i></a></div>-->
201
202
  <div class='description'><%=item.description%></div>
@@ -245,6 +246,7 @@ header .runner {
245
246
  </div>
246
247
  <% } %>
247
248
  <div class='col'>
249
+ <div class='uri'><i class="fa-regular fa-folder"></i><%=item.url%></div>
248
250
  <div class='title'><%=item.name%></div>
249
251
  <div class='description'><%=item.description%></div>
250
252
  </div>