Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaid <daid303@gmail.com>2012-08-01 14:01:15 +0400
committerdaid <daid303@gmail.com>2012-08-01 14:01:15 +0400
commitdb0b12881b2913709f11ed33c8361c1d71d27dde (patch)
treedf708eb2975209dccf57384d41a187cc5530b16f
parentf377c210df7adbaacee1aceabb49818e255a56aa (diff)
Fix STL icon registration.12.081.12.08
-rw-r--r--scripts/win32/installer.nsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi
index 7a41ac74b8..cfcc26aeb7 100644
--- a/scripts/win32/installer.nsi
+++ b/scripts/win32/installer.nsi
@@ -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