feat: adding electron updater

This commit is contained in:
Chubby Granny Chaser
2024-05-14 17:12:19 +01:00
parent 125264ff42
commit 05cc2a1206
5 changed files with 36 additions and 3 deletions

View File

@@ -15,9 +15,8 @@ export const createDataSource = (options: Partial<SqliteConnectionOptions>) =>
type: "better-sqlite3",
database: databasePath,
entities: [Game, Repack, UserPreferences, GameShopCache, SteamGame],
synchronize: true,
...options,
});
export const dataSource = createDataSource({
synchronize: true,
});
export const dataSource = createDataSource({});