You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is certainly a neat concept, but after hacking at it for a bit over an hour I can't find any way to leverage this technique for Slack, likely because it's an electron app, and you need this function to run inside the BrowserWindow directly
It should run inside the BrowserWindow, in fact prior to electron's preload. I've used this with some success on applications like Discord.
Did you set NODE_OPTIONS in your bashrc/zshrc/fish.config? If so, slack probably wouldn't see it. You'd need to put it somewhere like /etc/environment, /etc/launchd.conf, etc.
I don't use slack, but I thought it might be helpful to share this technique:
Create a file:
/path/to/file.js
Set your
NODE_OPTIONS
to-r /path/to/file.js
Put some protections at the start, because this will now run every time any node.js starts on your computer.
The text was updated successfully, but these errors were encountered: