diff options
author | daid303 <daid303@gmail.com> | 2012-12-20 12:27:06 +0400 |
---|---|---|
committer | daid303 <daid303@gmail.com> | 2012-12-20 12:27:06 +0400 |
commit | 3b37498d2e145a71f054c20969aee665c63625e4 (patch) | |
tree | 2f2767fe46fcebd0dae90efde2ad1d75c641bb02 /scripts | |
parent | d8923b891b5e49f6a78f86d5b7b67b7db1a00aba (diff) |
Updated version number to 12.12, fixed some minor packaging issues.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/win32/installer.nsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index 60e5ee82ed..a9d639de10 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -26,7 +26,7 @@ SetCompressor /SOLID lzma !include "MUI2.nsh" !include Library.nsh -!define MUI_ICON "dist/Cura/cura.ico" +!define MUI_ICON "dist/Cura/resources/cura.ico" !define MUI_BGCOLOR FFFFFF ; Directory page defines @@ -92,7 +92,7 @@ Section "Cura ${VERSION}" CreateDirectory "$SMPROGRAMS\Cura ${VERSION}" CreateShortCut "$SMPROGRAMS\Cura ${VERSION}\Uninstall Cura ${VERSION}.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0 - CreateShortCut "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk" "$INSTDIR\python\pythonw.exe" '-m "Cura.cura"' "$INSTDIR\Cura\cura.ico" 0 + CreateShortCut "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk" "$INSTDIR\python\pythonw.exe" '-m "Cura.cura"' "$INSTDIR\Cura\resources\cura.ico" 0 ; Give all users write permissions in the install directory, so they can read/write profile and preferences files. AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-32-545)" "FullAccess" @@ -118,7 +118,7 @@ SectionEnd Section "Open STL files with Cura" WriteRegStr HKCR .stl "" "Cura STL model file" DeleteRegValue HKCR .stl "Content Type" - WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\Cura\stl.ico,0" + WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\Cura\resources\stl.ico,0" WriteRegStr HKCR "Cura STL model file\shell" "" "open" WriteRegStr HKCR "Cura STL model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" "$INSTDIR\Cura\cura.py" "%1"' SectionEnd @@ -126,7 +126,7 @@ SectionEnd Section /o "Open OBJ files with Cura" WriteRegStr HKCR .obj "" "Cura OBJ model file" DeleteRegValue HKCR .obj "Content Type" - WriteRegStr HKCR "Cura OBJ model file\DefaultIcon" "" "$INSTDIR\Cura\stl.ico,0" + WriteRegStr HKCR "Cura OBJ model file\DefaultIcon" "" "$INSTDIR\Cura\resources\stl.ico,0" WriteRegStr HKCR "Cura OBJ model file\shell" "" "open" WriteRegStr HKCR "Cura OBJ model file\shell\open\command" "" '"$INSTDIR\python\pythonw.exe" "$INSTDIR\Cura\cura.py" "%1"' SectionEnd |