diff --git a/main.js b/main.js index 253ba553c..6cf89e376 100644 --- a/main.js +++ b/main.js @@ -755,7 +755,7 @@ function getDefaultSQLKey() { async function removeDB() { const userDir = await getRealPath(app.getPath('userData')); - sql.removeDB(userDir); + await sql.removeDB(userDir); try { userConfig.remove();