Await removing databse

pull/236/head
Beaudan 6 years ago
parent 3e66b515de
commit 98aa53de07

@ -755,7 +755,7 @@ function getDefaultSQLKey() {
async function removeDB() { async function removeDB() {
const userDir = await getRealPath(app.getPath('userData')); const userDir = await getRealPath(app.getPath('userData'));
sql.removeDB(userDir); await sql.removeDB(userDir);
try { try {
userConfig.remove(); userConfig.remove();

Loading…
Cancel
Save