Skip to content

Commit

Permalink
fix mac
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesneimog committed Nov 26, 2024
1 parent 3407c6b commit 9a90723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Pd/pd4web.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ static void *pd4web_new(t_symbol *s, int argc, t_atom *argv) {
x->python = "\"" + x->objRoot + "\\.venv\\Scripts\\python.exe\"";
x->pd4web = "\"" + x->objRoot + "\\.venv\\Scripts\\pd4web.exe\"";
#elif defined(__APPLE__)
char PATHS[] = "PATH=/usr/local/bin:/usr/bin:/bin";
putenv(PATHS);
std::string PATHS = "PATH=" + x->objRoot + "/.venv/bin:/usr/local/bin:/usr/bin:/bin";
putenv((char *)PATHS.c_str());
x->pythonGlobal = "python3";
x->pip = "\"" + x->objRoot + "/.venv/bin/pip\"";
x->python = "\"" + x->objRoot + "/.venv/bin/python\"";
Expand Down

0 comments on commit 9a90723

Please sign in to comment.