Merge branch 'main' into feat/HYD-819

This commit is contained in:
Chubby Granny Chaser
2025-05-14 21:52:53 +01:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -18,8 +18,6 @@ import {
} from "@main/services";
export const loadState = async () => {
SystemPath.checkIfPathsAreAvailable();
const userPreferences = await db.get<string, UserPreferences | null>(
levelKeys.userPreferences,
{
@@ -79,4 +77,6 @@ export const loadState = async () => {
startMainLoop();
CommonRedistManager.downloadCommonRedist();
SystemPath.checkIfPathsAreAvailable();
};

View File

@@ -15,7 +15,7 @@ export const uploadGamesBatch = async () => {
);
});
const gamesChunks = chunk(games, 50);
const gamesChunks = chunk(games, 30);
for (const chunk of gamesChunks) {
await HydraApi.post(

View File

@@ -38,7 +38,7 @@ export class SystemPath {
try {
return app.getPath(pathName);
} catch (error) {
logger.error(`Error getting path: ${error}`);
console.error(`Error getting path: ${error}`);
return "";
}
}