From dbf65a6a91b28158d6a0f464f266d27ff98ab31d Mon Sep 17 00:00:00 2001 From: tillvit Date: Mon, 7 Oct 2024 14:07:20 -0400 Subject: [PATCH] Fix missing audio breaking desktop app --- app/src/util/file-handler/NodeFileHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/util/file-handler/NodeFileHandler.ts b/app/src/util/file-handler/NodeFileHandler.ts index 6ad42ed0..723b699b 100644 --- a/app/src/util/file-handler/NodeFileHandler.ts +++ b/app/src/util/file-handler/NodeFileHandler.ts @@ -99,7 +99,7 @@ export class NodeFileHandler implements BaseFileHandler { if (!dir) { throw new DOMException(...GONE) } - return dir.getFileHandle(fileName) + return await dir.getFileHandle(fileName) } catch (err) { console.error("Failed to get relative file " + fileName + ": " + err) return undefined