mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
11 lines
242 B
TypeScript
11 lines
242 B
TypeScript
import knex from "knex";
|
|
import { databasePath } from "./constants";
|
|
import { app } from "electron";
|
|
|
|
export const knexClient = knex({
|
|
debug: !app.isPackaged,
|
|
client: "better-sqlite3",
|
|
connection: {
|
|
filename: databasePath,
|
|
},
|
|
});
|