From: daid303 Date: Thu, 4 Oct 2012 12:31:29 +0000 (+0200) Subject: Add obj doubleclick support for windows. X-Git-Tag: 13.03~281 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0c6c40c098ee9ae497d4b6fff14e93509caa48f8;p=cura.git Add obj doubleclick support for windows. --- diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index e75a69a1..899b103f 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -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