pinokiod 3.232.0 → 3.233.0
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/kernel/bin/index.js +1 -1
- package/kernel/bin/setup.js +4 -0
- package/kernel/index.js +1 -1
- package/package.json +1 -1
- package/server/index.js +3 -2
- package/server/public/style.css +2 -0
- package/server/views/app.ejs +1 -1
package/kernel/bin/index.js
CHANGED
|
@@ -625,7 +625,7 @@ class Bin {
|
|
|
625
625
|
}
|
|
626
626
|
async install2(req, ondata) {
|
|
627
627
|
let { requirements, install_required, requirements_pending, error } = await this.check({
|
|
628
|
-
bin: this.preset("
|
|
628
|
+
bin: this.preset("dev")
|
|
629
629
|
})
|
|
630
630
|
req.params = JSON.stringify(requirements)
|
|
631
631
|
if (this.install_required) {
|
package/kernel/bin/setup.js
CHANGED
|
@@ -158,6 +158,7 @@ module.exports = {
|
|
|
158
158
|
{ name: "uv", },
|
|
159
159
|
{ name: "py", },
|
|
160
160
|
{ name: "huggingface" },
|
|
161
|
+
{ name: "ffmpeg", },
|
|
161
162
|
{ name: "browserless" },
|
|
162
163
|
])
|
|
163
164
|
let conda_requirements = [
|
|
@@ -166,6 +167,7 @@ module.exports = {
|
|
|
166
167
|
"node",
|
|
167
168
|
"huggingface",
|
|
168
169
|
"git",
|
|
170
|
+
"ffmpeg",
|
|
169
171
|
]
|
|
170
172
|
return {
|
|
171
173
|
icon: "fa-solid fa-laptop-code",
|
|
@@ -190,6 +192,7 @@ module.exports = {
|
|
|
190
192
|
{ name: "uv", },
|
|
191
193
|
{ name: "caddy", },
|
|
192
194
|
{ name: "huggingface" },
|
|
195
|
+
{ name: "ffmpeg", },
|
|
193
196
|
{ name: "py", },
|
|
194
197
|
{ name: "browserless" },
|
|
195
198
|
])
|
|
@@ -199,6 +202,7 @@ module.exports = {
|
|
|
199
202
|
"node",
|
|
200
203
|
"huggingface",
|
|
201
204
|
"git",
|
|
205
|
+
"ffmpeg",
|
|
202
206
|
"caddy",
|
|
203
207
|
]
|
|
204
208
|
if (platform === "win32") {
|
package/kernel/index.js
CHANGED
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -1443,7 +1443,7 @@ class Server {
|
|
|
1443
1443
|
})
|
|
1444
1444
|
} else if (pathComponents.length === 0 && req.query.mode === "download") {
|
|
1445
1445
|
let { requirements, install_required, requirements_pending, error } = await this.kernel.bin.check({
|
|
1446
|
-
bin: this.kernel.bin.preset("
|
|
1446
|
+
bin: this.kernel.bin.preset("dev"),
|
|
1447
1447
|
})
|
|
1448
1448
|
let sanitizedPath = null
|
|
1449
1449
|
if (typeof req.query.path === 'string') {
|
|
@@ -3050,7 +3050,8 @@ class Server {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
} else {
|
|
3052
3052
|
this.colors = {
|
|
3053
|
-
color: "white",
|
|
3053
|
+
//color: "white",
|
|
3054
|
+
color: "#F4F4F4",
|
|
3054
3055
|
// color: "#F5F4FA",
|
|
3055
3056
|
symbolColor: "black",
|
|
3056
3057
|
}
|
package/server/public/style.css
CHANGED
|
@@ -847,9 +847,11 @@ body {
|
|
|
847
847
|
position: relative;
|
|
848
848
|
}
|
|
849
849
|
/* Reserve scrollbar space to prevent header layout shift */
|
|
850
|
+
/*
|
|
850
851
|
html {
|
|
851
852
|
scrollbar-gutter: stable both-edges;
|
|
852
853
|
}
|
|
854
|
+
*/
|
|
853
855
|
body.dark {
|
|
854
856
|
color: var(--dark-color);
|
|
855
857
|
background: var(--dark-bg);
|
package/server/views/app.ejs
CHANGED
|
@@ -2997,7 +2997,7 @@ body.dark .pinokio-fork-dropdown-remote, body.dark .pinokio-publish-dropdown-rem
|
|
|
2997
2997
|
<div><i class="fa-solid fa-plus"></i></div>
|
|
2998
2998
|
</button>
|
|
2999
2999
|
<button class='btn2 hidden' id='close-window' data-tippy-content='close this section'>
|
|
3000
|
-
<div><i class="fa-solid fa-
|
|
3000
|
+
<div><i class="fa-solid fa-xmark"></i></div>
|
|
3001
3001
|
</button>
|
|
3002
3002
|
</h1>
|
|
3003
3003
|
</header>
|