pinokiod 0.1.18 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -1284,7 +1284,7 @@ class Server {
1284
1284
  if (this.kernel.platform === "win32") {
1285
1285
  // robocoyp returns 1 when successful
1286
1286
  //mv_cmd = `start /wait (robocopy ${existing_home} ${new_home} /E /MOVE /NFL /NDL) ^& IF %ERRORLEVEL% LEQ 1 exit 0`
1287
- mv_cmd = `start /wait robocopy ${existing_home} ${new_home} /E /MOVE /NFL /NDL)`
1287
+ mv_cmd = `start /wait robocopy ${existing_home} ${new_home} /E /MOVE /NFL /NDL`
1288
1288
  } else {
1289
1289
  mv_cmd = `mv ${existing_home} ${new_home}`
1290
1290
  }
@@ -232,7 +232,7 @@ header .home {
232
232
  <button id='save' class='btn disabled'>Save</button>
233
233
  </form>
234
234
  <div class='loading hidden'>
235
- <i class="fa-solid fa-circle-notch fa-spin"></i> Stand by...
235
+ <i class="fa-solid fa-circle-notch fa-spin"></i> Stand by. Do not close this window..
236
236
  </div>
237
237
  </div>
238
238
  </div>
@@ -262,8 +262,6 @@ document.addEventListener("DOMContentLoaded", async () => {
262
262
  }).then((res) => {
263
263
  return res.json()
264
264
  })
265
- document.querySelector(".loading").classList.add("hidden")
266
- return
267
265
  if (r.success) {
268
266
  //alert("Successfully updated the pinokio home to " + val)
269
267
  fetch("/restart", {