Skip to content

Commit

Permalink
Patch GUI to use updated winusb commandline options
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 6, 2017
1 parent 55ce59d commit 2fd736c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MainPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ void MainPanel::OnInstall(wxCommandEvent& event)
iso = m_dvdDriveDevList.at(m_dvdDriveList->GetSelection());
}

PipeManager pipe(std::string("gksudo --description 'WinUSB' -- sh -c 'winusb --noColor --forGui --format \"") + iso + "\" \"" + device + "\" 2>&1'");
PipeManager pipe(std::string("gksudo --description 'WinUSB' -- sh -c 'winusb --no-color --for-gui --format \"") + iso + "\" \"" + device + "\" 2>&1'");

wxProgressDialog *dialog = new wxProgressDialog(_("Installing..."), _("Please wait..."), 100, GetParent(), wxPD_APP_MODAL | wxPD_SMOOTH | wxPD_CAN_ABORT);

Expand Down
2 changes: 1 addition & 1 deletion src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ process_commandline_parameters(){
'--verbose'|'-v')
verbose='1'
;;
'--forGui')
'--for-gui')
no_color='1'
only_for_gui='1'
;;
Expand Down

0 comments on commit 2fd736c

Please sign in to comment.