Skip to content

Commit

Permalink
update pip path in config.yaml to point to WinPython
Browse files Browse the repository at this point in the history
  • Loading branch information
jneilliii committed Jul 10, 2022
1 parent 49a6623 commit 7e70212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions OctoPrint Setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
server:
commands:
localPipCommand: ####PIPPATH####
serverRestartCommand: ####APPDIR#### restart!
systemShutdownCommand: ####APPDIR#### stop

0 comments on commit 7e70212

Please sign in to comment.