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.
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 ();