From f76585fbb81cf67afecf0b16a51a812449970b42 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 24 Oct 2019 13:43:47 -0300 Subject: [PATCH] macOS: Don't activate app in batch/terminal mode --- src/app/app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/app.cpp b/src/app/app.cpp index 6fb660734..1aafee2ee 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -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