Commit 978adcb0 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #228: use pd-l2ork paths in sys_setextrapath

parent 5fe09657
Pipeline #729 passed with stage
in 252 minutes and 3 seconds
......@@ -310,15 +310,15 @@ void sys_setextrapath(const char *p)
#ifdef __APPLE__
sys_expandpath("~/Library/Pd", pathbuf);
sys_expandpath("~/Library/Pd-l2ork", pathbuf);
pd_extrapath = namelist_append(0, pathbuf, 0);
pd_extrapath = namelist_append(pd_extrapath, "/Library/Pd", 0);
pd_extrapath = namelist_append(pd_extrapath, "/Library/Pd-l2ork", 0);
#ifdef _WIN32
sys_expandpath("%AppData%/Pd", pathbuf);
sys_expandpath("%AppData%/Pd-l2ork", pathbuf);
pd_extrapath = namelist_append(0, pathbuf, 0);
sys_expandpath("%CommonProgramFiles%/Pd", pathbuf);
sys_expandpath("%CommonProgramFiles%/Pd-l2ork", pathbuf);
pd_extrapath = namelist_append(pd_extrapath, pathbuf, 0);
/* add built-in "extra" path last so its checked last */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment