UI: Update CMakeLists.txt for main OBS app

This commit is contained in:
PatTheMav 2022-03-16 23:11:58 +01:00
commit 1f0f2be15e
No known key found for this signature in database
GPG key ID: CEFD5D83C12A66B3
21 changed files with 853 additions and 1020 deletions

View file

@ -131,7 +131,11 @@ void OBSAbout::ShowAuthors()
QString error = "Error! File could not be read.\n\n \
Go to: https://github.com/obsproject/obs-studio/blob/master/AUTHORS";
#ifdef __APPLE__
if (!GetDataFilePath("AUTHORS", path)) {
#else
if (!GetDataFilePath("authors/AUTHORS", path)) {
#endif
ui->textBrowser->setPlainText(error);
return;
}