diff --git a/ui/desktop/src/utils/githubUpdater.ts b/ui/desktop/src/utils/githubUpdater.ts index 09117784b..a44432761 100644 --- a/ui/desktop/src/utils/githubUpdater.ts +++ b/ui/desktop/src/utils/githubUpdater.ts @@ -163,7 +163,7 @@ const SHARED_DIRECTORY_NAMES = new Set([ async function pathExists(target: string): Promise { try { - await fs.access(target); + await fs.stat(target); return true; } catch { return false;