NSIS/FileAssociation: do not write DefaultIcon registry key
Setting the DefaultIcon registry key uses LMMS' logo instead of a file icon with the logo inside. Thanks to Tres Finocchiaro for spotting the issue.
This commit is contained in:
@@ -128,7 +128,6 @@ NoBackup:
|
||||
StrCmp $0 "" 0 Skip
|
||||
WriteRegStr HKCR "$R0" "" "$R0"
|
||||
WriteRegStr HKCR "$R0\shell" "" "open"
|
||||
WriteRegStr HKCR "$R0\DefaultIcon" "" "$R2,0"
|
||||
Skip:
|
||||
WriteRegStr HKCR "$R0\shell\open\command" "" '"$R2" "%1"'
|
||||
WriteRegStr HKCR "$R0\shell\edit" "" "Edit $R0"
|
||||
|
||||
Reference in New Issue
Block a user