Skip to content

Commit

Permalink
fix: fix permission issue on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Jun 28, 2024
1 parent 4f26781 commit adb61fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ if(OS_MACOS)
"$<TARGET_BUNDLE_DIR:CefViewWing>/../"
"$<TARGET_BUNDLE_DIR:QCefView>/Resources/PlugIns/"

# adjust file permission
COMMAND
cd "$<TARGET_BUNDLE_DIR:QCefView>/Resources/PlugIns/Chromium Embedded Framework.framework/Resources" && chmod +rw *.bin

# sign the cef framework
COMMAND codesign
--force
Expand Down

0 comments on commit adb61fc

Please sign in to comment.