Skip to content

Commit

Permalink
Merge pull request jamulussoftware#2577 from ann0see/patch/startServe…
Browse files Browse the repository at this point in the history
…rDefault
  • Loading branch information
ann0see authored Apr 6, 2022
2 parents 06cd9a8 + ab18f57 commit f4d4781
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -72,9 +72,10 @@ int main ( int argc, char** argv )

// initialize all flags and string which might be changed by command line
// arguments
#if defined( SERVER_BUNDLE ) && defined( Q_OS_MACX )
// if we are on MacOS and we are building a server bundle, starts Jamulus in server mode
#if ( defined( SERVER_BUNDLE ) && defined( Q_OS_MACX ) ) || defined( SERVER_ONLY )
// if we are on MacOS and we are building a server bundle or requested build with serveronly, start Jamulus in server mode
bool bIsClient = false;
qInfo() << "- Starting in server mode by default (due to compile time option)";
#else
bool bIsClient = true;
#endif

0 comments on commit f4d4781

Please sign in to comment.