pinokiod 0.1.22 → 0.1.24

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.22",
3
+ "version": "0.1.24",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -1285,7 +1285,7 @@ class Server {
1285
1285
  const path_to_delete = path.resolve(existing_home, "bin")
1286
1286
  let del_cmd
1287
1287
  if (this.kernel.platform === "win32") {
1288
- del_cmd = `start /wait rd /s /q ${path_to_delete}`
1288
+ del_cmd = `rd /s /q ${path_to_delete}`
1289
1289
  } else {
1290
1290
  del_cmd = `rm -rf ${path_to_delete}`
1291
1291
  }
@@ -1299,7 +1299,8 @@ class Server {
1299
1299
  if (this.kernel.platform === "win32") {
1300
1300
  // robocoyp returns 1 when successful
1301
1301
  //mv_cmd = `start /wait (robocopy ${existing_home} ${new_home} /E /MOVE /NFL /NDL) ^& IF %ERRORLEVEL% LEQ 1 exit 0`
1302
- mv_cmd = `start /wait robocopy ${existing_home} ${new_home} /E /MOVE /NFL /NDL`
1302
+ //mv_cmd = `start /wait robocopy ${existing_home} ${new_home} /E /MOVE /NFL /NDL`
1303
+ mv_cmd = `start /wait robocopy ${existing_home} ${new_home} /E /MOVE /NFL`
1303
1304
  } else {
1304
1305
  mv_cmd = `mv ${existing_home} ${new_home}`
1305
1306
  }
@@ -19,6 +19,9 @@ aside {
19
19
  -webkit-app-region: no-drag !important;
20
20
  cursor: auto;
21
21
  }
22
+ header {
23
+ padding: 32px 10px 0 !important;
24
+ }
22
25
  /*
23
26
  header {
24
27
  cursor: grab;
@@ -262,7 +262,6 @@ document.addEventListener("DOMContentLoaded", async () => {
262
262
  }).then((res) => {
263
263
  return res.json()
264
264
  })
265
- return
266
265
  if (r.success) {
267
266
  //alert("Successfully updated the pinokio home to " + val)
268
267
  fetch("/restart", {