stop associating file.ico with Elm files on Windows
Just use the default, which appears to be overridden as soon as you
pick an editor to edit the files anyway.
Maybe this can be revisited if we have a really excellent .ico file
someday.
commit5fd5d7a70b4b1be6b0dd1a3a9863b5a35ff609de
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateFri 11 Oct 2019, 23:21 (7 years ago)
parent8be664a
installers/win/Nsisfile.nsi+1−1
@@ -142,7 +142,7 @@ Section "Associate with .elm files" SecAssoc
142142 ; File associations
143143 WriteRegStr HKCR ".elm" "" "elm"
144144 WriteRegStr HKCR "elm" "" "Elm Source File"
145− WriteRegStr HKCR "elm\DefaultIcon" "" "$INSTDIR\file.ico"
145+ ;WriteRegStr HKCR "elm\DefaultIcon" "" "$INSTDIR\file.ico"
146146 ;WriteRegStr HKCR "elm\shell\open\command" "" '"$INSTDIR\bin\elm.exe" "%1"'
147147
148148 ;Remember that we registered associations
installers/win/file.icodeleted
Binary file not shown.
installers/win/inst.dat+1−2
@@ -2,6 +2,5 @@ SetOutPath "$INSTDIR\bin"
22File "${FILES_SOURCE_PATH}\bin\elm.exe"
33
44SetOutPath "$INSTDIR"
5−File "file.ico"
65File "updatepath.vbs"
7−File "removefrompath.vbs"
6+File "removefrompath.vbs"
installers/win/uninst.dat+1−2
@@ -1,7 +1,6 @@
11Delete "$INSTDIR\bin\elm.exe"
22RmDir "$INSTDIR\bin"
33
4−Delete "$INSTDIR\file.ico"
54Delete "$INSTDIR\updatepath.vbs"
65Delete "$INSTDIR\removefrompath.vbs"
7−RmDir "$INSTDIR"
6+RmDir "$INSTDIR"