on master help sign in
don't associate elm files with anything on Windows

They'll get associated with whatever code editor you use

commit8650df1f2b57b1bb18ca9eb23ffb34988efa6760 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 14 Oct 2019, 18:41 (7 years ago) parent2edbe13
1 file changed+14−14
installers/win/Nsisfile.nsi+14−14
installers/win/Nsisfile.nsi+14−14
@@ -135,20 +135,20 @@ SectionEnd
135135
136136SectionGroup "Update system settings" SecGr
137137
138−Section "Associate with .elm files" SecAssoc
139−
140− SectionIn 1
141−
142− ; File associations
143− WriteRegStr HKCR ".elm" "" "elm"
144− WriteRegStr HKCR "elm" "" "Elm Source File"
145− ;WriteRegStr HKCR "elm\DefaultIcon" "" "$INSTDIR\file.ico"
146− ;WriteRegStr HKCR "elm\shell\open\command" "" '"$INSTDIR\bin\elm.exe" "%1"'
147−
148− ;Remember that we registered associations
149− WriteRegDWORD HKLM "${PRODUCT_DIR_REG_KEY}" Assocs 0x1
150−
151−SectionEnd
138+;Section "Associate with .elm files" SecAssoc
139+;
140+; SectionIn 1
141+;
142+; ; File associations
143+; WriteRegStr HKCR ".elm" "" "elm"
144+; WriteRegStr HKCR "elm" "" "Elm Source File"
145+; WriteRegStr HKCR "elm\DefaultIcon" "" "$INSTDIR\file.ico"
146+; WriteRegStr HKCR "elm\shell\open\command" "" '"$INSTDIR\bin\elm.exe" "%1"'
147+;
148+; ;Remember that we registered associations
149+; WriteRegDWORD HKLM "${PRODUCT_DIR_REG_KEY}" Assocs 0x1
150+;
151+;SectionEnd
152152
153153Section "Update the PATH environment variable" SecPath
154154