From 0fc1de9f296aa46461029bb7f8abdd9f0f080e4b Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 9 Aug 2023 14:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/worker/dbService/db.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/worker/dbService/db.ts b/src/main/worker/dbService/db.ts index d4ab99ab..49644577 100644 --- a/src/main/worker/dbService/db.ts +++ b/src/main/worker/dbService/db.ts @@ -25,13 +25,13 @@ export const init = (lxDataPath: string): boolean | null => { db = new Database(databasePath, { fileMustExist: true, nativeBinding, - verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined, + // verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined, }) } catch (error) { console.log(error) db = new Database(databasePath, { nativeBinding, - verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined, + // verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined, }) initTables(db) dbFileExists = false