Add obj doubleclick support for windows.

master
daid303 2012-10-04 14:31:29 +02:00
parent b67ef20d3a
commit 0c6c40c098
1 changed files with 8 additions and 0 deletions

View File

@ -115,6 +115,14 @@ Section "Open STL files with Cura"
WriteRegStr HKCR "Cura STL model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" "$INSTDIR\Cura\cura.py" "%1"'
SectionEnd
Section /o "Open OBJ files with Cura"
WriteRegStr HKCR .obj "" "Cura OBJ model file"
DeleteRegValue HKCR .obj "Content Type"
WriteRegStr HKCR "Cura OBJ model file\DefaultIcon" "" "$INSTDIR\Cura\stl.ico,0"
WriteRegStr HKCR "Cura OBJ model file\shell" "" "open"
WriteRegStr HKCR "Cura OBJ model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" "$INSTDIR\Cura\cura.py" "%1"'
SectionEnd
;--------------------------------
; Uninstaller