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