feat: using api download sources

This commit is contained in:
Chubby Granny Chaser
2025-10-21 04:18:11 +01:00
parent c2273dbf71
commit 48ce9a2476
45 changed files with 295 additions and 1625 deletions

View File

@@ -16,19 +16,11 @@ import {
Ludusavi,
Lock,
DeckyPlugin,
ResourceCache,
GameMatcherWorkerManager,
} from "@main/services";
export const loadState = async () => {
await Lock.acquireLock();
ResourceCache.initialize();
await ResourceCache.updateResourcesOnStartup();
// Initialize game matcher worker thread
GameMatcherWorkerManager.initialize();
const userPreferences = await db.get<string, UserPreferences | null>(
levelKeys.userPreferences,
{