# HG changeset patch # User Mike Miller # Date 1522113280 25200 # Node ID b0cb0218813cc14562200c90daf22420c96bdefd # Parent 4a54e62e7ea3cd9f37e7bbb8020648e8c0188f3f start Octave with the '--gui' command-line option when starting the GUI (bug #53369) * installer-files/octave-firsttime.vbs: Run octave-gui.exe with '--gui'. * installer-files/octave.bat: Likewise. * installer-files/octave.vbs: Likewise. diff -r 4a54e62e7ea3 -r b0cb0218813c installer-files/octave-firsttime.vbs --- a/installer-files/octave-firsttime.vbs Sun Mar 25 08:48:23 2018 -0400 +++ b/installer-files/octave-firsttime.vbs Mon Mar 26 18:14:40 2018 -0700 @@ -40,7 +40,7 @@ startpath = wshShell.ExpandEnvironmentStrings("%UserProfile%") wshShell.CurrentDirectory = startpath -wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34), 0 +wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe --gui" & Chr(34), 0 ' free our objects Set fso = Nothing diff -r 4a54e62e7ea3 -r b0cb0218813c installer-files/octave.bat --- a/installer-files/octave.bat Sun Mar 25 08:48:23 2018 -0400 +++ b/installer-files/octave.bat Mon Mar 26 18:14:40 2018 -0700 @@ -43,7 +43,7 @@ Rem Start Octave (this detaches and immediately returns): if %GUI_MODE%==1 ( -start octave-gui.exe %* +start octave-gui.exe --gui %* ) else ( start octave-cli.exe %* ) diff -r 4a54e62e7ea3 -r b0cb0218813c installer-files/octave.vbs --- a/installer-files/octave.vbs Sun Mar 25 08:48:23 2018 -0400 +++ b/installer-files/octave.vbs Mon Mar 26 18:14:40 2018 -0700 @@ -48,7 +48,7 @@ ' start octave-gui, either with console shown or hidden If GUI_MODE = 1 then - wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) & AllArgs, 0 + wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe --gui" & Chr(34) & AllArgs, 0 Else wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) & AllArgs, 1 End If