chiark / gitweb /
Added icon for STL files.
authordaid <daid303@gmail.com>
Wed, 1 Aug 2012 08:16:43 +0000 (10:16 +0200)
committerdaid <daid303@gmail.com>
Wed, 1 Aug 2012 08:16:43 +0000 (10:16 +0200)
Cura/stl.ico [new file with mode: 0644]
scripts/win32/installer.nsi

diff --git a/Cura/stl.ico b/Cura/stl.ico
new file mode 100644 (file)
index 0000000..6ab56db
Binary files /dev/null and b/Cura/stl.ico differ
index 386034c7357c1dcdab8272387750aeb0f9e5b407..45a732c8c07078cb32b1d0cfcd340bf4a22ab710 100644 (file)
@@ -107,10 +107,10 @@ Section "Cura ${VERSION}"
 SectionEnd
 
 Section "Open STL files with Cura"
-       WriteRegStr HKCR .stl "" "STL file"
-       ;WriteRegStr HKCR "STL file\DefaultIcon" "" "$INSTDIR\stl.ico,0"
-       WriteRegStr HKCR "STL file\shell" "" "open"
-       WriteRegStr HKCR "STL file\shell\open\command" "" '"$INSTDIR\python\python.exe" "$INSTDIR\Cura\cura.py" "%1"'
+       WriteRegStr HKCR .stl "" "Cura STL model file"
+       WriteRegStr HKCR "STL file\DefaultIcon" "" "$INSTDIR\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
 
 ;--------------------------------