🎥 Make videos programmatically with React
Fix executable bug on macOS/Bun
Jonny Burger03d8c345e522
diff --git a/packages/renderer/src/compositor/make-file-executable.ts b/packages/renderer/src/compositor/make-file-executable.tsindex 8d20253868..5ea3385a5c 100644--- a/packages/renderer/src/compositor/make-file-executable.ts+++ b/packages/renderer/src/compositor/make-file-executable.ts@@ -2,7 +2,8 @@import {accessSync, chmodSync, constants, statSync} from 'node:fs';const hasPermissions = (p: string) => {- if (process.platform !== 'linux') {+ // We observe that with Bun, the problem also happens in macOS+ if (process.platform !== 'linux' && process.platform !== 'darwin') {try {accessSync(p, constants.X_OK);return true;