Allow to run Ardour without start-script on MacOS
This might break JACK, since the previous environment is no longer re-set before calling JackConnection::open(), then again, no Ardour does not un/set any critical env variables on MacOS.
This commit is contained in:
parent
7060ba4c1d
commit
9cae196a04
|
@ -86,11 +86,12 @@ fixup_bundle_environment (int argc, char* argv[], string & localedir)
|
|||
|
||||
no_app_nap ();
|
||||
|
||||
if (!g_getenv ("ARDOUR_BUNDLED")) {
|
||||
return;
|
||||
if (g_getenv ("ARDOUR_SELF")) {
|
||||
g_setenv ("ARDOUR_SELF", argv[0]);
|
||||
}
|
||||
if (g_getenv ("PREBUNDLE_ENV")) {
|
||||
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true, "PREBUNDLE_ENV"));
|
||||
}
|
||||
|
||||
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency (true, "PREBUNDLE_ENV"));
|
||||
|
||||
set_language_preference ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue