Merge pull request #67 from Flow-Works/66-remove-settings-override

[🔥] Removed Settings override
This commit is contained in:
ThinLiquid 2023-11-24 14:22:55 +00:00 committed by GitHub
commit 0bce7be1c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,9 +51,9 @@ window.wm = new WindowManager();
if (!exists) window.fs.promises.mkdir('/.config').then(null).catch(e => console.error) if (!exists) window.fs.promises.mkdir('/.config').then(null).catch(e => console.error)
window.fs.exists('/.config/flow.json', (exists) => { window.fs.exists('/.config/flow.json', (exists) => {
// if (!exists) { if (!exists) {
window.fs.promises.writeFile('/.config/flow.json', JSON.stringify(defaultConfig)).then(null).catch(e => console.error) window.fs.promises.writeFile('/.config/flow.json', JSON.stringify(defaultConfig)).then(null).catch(e => console.error)
// } }
}) })
}) })
/** /**