pinokiod 1.3.87 → 1.3.89

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.
@@ -130,7 +130,7 @@ class FS {
130
130
 
131
131
 
132
132
  // start with the proces.env => merge pinokio global ENVIRONMENT => merge app ENVIRONMENT
133
- let current_env = await Environment.get2(req.parent.path)
133
+ let current_env = await Environment.get2(req.parent.path, kernel)
134
134
 
135
135
  // if PINOKIO_DRIVE environment variable is specified, use this custom value for the drive path instead of ~/pinokio/drive
136
136
  let env_drive_path = current_env.PINOKIO_DRIVE
@@ -63,7 +63,7 @@ class Local {
63
63
  }
64
64
  */
65
65
 
66
- current_env = await Environment.get2(req.parent.path)
66
+ current_env = await Environment.get2(req.parent.path, kernel)
67
67
 
68
68
  // if the key at current_env.PINOKIO_SHARE_VAR (by default it's 'url') is the variable being set, trigger the share logic
69
69
  if (current_env.PINOKIO_SHARE_VAR && current_env.PINOKIO_SHARE_VAR in req.params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.3.87",
3
+ "version": "1.3.89",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -642,7 +642,7 @@ body.columns .containers {
642
642
  }
643
643
  */
644
644
  .xterm {
645
- padding: 0 20px !important;
645
+ padding: 10px 20px !important;
646
646
  /*
647
647
  padding: 0 20px !important;
648
648
  */
@@ -385,9 +385,11 @@ body.dark nav .btn2 {
385
385
  border-right: 1px solid rgba(255,255,255,0.04);
386
386
  }
387
387
  nav .btn2 {
388
- padding: 10px;
388
+ padding: 15px;
389
389
  font-size: 12px;
390
+ /*
390
391
  width: 70px;
392
+ */
391
393
  box-sizing: border-box;
392
394
  border-right: 1px solid rgba(0,0,0,0.04);
393
395
  border-radius: 0;
@@ -619,9 +621,9 @@ body.dark .loader-container {
619
621
  <% } else { %>
620
622
  <a class='btn2' id='open-browser' target="_blank" href=""><i class="fa-solid fa-square-arrow-up-right"></i> Popout</a>
621
623
  <% } %>
622
- <input type='url' id='location' readonly>
623
624
  <button class='btn2' id='clone-tab'><i class='fa-regular fa-copy'></i> Clone</button>
624
625
  <div id='new-tab' class='btn2'><i class="fa-solid fa-plus"></i> Tab</div>
626
+ <input type='url' id='location' readonly>
625
627
  </div>
626
628
  </nav>
627
629
  <main class='browserview'>