We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isCommandLine()
1 parent b73bc92 commit fedc2b6Copy full SHA for fedc2b6
app/src/processing/app/Base.java
@@ -161,12 +161,6 @@ static public void initLogger() {
161
162
}
163
164
-
165
- static protected void setCommandLine() {
166
- commandLine = true;
167
- }
168
169
170
static protected boolean isCommandLine() {
171
return commandLine;
172
@@ -199,6 +193,7 @@ public Base(String[] args) throws Exception {
199
193
200
194
CommandlineParser parser = new CommandlineParser(args);
201
195
parser.parseArgumentsPhase1();
196
+ commandLine = !parser.isGuiMode();
202
197
203
198
SplashScreenHelper splash;
204
if (parser.isGuiMode()) {
0 commit comments