Fix STL icon registration.

This commit is contained in:
daid committed 2012-08-01 12:01:15 +02:00
1 parent f377c210df
commit db0b12881b
1 file changed
+2 -1
+2 -1
View File
@@ -108,7 +108,8 @@ SectionEnd
Section "Open STL files with Cura"
WriteRegStr HKCR .stl "" "Cura STL model file"
WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\stl.ico,0"
DeleteRegValue HKCR .stl "Content Type"
WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\Cura\stl.ico,0"
WriteRegStr HKCR "Cura STL model file\shell" "" "open"
WriteRegStr HKCR "Cura STL model file\shell\open\command" "" '"$INSTDIR\python\python.exe" "$INSTDIR\Cura\cura.py" "%1"'
SectionEnd