pinokiod 0.1.49 → 0.1.51
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.
|
|
3
|
+
"version": "0.1.51",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"multer": "^1.4.5-lts.1",
|
|
41
41
|
"node-downloader-helper": "^2.1.9",
|
|
42
42
|
"node-pty-prebuilt-multiarch-cp": "^0.10.1-pre.48",
|
|
43
|
-
"pdrive": "^0.0.
|
|
43
|
+
"pdrive": "^0.0.9",
|
|
44
44
|
"portfinder": "^1.0.32",
|
|
45
45
|
"rimraf": "^5.0.0",
|
|
46
46
|
"sanitize-filename": "^1.6.3",
|
package/server/index.js
CHANGED
package/server/views/browser.ejs
CHANGED
package/server/views/editor.ejs
CHANGED
|
@@ -74,7 +74,7 @@ td.key {
|
|
|
74
74
|
background: var(--dark-bg);
|
|
75
75
|
}
|
|
76
76
|
header .runner {
|
|
77
|
-
padding:
|
|
77
|
+
padding: 3px 0;
|
|
78
78
|
}
|
|
79
79
|
</style>
|
|
80
80
|
<script>
|
|
@@ -716,7 +716,7 @@ const reloadMemory = async () => {
|
|
|
716
716
|
-->
|
|
717
717
|
</h1>
|
|
718
718
|
<a class='gitremote' data-filepath="<%=filepath%>"><%=filepath%></a>
|
|
719
|
-
<% if (
|
|
719
|
+
<% if (false) { %>
|
|
720
720
|
<div class='pinokiourl'><i class="fa-solid fa-link"></i><%=pinokioPath%></div>
|
|
721
721
|
<% } %>
|
|
722
722
|
<% if (!install_required) { %>
|
|
@@ -664,7 +664,7 @@ document.addEventListener("DOMContentLoaded", async () => {
|
|
|
664
664
|
*/
|
|
665
665
|
})
|
|
666
666
|
const reloadMemory = async () => {
|
|
667
|
-
let url = "/pinokio/memory?filepath
|
|
667
|
+
let url = "/pinokio/memory?filepath=<%=encodedFilePath%>"
|
|
668
668
|
console.log("Url", url)
|
|
669
669
|
let memory = await fetch(url).then((res) => {
|
|
670
670
|
return res.json()
|
package/server/views/index.ejs
CHANGED
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
}
|
|
52
|
+
header .runner {
|
|
53
|
+
padding: 3px 0;
|
|
54
|
+
}
|
|
52
55
|
</style>
|
|
53
56
|
<script src="/hotkeys.min.js"></script>
|
|
54
57
|
<script src="/sweetalert2.js"></script>
|
|
@@ -108,13 +111,11 @@
|
|
|
108
111
|
<a class='nav-button path' href="/?mode=settings"><i class="fa-solid fa-gear"></i></a>
|
|
109
112
|
-->
|
|
110
113
|
</h1>
|
|
111
|
-
<% if (
|
|
112
|
-
<% if (paths.length > 3) { %>
|
|
114
|
+
<% if (!ishome) { %>
|
|
113
115
|
<a class='gitremote' data-filepath="<%=filepath%>"><%=filepath%></a>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
<% } %>
|
|
116
|
+
<div class='runner'>
|
|
117
|
+
<button class='btn' id='open-fs' data-filepath="<%=filepath%>"><i class="fa-solid fa-eye"></i> View Folder</button>
|
|
118
|
+
</div>
|
|
118
119
|
<% } %>
|
|
119
120
|
<!--
|
|
120
121
|
<div class='runner'>
|