Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
6edd25d8
Commit
6edd25d8
authored
Feb 22, 2016
by
Jonathan Wilkes
Browse files
change path to accommodate OSX app bundle (needs to be tested with OSX system install)
parent
febde6d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
6edd25d8
...
...
@@ -1062,8 +1062,9 @@ function spawn_pd(gui_path, port) {
platform
=
process
.
platform
,
flags
=
[
"
-guiport
"
,
port
];
if
(
platform
===
"
darwin
"
)
{
// OSX
pd_binary
=
path
.
join
(
gui_path
,
"
pd-l2ork
"
);
// OSX -- this is currently tailored to work with an app bundle. It
// hasn't been tested with a system install of pd-l2ork
pd_binary
=
path
.
join
(
"
bin
"
,
"
pd-l2ork
"
);
}
else
{
pd_binary
=
path
.
join
(
gui_path
,
"
..
"
,
"
bin
"
,
"
pd-l2ork
"
);
flags
.
push
(
"
-nrt
"
);
// for some reason realtime causes watchdog to die
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment