[PR #492] [MERGED] fix: 修复macOS截图功能权限和错误处理问题 #741

Closed
opened 2026-03-02 03:41:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/492
Author: @SilenceZen
Created: 7/30/2025
Status: Merged
Merged: 7/30/2025
Merged by: @codexu

Base: devHead: fix-bug/202507/macos-screenshot-error


📝 Commits (1)

  • bfa1474 fix: 修复macOS截图功能权限和错误处理问题

📊 Changes

4 files changed (+45 additions, -7 deletions)

View changed files

📝 src-tauri/Cargo.lock (+28 -3)
📝 src-tauri/Cargo.toml (+3 -0)
📝 src-tauri/src/screenshot.rs (+9 -1)
📝 src/app/core/record/mark/control-scan.tsx (+5 -3)

📄 Description

  • 使用core-graphics库的CGDisplay API触发macOS权限请求对话框
  • 修复空数组访问导致的undefined错误

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/492 **Author:** [@SilenceZen](https://github.com/SilenceZen) **Created:** 7/30/2025 **Status:** ✅ Merged **Merged:** 7/30/2025 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `fix-bug/202507/macos-screenshot-error` --- ### 📝 Commits (1) - [`bfa1474`](https://github.com/codexu/note-gen/commit/bfa147423d24d051dbea9fc4fcb9b2a7d8a9b2cb) fix: 修复macOS截图功能权限和错误处理问题 ### 📊 Changes **4 files changed** (+45 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src-tauri/Cargo.lock` (+28 -3) 📝 `src-tauri/Cargo.toml` (+3 -0) 📝 `src-tauri/src/screenshot.rs` (+9 -1) 📝 `src/app/core/record/mark/control-scan.tsx` (+5 -3) </details> ### 📄 Description - 使用core-graphics库的CGDisplay API触发macOS权限请求对话框 - 修复空数组访问导致的undefined错误 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#741
No description provided.