Fix the windows shortcut to run Cura as a module, which is the proper way to start python software.

master
daid303 2012-12-10 18:10:03 +01:00
parent 30db719d80
commit cedfec86b5
1 changed files with 1 additions and 1 deletions

View File

@ -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" '"$INSTDIR\Cura\cura.py"' "$INSTDIR\Cura\cura.ico" 0
CreateShortCut "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk" "$INSTDIR\python\pythonw.exe" '-m "Cura.cura"' "$INSTDIR\Cura\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"