Installer fails to patch ssb-interop.js on OS X Sierra
Closed this issue · 2 comments
I resorted to manually editing ssb-interop.js
and adding the lines
var mwsp = path.join(__dirname, 'math-with-slack.js').replace('app.asar', 'app.asar.unpacked');
require('fs').readFile(mwsp, 'utf8', (e, r) => { if (e) { throw e; } else { eval(r); } });
before the last start()
function call, this seems to do the trick.
The installer script doesn't print any error. I had some doubts about permission problems with sudo
, but the issue seems to be with the ed
line instead (I think), because I tried to run the script pointing to a copy of ssb-interop.js
owned by my user and it had no effect on it. I'm not familiar with the ed
syntax but I suspect the first line starting with slash (/init...
) is searching for that string? I've noticed that my version of ssb-interop.js
has no such string. I'm using the client version 2.8.1 App Store.
Thanks for the report @robertomon. The current version of math-with-slack works with the latest version of Slack (i.e., 3.2.0). For prior Slack versions, please use math-with-slack v0.2.3.
Thanks, not sure why my App Store wasn't marking Slack as needing an update!