Skip to content

Commit

Permalink
Patch for silent installer optional start menu argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
BuvinJ committed Dec 23, 2020
1 parent 2b8591a commit 4d5ca84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions distbuilder/qt_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7916,10 +7916,10 @@ def toIwfArgs( wrapperArgs ):
else: args.append( "{5}={6}" if wrapperArgs.force else "{5}={7}" )
if wrapperArgs.target is not None :
args.append( '{8}="%s"' % (wrapperArgs.target.replace("\\\\","/"),) )
if IS_WINDOWS :
if wrapperArgs.startmenu is not None :
args.append( '{9}="%s"' % (wrapperArgs.startmenu.replace("\\\\","/"),) )
args.append( '{8}="%s"' % (wrapperArgs.target.replace("\\\\","/"),) )
if IS_WINDOWS and IS_STARTMENU_SWITCH and wrapperArgs.startmenu is not None:
args.append( '{9}="%s"' % (wrapperArgs.startmenu.replace("\\\\","/"),) )
if len(components) > 0 :
def appendComponentArg( wrapperArg, ifwArg, isExclude=False ):
Expand Down

0 comments on commit 4d5ca84

Please sign in to comment.