kfahy / slack-disable-wysiwyg-bookmarklet

Disables the WYSIWYG editor in Slack.
MIT License
824 stars 23 forks source link

add linux support to desktop patch script #22

Closed wallw-teal closed 4 years ago

wallw-teal commented 4 years ago

On linux, the user must now pass in the path to the resources directory as an argument to the script. Also adjusted a couple of other items like sudo env ... to work properly in linux.

Added a note to the README to ensure that the user knows to run Slack with the dev mode on.

I have a macbook at home so I can test that it still works in OS X when I get back if someone else does not get to it before I do.

wallw-teal commented 4 years ago

Tested on RHEL7 and OS X and the patch script worked. I was able to set SLACK_DEVELOPER_MENU=true more permanently on RHEL7 by sticking export SLACK_DEVELOPER_MENU=true in ~/.profile and logging out/back in. I was not able to achieve a similar solution on OS X (only export SLACK_DEVELOPER_MENU=true && open -a /Applications/Slack.app/ worked).

arush-sal commented 4 years ago

tested it on Ubuntu 18.04 and can confirm that the patch is working.