Skip to content

Commit

Permalink
Patched QtIfwExternalOp.ReplacePrimaryIconInExeScript for contexts wh…
Browse files Browse the repository at this point in the history
…ere iconName is explicitly provided.
  • Loading branch information
BuvinJ committed Dec 28, 2020
1 parent 1836925 commit 535a339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distbuilder/qt_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5789,7 +5789,7 @@ def ReplacePrimaryIconInExeScript( exePath, iconDirPath,
'(\'dir ' + iconDirPath + '\*.ico /b /o-n\') '
'do set iconName=%%F' )
else:
setIconName = 'set "iconName=%s"' % (joinPath( iconDirPath, iconName ),)
setIconName = 'set "iconName=%s"' % ( iconName, )
removeIconDir =( 'rd /q /s "%s"' % (iconDirPath,)
if isIconDirRemoved else "" )
return ExecutableScript( QtIfwExternalOp.__scriptRootName(
Expand Down

0 comments on commit 535a339

Please sign in to comment.