mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: updates
This commit is contained in:
parent
3ade87fe0b
commit
57e4bd4d27
10 changed files with 132 additions and 84 deletions
|
@ -12,7 +12,6 @@ import { UserPreferences } from "./entity";
|
|||
import { RealDebridClient } from "./services/real-debrid";
|
||||
import { HydraApi } from "./services/hydra-api";
|
||||
import { uploadGamesBatch } from "./services/library-sync";
|
||||
import { getUserData } from "./services/user/get-user-data";
|
||||
|
||||
const loadState = async (userPreferences: UserPreferences | null) => {
|
||||
import("./events");
|
||||
|
@ -23,8 +22,7 @@ const loadState = async (userPreferences: UserPreferences | null) => {
|
|||
|
||||
Ludusavi.addManifestToLudusaviConfig();
|
||||
|
||||
await HydraApi.setupApi().then(async () => {
|
||||
await getUserData().catch(() => {});
|
||||
HydraApi.setupApi().then(() => {
|
||||
uploadGamesBatch();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue