Skip to content

Commit c88fe33

Browse files
committed
Bugfix: all launchers now accept command line options -- Example, for executing
IPython Qt console without pylab mode enabled, just create a shortcut pointing to "IPython Qt console.exe" and add the option "--pylab=None".
1 parent 438a8bb commit c88fe33

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

portable/launcher.nsi

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@ write_settings:
7070
WriteINIStr $R5 "main" last_drive $1
7171
end_settings:
7272

73-
StrCmp "${PARAMETERS}" "" 0 param
7473
${GetParameters} $R1
75-
Goto end_param
76-
param:
77-
StrCpy $R1 "${PARAMETERS}"
74+
StrCmp "${PARAMETERS}" "" end_param 0
75+
StrCpy $R1 "${PARAMETERS} $R1"
7876
end_param:
7977

8078
Exec '"${COMMAND}" $R1'

0 commit comments

Comments
 (0)