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:
Diffstat (limited to 'scripts/win32/installer.nsi')
-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