mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
macOS: Don't activate app in batch/terminal mode
This commit is contained in:
parent
ea5e67b0ea
commit
f76585fbb8
@ -371,7 +371,8 @@ void App::run()
|
||||
#if defined(_DEBUG) || defined(ENABLE_DEVMODE)
|
||||
// On OS X, when we compile Aseprite on devmode, we're using it
|
||||
// outside an app bundle, so we must active the app explicitly.
|
||||
os::instance()->activateApp();
|
||||
if (isGui())
|
||||
os::instance()->activateApp();
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_UPDATER
|
||||
|
Loading…
Reference in New Issue
Block a user