Fix/os update version (#2890)

* dynamically set a registry to use for os updates

* fix os updates response type

* fix saving high score

---------

Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
Lucy
2025-04-23 09:17:46 -04:00
committed by GitHub
parent 5b173315f9
commit df4c92672f
13 changed files with 184 additions and 48 deletions

View File

@@ -7,7 +7,7 @@ import { PackageDataEntry } from './patch-db/data-model'
const {
gitHash,
useMocks,
ui: { api, marketplace, mocks },
ui: { api, marketplace, mocks, startosRegistry },
} = require('../../../../../config.json') as WorkspaceConfig
@Injectable({
@@ -27,6 +27,7 @@ export class ConfigService {
gitHash = gitHash
api = api
marketplace = marketplace
startosRegistry = startosRegistry
skipStartupAlerts = useMocks && mocks.skipStartupAlerts
supportsWebSockets = !!window.WebSocket