From 0377ab7078d8f362b376c5c1e175b84fcca07631 Mon Sep 17 00:00:00 2001 From: newTurn2017 Date: Thu, 26 Mar 2026 15:35:30 +0900 Subject: [PATCH 1/2] chore: bump version to 1.2.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e04b573a..98ba9875 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "url": "https://github.com/NewTurn2017/ScreenCraft/issues" }, "private": true, - "version": "1.2.1", + "version": "1.2.2", "type": "module", "scripts": { "dev": "vite", From 13ff571a8c29c8346dc1d30746440f6871c183a9 Mon Sep 17 00:00:00 2001 From: munbbok Date: Thu, 26 Mar 2026 19:05:45 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20macOS=20=EC=9B=B9=EC=BA=A0=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EC=9A=94=EC=B2=AD=20=EB=B0=8F=20=EC=B9=B4?= =?UTF-8?q?=EB=A9=94=EB=9D=BC=20=EC=A0=91=EA=B7=BC=20=EB=B6=88=EA=B0=80=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - setPermissionCheckHandler/RequestHandler에 "camera" 권한 추가 - entitlements.mac.plist, inherit.plist에 camera/microphone/audio-input entitlement 추가 - electron-builder.json5에 NSCameraUsageDescription 추가 및 잘못된 extendInfo 키 제거 Co-Authored-By: Claude Sonnet 4.6 --- build/entitlements.mac.inherit.plist | 6 ++++++ build/entitlements.mac.plist | 6 ++++++ electron-builder.json5 | 4 ++-- electron/main.ts | 4 ++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/build/entitlements.mac.inherit.plist b/build/entitlements.mac.inherit.plist index 48f7bf5c..0ded0eda 100644 --- a/build/entitlements.mac.inherit.plist +++ b/build/entitlements.mac.inherit.plist @@ -8,5 +8,11 @@ com.apple.security.cs.disable-library-validation + com.apple.security.device.camera + + com.apple.security.device.microphone + + com.apple.security.device.audio-input + diff --git a/build/entitlements.mac.plist b/build/entitlements.mac.plist index 48f7bf5c..0ded0eda 100644 --- a/build/entitlements.mac.plist +++ b/build/entitlements.mac.plist @@ -8,5 +8,11 @@ com.apple.security.cs.disable-library-validation + com.apple.security.device.camera + + com.apple.security.device.microphone + + com.apple.security.device.audio-input + diff --git a/electron-builder.json5 b/electron-builder.json5 index 52f1843a..a0db9872 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -62,8 +62,8 @@ "NSQuitAlwaysKeepsWindows": false, "NSAudioCaptureUsageDescription": "ScreenCraft needs audio capture permission to record system audio.", "NSMicrophoneUsageDescription": "ScreenCraft needs microphone access to record voice audio.", - "NSCameraUseContinuityCameraDeviceType": true, - "com.apple.security.device.audio-input": true + "NSCameraUsageDescription": "ScreenCraft needs camera access for webcam overlay.", + "NSCameraUseContinuityCameraDeviceType": true } }, "linux": { diff --git a/electron/main.ts b/electron/main.ts index dc1b0f9f..403c161a 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -566,12 +566,12 @@ app.on("second-instance", () => { // Register all IPC handlers when app is ready app.whenReady().then(async () => { session.defaultSession.setPermissionCheckHandler((_webContents, permission) => { - const allowed = ["media", "audioCapture", "microphone"]; + const allowed = ["media", "audioCapture", "microphone", "camera"]; return allowed.includes(permission); }); session.defaultSession.setPermissionRequestHandler((_webContents, permission, callback) => { - const allowed = ["media", "audioCapture", "microphone"]; + const allowed = ["media", "audioCapture", "microphone", "camera"]; callback(allowed.includes(permission)); });