feat(pinokio): clean one-click launcher for multi-tts-server

- install: clone app source, create venv, install deps + torch + models
- start: daemon uvicorn on 127.0.0.1 with auto-captured URL
- reset: remove venv/cache/models but keep source
- update: pull both launcher and app, then re-install
- sanitized: no local env details, no TODO/DONE
- icon.png included
This commit is contained in:
2026-07-04 01:38:23 +08:00
commit 65c2ea3d50
10 changed files with 403 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// Reset Multi-TTS-Server to pre-install state.
// Removes the venv, downloaded caches, and downloaded models.
// Keeps the cloned app/ source code so the next install is just venv + models.
module.exports = {
run: [
{
method: "fs.rm",
params: { path: "app/venv" }
},
{
method: "fs.rm",
params: { path: "app/cache" }
},
{
method: "fs.rm",
params: { path: "app/models" }
}
]
}