Created
January 27, 2012 01:59
-
-
Save ryandesign/1686499 to your computer and use it in GitHub Desktop.
Fix QupZilla's application bundling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/app/mainapplication.cpp b/src/app/mainapplication.cpp | |
index 692d5d8..2961e6f 100644 | |
--- a/src/app/mainapplication.cpp | |
+++ b/src/app/mainapplication.cpp | |
@@ -101,7 +101,7 @@ MainApplication::MainApplication(const QList<CommandLineOptions::ActionPair> &cm | |
#endif | |
#ifdef Q_WS_MAC | |
- DATADIR.append("Resources/"); | |
+ DATADIR.append("../Resources/"); | |
#endif | |
#ifdef PORTABLE_BUILD | |
diff --git a/src/src.pro b/src/src.pro | |
index 223666b..f154572 100644 | |
--- a/src/src.pro | |
+++ b/src/src.pro | |
@@ -396,7 +396,7 @@ mac { | |
bundle_target.files += ../bin/locale | |
bundle_target.files += ../bin/themes | |
- bundle_target.path = Resources | |
+ bundle_target.path = Contents/Resources | |
QMAKE_BUNDLE_DATA += bundle_target | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment