diff --git a/scripts/registerApps.ts b/scripts/registerApps.ts index 2d29045a..2c65a023 100644 --- a/scripts/registerApps.ts +++ b/scripts/registerApps.ts @@ -43,4 +43,7 @@ for (const server of KNOWN_SERVERS) { } } +if (!fs.existsSync('public')) + await fs.mkdir('public') + await fs.writeJSON(filename, registeredApps, { spaces: 2, EOL: '\n' })