Create polished demo videos without editing skills. Mac/Windows/Linux
fix(macos): add explicit target architecture to Swift helper builds
aras3584b026b9e5
diff --git a/electron/native/bin/darwin-arm64/openscreen-native-cursor-monitor b/electron/native/bin/darwin-arm64/openscreen-native-cursor-monitorindex 9b3e16e1..77d85ce8 100755Binary files a/electron/native/bin/darwin-arm64/openscreen-native-cursor-monitor and b/electron/native/bin/darwin-arm64/openscreen-native-cursor-monitor differdiff --git a/electron/native/bin/darwin-arm64/openscreen-screencapturekit-helper b/electron/native/bin/darwin-arm64/openscreen-screencapturekit-helperindex 2f5bda23..447588fd 100755Binary files a/electron/native/bin/darwin-arm64/openscreen-screencapturekit-helper and b/electron/native/bin/darwin-arm64/openscreen-screencapturekit-helper differdiff --git a/electron/native/bin/darwin-arm64/openscreen-system-cursors b/electron/native/bin/darwin-arm64/openscreen-system-cursorsindex 131caccd..926b24e0 100755Binary files a/electron/native/bin/darwin-arm64/openscreen-system-cursors and b/electron/native/bin/darwin-arm64/openscreen-system-cursors differdiff --git a/electron/native/bin/darwin-arm64/openscreen-window-list b/electron/native/bin/darwin-arm64/openscreen-window-listindex 34ec60b7..977c0283 100755Binary files a/electron/native/bin/darwin-arm64/openscreen-window-list and b/electron/native/bin/darwin-arm64/openscreen-window-list differdiff --git a/package-lock.json b/package-lock.jsonindex 09d8925f..74cf3d25 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,13 @@{"name": "recordly",- "version": "1.1.3",+ "version": "1.0.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "recordly",- "version": "1.1.3",+ "version": "1.0.0",+ "hasInstallScript": true,"dependencies": {"@fix-webm-duration/fix": "^1.0.1","@pixi/filter-drop-shadow": "^5.2.0",@@ -14118,4 +14119,3 @@}}}-diff --git a/scripts/build-native-helpers.mjs b/scripts/build-native-helpers.mjsindex fc703007..032ae2f3 100644--- a/scripts/build-native-helpers.mjs+++ b/scripts/build-native-helpers.mjs@@ -44,7 +44,12 @@ for (const helper of helpers) {const sourcePath = path.join(nativeRoot, helper.source);const outputPath = path.join(outputDir, helper.output);- const result = spawnSync('swiftc', ['-O', sourcePath, '-o', outputPath], {+ const result = spawnSync('swiftc', [+ '-O',+ '-target', process.arch === 'arm64' ? 'arm64-apple-macos14.0' : 'x86_64-apple-macos14.0',+ sourcePath,+ '-o', outputPath+ ], {encoding: 'utf8',timeout: 120000,});