build: Codesign MacOS app bundle to avoid "from unidentified developer" warning

fortune cookie message = Der Stern des Reichtums wird in Kürze auf dich scheinen
This commit is contained in:
Eberhard Graether
2017-05-31 16:23:25 +02:00
parent 8ab0abbe69
commit 8660ab5b14
5 changed files with 72 additions and 117 deletions
+1 -5
View File
@@ -79,8 +79,8 @@ void setupPlatform(int argc, char *argv[])
utility::copyNewFilesFromDirectory(oldDataPath, dataPath);
UserPaths::setUserDataPath(FilePath(dataPath.toStdString() + "/"));
// ----------------------------------------------------------------------------
UserPaths::setUserDataPath(FilePath(dataPath.toStdString() + "/"));
appIsMacBundle = true;
}
@@ -94,10 +94,6 @@ void setupApp(int argc, char *argv[])
{
UserPaths::setUserDataPath(FilePath("./user/"));
}
else
{
UserPaths::setSampleProjectsPath(FilePath(path.absolute().str() + "/data/"));
}
}
#endif // INCLUDES_MAC_H