diff options
author | daid303 <daid303@gmail.com> | 2013-05-22 16:21:18 +0400 |
---|---|---|
committer | daid303 <daid303@gmail.com> | 2013-05-22 16:21:18 +0400 |
commit | 487a74370888899b0b646d8c766ef7eb928347b3 (patch) | |
tree | b06ca88943f781f36d6a37e0ae2bae6d07294b8e /scripts | |
parent | df7293b594ad4895654e2032954f6b191aa25bb4 (diff) |
Add AMF as open option for windows.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/win32/installer.nsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index e86c13769d..418db0ef52 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -131,6 +131,14 @@ Section /o "Open OBJ files with Cura" WriteRegStr HKCR "Cura OBJ model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" -c "import os; os.chdir(\"$INSTDIR\"); import Cura.cura; Cura.cura.main()" "%1"' SectionEnd +Section /o "Open AMF files with Cura" + WriteRegStr HKCR .amf "" "Cura AMF model file" + DeleteRegValue HKCR .amf "Content Type" + WriteRegStr HKCR "Cura AMF model file\DefaultIcon" "" "$INSTDIR\Cura\resources\stl.ico,0" + WriteRegStr HKCR "Cura AMF model file\shell" "" "open" + WriteRegStr HKCR "Cura AMF model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" -c "import os; os.chdir(\"$INSTDIR\"); import Cura.cura; Cura.cura.main()" "%1"' +SectionEnd + ;-------------------------------- ; Uninstaller |