Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
launcher now launches server under linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jaw committed Aug 25, 2017
1 parent 86bedc2 commit 5722f90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions programs/launcher/src/vsx_widget_launcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ class vsx_widget_launcher : public vsx_widget
application_selection->add_option( 0, "VSXu Player" );
application_selection->add_option( 1, "VSXu Artiste" );
application_selection->add_option( 2, "VSXu Profiler" );
#if PLATFORM_FAMILY == PLATFORM_FAMILY_UNIX
application_selection->add_option( 3, "VSXu Server" );
#endif

// display selection
float display_selection_pos_x = gui_base_pos_x;
Expand Down Expand Up @@ -298,6 +301,10 @@ class vsx_widget_launcher : public vsx_widget
command += DIRECTORY_SEPARATOR "vsxu_artiste";
if (application_selection->selected == 2)
command += DIRECTORY_SEPARATOR "vsxu_profiler";
#if PLATFORM_FAMILY == PLATFORM_FAMILY_UNIX
if (application_selection->selected == 3)
command += DIRECTORY_SEPARATOR "vsxu_server";
#endif

args.push_back("-d");
args.push_back(vsx_string_helper::i2s((int)display_selection->selected + 1));
Expand Down

0 comments on commit 5722f90

Please sign in to comment.