Skip to content

Commit 8650df1

Browse files
committed
don't associate elm files with anything on Windows
They'll get associated with whatever code editor you use
1 parent 2edbe13 commit 8650df1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

installers/win/Nsisfile.nsi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,20 +135,20 @@ SectionEnd
135135

136136
SectionGroup "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

153153
Section "Update the PATH environment variable" SecPath
154154

0 commit comments

Comments
 (0)