Compare commits

...

2 Commits

Author SHA1 Message Date
TheThing f01fc2ac02 sc: Fix new ABI showing running always false
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2024-04-06 17:36:35 +00:00
Jonatan Nilsson d175782f73 updater: Return latest version, not the latest installed one. Failed installs will be hidden otherwise.
continuous-integration/appveyor/branch AppVeyor build succeeded Details
2022-08-18 11:13:17 +00:00
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ export async function listentoapp(ctx, data) {
if (!app) return
ctx.socket.join('app.' + data.name)
let version = ctx.db.get(ctx.db.data.core[app.name].versions, ctx.db.data.core[app.name].latestInstalled)
let version = ctx.db.data.core[app.name].versions[0]
ctx.socket.emit('app.updatelog', {
name: data.name,
log: version?.log || ctx.db.data.core[app.name].updater

View File

@ -90,7 +90,7 @@ export function getStatus(ctx) {
active: active,
latestInstalled: installed,
updated: appDb.updater,
running: app.running,
running: app.running || app.ctx.version,
updating: app.updating,
}
}

View File

@ -1,6 +1,6 @@
{
"name": "sc-manager",
"version": "2.0.4",
"version": "2.0.6",
"description": "",
"main": "index.js",
"scripts": {