mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Create Cemu .app bundle for macOS (#364)
This commit is contained in:
parent
028b3f7992
commit
8f674933d2
8 changed files with 84 additions and 18 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue