diff --git a/README.md b/README.md index 1795cb1..519254f 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ To use Simple Slack, you need to do some nerdy stuff, but it's really easy too. First, open the *Terminal* (this is a built-in Mac application). Then copy and paste this text into the Terminal, and press `Enter`: ``` -git clone https://github.com/jonathan-palumbo/simple-slack +git clone https://github.com/justin-dwyer/simple-slack cd simple-slack ``` After you run those commands, quit the Slack application, then copy and paste this into the Terminal: ``` -./slack-dark-mode.sh +./simple-slack.sh ``` Then open Slack, press `ctrl+d`, and Simple Slack should work! diff --git a/event-listener.js b/event-listener.js index 1d74c31..da2d6a0 100644 --- a/event-listener.js +++ b/event-listener.js @@ -55,4 +55,5 @@ document.addEventListener('DOMContentLoaded', function () { thread.click(); } }); + }}); }); diff --git a/simple-slack.sh b/simple-slack.sh index c29247d..9e8d0ef 100755 --- a/simple-slack.sh +++ b/simple-slack.sh @@ -12,7 +12,8 @@ if [[ -d $OSX_SLACK_RESOURCES_DIR ]]; then fi SLACK_EVENT_LISTENER="event-listener.js" -SLACK_FILEPATH="$SLACK_RESOURCES_DIR/app.asar.unpacked/dist/ssb-interop.bundle.js" +# SLACK_FILEPATH="$SLACK_RESOURCES_DIR/app.asar.unpacked/dist/ssb-interop.bundle.js" +SLACK_FILEPATH="$SLACK_RESOURCES_DIR/app.asar.unpacked/dist/main-preload-entry-point.bundle.js" THEME_FILEPATH="$SLACK_RESOURCES_DIR/simple-slack.css" echo "Simplifying Slack... "