From 8f6628c0c6becc1ab4360c8c5d678e76554fb20d Mon Sep 17 00:00:00 2001 From: Justin Dwyer Date: Mon, 2 Mar 2020 21:58:16 -0500 Subject: [PATCH] Simple Slack is fixed! The last comment here (https://github.com/laCour/slack-night-mode/issues/234) tipped me off to a fix here (https://github.com/caiceA/slack-black-theme/commit/c09f3e0fe9c3f362f3c8c9e55554da076a04a354\#diff-4e5b58d0c0e2e47e41878b4116e03b7f) which worked for me. --- README.md | 4 ++-- event-listener.js | 1 + simple-slack.sh | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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... "