Added .stl extension association for windows

This commit is contained in:
Aleksei Sasin 2017-11-29 12:01:03 +01:00
parent e5ac33a929
commit 6274f70949

View File

@ -126,11 +126,7 @@ Section "Install Arduino Drivers"
SectionEnd
Section "Open STL files with Cura"
WriteRegStr HKCR .stl "" "Cura STL model file"
DeleteRegValue HKCR .stl "Content Type"
WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\Cura.exe,0"
WriteRegStr HKCR "Cura STL model file\shell" "" "open"
WriteRegStr HKCR "Cura STL model file\shell\open\command" "" '"$INSTDIR\Cura.exe" "%1"'
${registerExtension} "$INSTDIR\Cura.exe.exe" ".stl" "STL_File"
SectionEnd
Section /o "Open OBJ files with Cura"