Merge pull request #37 from Flow-Works/thin-dev-branch

Thin-dev-branch
This commit is contained in:
ThinLiquid 2023-10-25 12:53:44 +01:00 committed by GitHub
commit 4acb1f4804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -193,6 +193,11 @@ export default class EditorApp implements App {
(win.content.querySelector('#save') as HTMLElement).onclick = async () => {
await window.fs.promises.writeFile(data.path, editor.value)
}
} else {
await window.flow.openApp('flow.files')
setTimeout(() => {
win.close()
}, 10)
}
return win

View file

@ -32,7 +32,6 @@ export interface FlowWindowConfig {
export interface App {
meta: {
id: any
name: string
description: string
pkg: string