From 7e702129e61ea13b820d074eba408ee85041cd8c Mon Sep 17 00:00:00 2001 From: jneilliii Date: Sat, 9 Jul 2022 21:18:30 -0400 Subject: [PATCH] update pip path in config.yaml to point to WinPython --- OctoPrint Setup.iss | 1 + config.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/OctoPrint Setup.iss b/OctoPrint Setup.iss index 79be12b..f9ee370 100644 --- a/OctoPrint Setup.iss +++ b/OctoPrint Setup.iss @@ -239,6 +239,7 @@ begin if StringChangeEx(UnicodeStr, '####APPDIR####', WrapperPath, True) > 0 then if DirExists(ExpandConstant(OctoPrintBasedir)) = False then ForceDirectories(ExpandConstant(OctoPrintBasedir)); + StringChangeEx(UnicodeStr, '####PIPPATH####', ExpandConstant('{app}\WPy64-31040\python-3.10.4.amd64\Scripts\pip.exe'), True); SaveStringToFile(ExpandConstant(OctoPrintBasedir + '\config.yaml'), AnsiString(UnicodeStr), False); end; end; diff --git a/config.yaml b/config.yaml index 4834f2b..c2ee804 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,5 @@ server: commands: + localPipCommand: ####PIPPATH#### serverRestartCommand: ####APPDIR#### restart! systemShutdownCommand: ####APPDIR#### stop