Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2015-12-12 00:05:34 +0300
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2015-12-12 00:10:05 +0300
commit8bedeb7dd30e77cf0d4d4f67c7f933035b286888 (patch)
tree527672db362fc9737a176bde62023072f604721e
parent5166ff8290b70b1ad6334144fbc9a0e370d8db03 (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
-rw-r--r--scripts/win32/cura.bat2
-rw-r--r--scripts/win32/installer.nsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/win32/cura.bat b/scripts/win32/cura.bat
index 3f105418a1..b9633b19fd 100644
--- a/scripts/win32/cura.bat
+++ b/scripts/win32/cura.bat
@@ -1,2 +1,2 @@
-@python\python.exe -m Cura.cura %*
+@python\python.exe -E -m Cura.cura %*
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