diff --git a/src/main/constants.ts b/src/main/constants.ts index f9d9c3e2..66bf7af9 100644 --- a/src/main/constants.ts +++ b/src/main/constants.ts @@ -18,7 +18,7 @@ export const databasePath = path.join( isStaging ? "hydra_test.db" : "hydra.db" ); -export const logsPath = path.join(app.getPath("userData"), "hydra", "logs"); +export const logsPath = path.join(app.getPath("userData"), "logs"); export const seedsPath = app.isPackaged ? path.join(process.resourcesPath, "seeds") diff --git a/src/main/main.ts b/src/main/main.ts index b1f41933..f7ad596d 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -86,6 +86,9 @@ const migrateFromSqlite = async () => { playTimeInMilliseconds: game.playTimeInMilliseconds, lastTimePlayed: game.lastTimePlayed, remoteId: game.remoteId, + winePrefixPath: game.winePrefixPath, + launchOptions: game.launchOptions, + executablePath: game.executablePath, isDeleted: game.isDeleted === 1, }, })) @@ -182,7 +185,7 @@ const migrateFromSqlite = async () => { logger.info("User data migrated successfully"); }); - return Promise.all([ + return Promise.allSettled([ migrateGames, migrateUserPreferences, migrateAchievements,