diff options
author | daid303 <daid303@gmail.com> | 2012-12-10 21:10:03 +0400 |
---|---|---|
committer | daid303 <daid303@gmail.com> | 2012-12-10 21:10:03 +0400 |
commit | cedfec86b537044ceeef21d1d6a50f7bb655a126 (patch) | |
tree | 37ccb3182db87cbf16c3db86a5640b9dc826306c /scripts | |
parent | 30db719d802767563c579476e263bf85d3360b7b (diff) |
Fix the windows shortcut to run Cura as a module, which is the proper way to start python software.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/win32/installer.nsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index 1c0617c4bf..60e5ee82ed 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -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" |