diff options
author | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-12-12 00:05:34 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-12-12 00:10:05 +0300 |
commit | 8bedeb7dd30e77cf0d4d4f67c7f933035b286888 (patch) | |
tree | 527672db362fc9737a176bde62023072f604721e /scripts/win32/installer.nsi | |
parent | 5166ff8290b70b1ad6334144fbc9a0e370d8db03 (diff) |
Add -E argument to python interpreter on windows.lulzbot-18.03
This will make sure python ignores PYTHONPATH and PYTHONHOME variables
that could be set if another application using python was installed
on the system such as CollabNet's subversion Edge.
See https://forum.lulzbot.com/viewtopic.php?f=8&t=3029&p=18892#p18892
Diffstat (limited to 'scripts/win32/installer.nsi')
-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 2f474d9715..d8919bf966 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -149,7 +149,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\resources\cura.ico" 0 + CreateShortCut "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk" "$INSTDIR\python\pythonw.exe" '-E -m "Cura.cura"' "$INSTDIR\resources\cura.ico" 0 SectionEnd |