mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
restore early-return from fixup_bundle_environment() on macOS if not running from a bundle
Mistakenly removed while getting stdout/stderr logging to work
This commit is contained in:
parent
60ccbcf9cc
commit
b8460441fb
1 changed files with 4 additions and 0 deletions
|
|
@ -100,6 +100,10 @@ fixup_bundle_environment (int argc, char* argv[], string & localedir)
|
||||||
|
|
||||||
no_app_nap ();
|
no_app_nap ();
|
||||||
|
|
||||||
|
if (!g_getenv ("ARDOUR_BUNDLED")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (g_getenv ("ARDOUR_SELF")) {
|
if (g_getenv ("ARDOUR_SELF")) {
|
||||||
g_setenv ("ARDOUR_SELF", argv[0], 1);
|
g_setenv ("ARDOUR_SELF", argv[0], 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue