Skip to content

Commit

Permalink
don't associate elm files with anything on Windows
Browse files Browse the repository at this point in the history
They'll get associated with whatever code editor you use
  • Loading branch information
evancz committed Oct 14, 2019
1 parent 2edbe13 commit 8650df1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions installers/win/Nsisfile.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,20 @@ SectionEnd

SectionGroup "Update system settings" SecGr

Section "Associate with .elm files" SecAssoc

SectionIn 1

; File associations
WriteRegStr HKCR ".elm" "" "elm"
WriteRegStr HKCR "elm" "" "Elm Source File"
;WriteRegStr HKCR "elm\DefaultIcon" "" "$INSTDIR\file.ico"
;WriteRegStr HKCR "elm\shell\open\command" "" '"$INSTDIR\bin\elm.exe" "%1"'

;Remember that we registered associations
WriteRegDWORD HKLM "${PRODUCT_DIR_REG_KEY}" Assocs 0x1

SectionEnd
;Section "Associate with .elm files" SecAssoc
;
; SectionIn 1
;
; ; File associations
; WriteRegStr HKCR ".elm" "" "elm"
; WriteRegStr HKCR "elm" "" "Elm Source File"
; WriteRegStr HKCR "elm\DefaultIcon" "" "$INSTDIR\file.ico"
; WriteRegStr HKCR "elm\shell\open\command" "" '"$INSTDIR\bin\elm.exe" "%1"'
;
; ;Remember that we registered associations
; WriteRegDWORD HKLM "${PRODUCT_DIR_REG_KEY}" Assocs 0x1
;
;SectionEnd

Section "Update the PATH environment variable" SecPath

Expand Down

0 comments on commit 8650df1

Please # to comment.