diff --git a/CMakeLists.txt b/CMakeLists.txt
index 201e51aa..fc04e3a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -676,6 +676,11 @@ if(WIN32)
else()
qt_add_executable(nheko ${OS_BUNDLE} ${NHEKO_DEPS})
+ if(APPLE)
+ set_target_properties(nheko PROPERTIES MACOSX_BUNDLE_INFO_PLIST
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/MacOSXBundleInfo.plist.in")
+ endif()
+
if(HAVE_BACKTRACE_SYMBOLS_FD AND NOT CMAKE_BUILD_TYPE STREQUAL "Release")
set_target_properties(nheko PROPERTIES ENABLE_EXPORTS ON)
endif()
diff --git a/cmake/MacOSXBundleInfo.plist.in b/cmake/MacOSXBundleInfo.plist.in
index b95de173..01977550 100644
--- a/cmake/MacOSXBundleInfo.plist.in
+++ b/cmake/MacOSXBundleInfo.plist.in
@@ -34,5 +34,18 @@
NSApplication
NSHighResolutionCapable
+ CFBundleURLTypes
+
+
+ CFBundleURLName
+ Matrix URI
+ CFBundleURLSchemes
+
+ matrix
+
+
+
+ NSSupportsAutomaticGraphicsSwitching
+