From 2378ca35b089958cb25d63c4571bc1bd21ba2fb1 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 6 Oct 2024 16:28:07 +0200 Subject: [PATCH] fix --- src/renderer/src/hooks/useDirectoryAccess.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/hooks/useDirectoryAccess.ts b/src/renderer/src/hooks/useDirectoryAccess.ts index a6efecbe..c2e6bcfc 100644 --- a/src/renderer/src/hooks/useDirectoryAccess.ts +++ b/src/renderer/src/hooks/useDirectoryAccess.ts @@ -14,7 +14,7 @@ import { DirectoryAccessDeclinedError } from '../../errors'; // Therefore we set the flag com.apple.security.files.user-selected.read-write // With this flag, we can show the user an open-dialog for a **directory**, and once the user has opened that directory, we can read/write files in this directory until the app is restarted. // NOTE! fs.stat is still allowed everywhere, even though read/write is not -// see also developer-notes.md +// see also CONTRIBUTING.md // const simulateMasBuild = isDev; // can be used for testing this logic without having to build mas-dev const simulateMasBuild = false;