chiark / gitweb /
Remove the console window when opening an STL directly.
authordaid303 <daid303@gmail.com>
Thu, 4 Oct 2012 08:15:06 +0000 (10:15 +0200)
committerdaid303 <daid303@gmail.com>
Thu, 4 Oct 2012 08:15:06 +0000 (10:15 +0200)
scripts/win32/installer.nsi

index ed173e1a80067ad3ccfd8da38e58f5a7880e59e8..e75a69a1a12a8153836e0b41a614d13fe6791d36 100644 (file)
@@ -112,7 +112,7 @@ Section "Open STL files with Cura"
        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"'
+       WriteRegStr HKCR "Cura STL model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" "$INSTDIR\Cura\cura.py" "%1"'
 SectionEnd
 
 ;--------------------------------