Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ module.exports = {
venv: "env",
message: "uv pip install litellm[proxy]==1.57.4"
}
},
{
method: "fs.link",
params: {
venv: "env"
}
}
]
}
10 changes: 10 additions & 0 deletions link.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
run: [
{
method: "fs.link",
params: {
venv: "env"
}
}
]
}
20 changes: 17 additions & 3 deletions pinokio.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path')
module.exports = {
version: "3.4.0",
version: "3.7",
title: "bolt.diy",
description: "Prompt, run, edit, and deploy full-stack web apps. https://github.com/stackblitz-labs/bolt.diy",
icon: "icon.png",
Expand All @@ -10,7 +10,8 @@ module.exports = {
install: info.running("install.js"),
start: info.running("start.js"),
update: info.running("update.js"),
reset: info.running("reset.js")
reset: info.running("reset.js"),
link: info.running("link.js")
}
if (running.install) {
return [{
Expand Down Expand Up @@ -56,6 +57,13 @@ module.exports = {
text: "Resetting",
href: "reset.js",
}]
} else if (running.link) {
return [{
default: true,
icon: 'fa-solid fa-terminal',
text: "Deduplicating",
href: "link.js",
}]
} else {
return [{
icon: "fa-solid fa-power-off",
Expand All @@ -77,10 +85,16 @@ module.exports = {
icon: "fa-solid fa-download",
text: "Download Ollama Model",
href: "custom_download.json"
}, {
icon: "fa-solid fa-file-zipper",
text: "<div><strong>Save Disk Space</strong><div>Deduplicates redundant library files</div></div>",
href: "link.js",
}, {
icon: "fa-regular fa-circle-xmark",
text: "Reset",
text: "<div><strong>Reset</strong><div>Revert to pre-install state</div></div>",
href: "reset.js",
confirm: "Are you sure you wish to reset the app?"

}]
}
} else {
Expand Down