We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82177f commit f12be91Copy full SHA for f12be91
DeskThingServer/src/main/services/releases/releaseUtils.ts
@@ -446,6 +446,14 @@ export async function handleRefreshReleaseFile<T extends 'app' | 'client'>(
446
)
447
448
449
+ // This is a pretty worst-case scenario, but if the release file is empty, we should add the default repositories
450
+ if (releaseFile.releases.length == 0) {
451
+ // automatically add deskthing releases
452
+ const { appsRepo, clientRepo } = await import('../../static/releaseMetadata')
453
+ await addRepositoryUrl(appsRepo)
454
+ await addRepositoryUrl(clientRepo)
455
+ }
456
+
457
if (type == 'app') {
458
const finalReleaseFile: AppReleaseFile0118 = {
459
version: '0.11.8',
0 commit comments