mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
MacOS fixes
This commit is contained in:
parent
50f0a9cf9d
commit
6dbc2b4711
@ -38,7 +38,6 @@ TrophyUI::TrophyUI(const std::filesystem::path& trophyIconPath, const std::strin
|
||||
const char* AppDir = getenv("APPDIR");
|
||||
ResourceDir = std::filesystem::path(AppDir);
|
||||
#elif defined(__APPLE__)
|
||||
// for testing on Mac QT
|
||||
ResourceDir = std::filesystem::current_path().parent_path() / "Resources";
|
||||
#endif
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ void TrophyViewer::PopulateTrophyWidget(QString title) {
|
||||
const char* AppDir = getenv("APPDIR");
|
||||
trophyTypePath = std::filesystem::path(AppDir);
|
||||
#elif defined(__APPLE__)
|
||||
trophyTypePath = Common::GetBundleParentDirectory().parent_path() / "Resources";
|
||||
trophyTypePath = std::filesystem::current_path().parent_path() / "Resources";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user