Mercurial > mxe-octave
comparison installer-files/octave-firsttime.vbs @ 4644:c3950e2b4066
Fix vbs scripts to launch with '--gui' option (bug #53369).
* octave-firsttime.vbs, octave.vbs: Add 'Chr(34) & "--gui" & Chr(34)' option
when calling octave gui executable.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 27 Mar 2018 09:53:22 -0700 |
parents | b0cb0218813c |
children | 202fa20cf559 |
comparison
equal
deleted
inserted
replaced
4643:b0cb0218813c | 4644:c3950e2b4066 |
---|---|
38 | 38 |
39 ' set directory to users | 39 ' set directory to users |
40 startpath = wshShell.ExpandEnvironmentStrings("%UserProfile%") | 40 startpath = wshShell.ExpandEnvironmentStrings("%UserProfile%") |
41 wshShell.CurrentDirectory = startpath | 41 wshShell.CurrentDirectory = startpath |
42 | 42 |
43 wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe --gui" & Chr(34), 0 | 43 GUIArg = " " & chr(34) & "--gui" & chr(34) |
44 wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) & GUIArg, 0 | |
44 | 45 |
45 ' free our objects | 46 ' free our objects |
46 Set fso = Nothing | 47 Set fso = Nothing |
47 Set wshShell = Nothing | 48 Set wshShell = Nothing |
48 Set wshSystemEnv = Nothing | 49 Set wshSystemEnv = Nothing |