Merge pull request #108 from Flow-Works/feature/flowos-boot-stuck-at-filesystem
[🐛] Fixed FlowOS filesystem at boot
This commit is contained in:
commit
80c792f1b3
2 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="shortcut icon" href="./src/assets/flow.png" type="image/png">
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/filer"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/filer"></script>
|
||||
<script src="./src/index.ts" type="module"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ window.wm = new WindowManager();
|
|||
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)
|
||||
window.location.reload()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue