Commit c67822de authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Fix gui_dir location for OSX so that the doc files are found (load meter, etc.)

parent 0f8d90e0
......@@ -37,7 +37,11 @@ function set_vars(win) {
// If we're starting Pd, this is the first port number to try. (We'll
// increment it if that port happens to be taken.
port_no = 5400;
gui_dir = pwd;
// This is confusing and needs to be rethought. OSX app bundle needs
// the gui_dir to be "bin", but the actual gui files reside in
// "bin/../" because of the structure of the nw.js app bundle we use.
// Anyway, this seems to get all the "doc" links to be found...
gui_dir = process.platform === "darwin" ? "bin" : pwd;
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