65c2ea3d50
- 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
18 lines
355 B
JavaScript
18 lines
355 B
JavaScript
// Pull latest launcher scripts and app source code, then re-run install.
|
|
module.exports = {
|
|
run: [
|
|
{
|
|
method: "shell.run",
|
|
params: { message: "git pull" }
|
|
},
|
|
{
|
|
method: "shell.run",
|
|
params: { path: "app", message: "git pull" }
|
|
},
|
|
{
|
|
method: "script.start",
|
|
params: { uri: "install.js" }
|
|
}
|
|
]
|
|
}
|