diff --git a/cmake/MacOSXBundleInfo.plist.in b/cmake/MacOSXBundleInfo.plist.in
index 1b22e21f..597beaa6 100644
--- a/cmake/MacOSXBundleInfo.plist.in
+++ b/cmake/MacOSXBundleInfo.plist.in
@@ -44,5 +44,28 @@
${MACOSX_SPARKLE_UPDATE_PUBLIC_KEY}
SUFeedURL
${MACOSX_SPARKLE_UPDATE_FEED_URL}
+ CFBundleDocumentTypes
+
+
+ CFBundleTypeExtensions
+
+ zip
+ mrpack
+
+ CFBundleTypeName
+ Prism Launcher instance
+ CFBundleTypeOSTypes
+
+ TEXT
+ utxt
+ TUTX
+ ****
+
+ CFBundleTypeRole
+ Viewer
+ LSHandlerRank
+ Alternate
+
+
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 6ffec1ae..bcb3aa0d 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -943,6 +943,13 @@ bool Application::event(QEvent* event) {
emit clickedOnDock();
}
m_prevAppState = ev->applicationState();
+ return true;
+ }
+
+ if (event->type() == QEvent::FileOpen) {
+ auto ev = static_cast(event);
+ m_mainWindow->droppedURLs({ ev->url() });
+ return true;
}
#endif
return QApplication::event(event);