From 53a61412be36660b017858d2c5712fe5baf162bf Mon Sep 17 00:00:00 2001 From: ThinLiquid Date: Fri, 24 Nov 2023 14:22:05 +0000 Subject: [PATCH] [:fire:] Removed Settings override --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index c325422..705ce22 100644 --- a/src/index.ts +++ b/src/index.ts @@ -51,9 +51,9 @@ window.wm = new WindowManager(); if (!exists) window.fs.promises.mkdir('/.config').then(null).catch(e => console.error) window.fs.exists('/.config/flow.json', (exists) => { - // if (!exists) { - window.fs.promises.writeFile('/.config/flow.json', JSON.stringify(defaultConfig)).then(null).catch(e => console.error) - // } + if (!exists) { + window.fs.promises.writeFile('/.config/flow.json', JSON.stringify(defaultConfig)).then(null).catch(e => console.error) + } }) }) /**