From 8c2744b5d475e95094f911bc9bc4dc393a6461b3 Mon Sep 17 00:00:00 2001 From: ThinLiquid Date: Wed, 25 Oct 2023 10:56:19 +0000 Subject: [PATCH] =?UTF-8?q?[=F0=9F=94=A8]=20Follow=20ts-standard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/editor.ts | 2 +- src/types.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/editor.ts b/src/apps/editor.ts index 684cad1..a54e4da 100644 --- a/src/apps/editor.ts +++ b/src/apps/editor.ts @@ -194,7 +194,7 @@ export default class EditorApp implements App { await window.fs.promises.writeFile(data.path, editor.value) } } else { - window.flow.openApp('flow.files'); + await window.flow.openApp('flow.files') setTimeout(() => { win.close() }, 10) diff --git a/src/types.ts b/src/types.ts index efc497f..d44775e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -32,7 +32,6 @@ export interface FlowWindowConfig { export interface App { meta: { - id: any name: string description: string pkg: string