Create Cemu .app bundle for macOS (#364)

This commit is contained in:
emiyl 2022-10-23 15:58:28 +01:00 committed by GitHub
parent 028b3f7992
commit 8f674933d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 84 additions and 18 deletions

View file

@ -77,6 +77,9 @@ bool CemuApp::OnInit()
auto standardPaths = wxStandardPaths::Get();
#ifdef PORTABLE
fs::path exePath(standardPaths.GetExecutablePath().ToStdString());
#if MACOS_BUNDLE
exePath = exePath.parent_path().parent_path().parent_path();
#endif
user_data_path = config_path = cache_path = data_path = exePath.parent_path();
#else
SetAppName("Cemu");