Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Broken with latest Slack 3.0.0 update (macOS) #34

Open
jcredmond opened this issue Dec 11, 2017 · 20 comments
Open

Broken with latest Slack 3.0.0 update (macOS) #34

jcredmond opened this issue Dec 11, 2017 · 20 comments

Comments

@jcredmond
Copy link

No description provided.

@jcredmond jcredmond changed the title Broken with latest Slace 3.0.0 update (macOS) Broken with latest Slack 3.0.0 update (macOS) Dec 11, 2017
@al-k21
Copy link

al-k21 commented Dec 11, 2017

Doesn't work for me either.

I would really appreciate it this get's fixed.
Thanks!

@bogdanRada
Copy link

I found a fix for Ubuntu. instead of changing the /usr/lib/slack/app.asar.unpacked/src/static/index.js
i changed this file /usr/lib/slack/app.asar.unpacked/src/static/ssb-interop.js, where i put the same code from the Readme of the repo and it worked perfectly.

Found the solution by looking at a similar repo that had a similar issue, found the solution by reading the comment: laCour/slack-night-mode#73 (comment)

@nahuef
Copy link

nahuef commented Dec 11, 2017

bogdanRada solution worked for me in macOS Sierra, thank you!

@gtdeng
Copy link

gtdeng commented Dec 11, 2017

bogdanRada solution worked for me in macOS High Sierra, thanks! @jcredmond ^^

@kharagpur
Copy link

@bogdanRada Thanks! Worked on macOS High Sierra - Slack 3.0.0.

@mysteryDate
Copy link

Worked for me as well! For clarity, the path on MacOS is now:

/Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js

@Rarayeku
Copy link

Worked for me too, thank you bogdanRada! macOS Sierra - Slack 3.0.0

@k3vb0t
Copy link

k3vb0t commented Dec 13, 2017

After killing all the processes on Ubuntu 16.04 this worked for me too

@nprezive
Copy link

nprezive commented Dec 13, 2017

bogdanRada's solution works on Windows 10 as well. Thanks!

For clarity, the Windows path to the file is:
C:\Users\{username}\AppData\Local\slack\app-3.0.0\resources\app.asar.unpacked\src\static

@SeanWhipple
Copy link

That location definitely modified the visual effects, but themes no longer match up. Do those need to be updated as well?

@offlinehoster
Copy link

offlinehoster commented Dec 14, 2017

Not working on Linux currently.

But it's working with laCour/slack-night-mode#73 (comment)

@daviddob
Copy link

Note: you need to modify both index.js and ssb-interop.js to get the full functionality (both sidebar and main content window) as before.

@CryptoSiD
Copy link

CryptoSiD commented Dec 19, 2017

Thanks @bogdanRada.

Also working on windows 10!

EDIT: I just found a little "issue"
ygxcitb

@Ralms
Copy link

Ralms commented Jan 10, 2018

The solution from @bogdanRada worked great on Windows 10 with Slack 3.0.0!
Thanks

@yuyoyuppe
Copy link

yuyoyuppe commented Jan 10, 2018

Seems like Slack updated smth internally, and after that messages' text color was always dark grey for me. Fixed it with:

   .c-message__body{
     color: #ffffff;
   }

@hainesnr
Copy link

@yuyoyuppe where is this added?

@yuyoyuppe
Copy link

@hainesnr append it to rules in the let customCustomCSS

@Cannellizer
Copy link

@yuyoyuppe Thanks for posting that. Do you know how we could change the font color for the names on each post as well?

@yuyoyuppe
Copy link

yuyoyuppe commented Jan 12, 2018

@Cannellizer Not sure what you mean, though you could try inspecting html yourself by adding smth like this to the cssPromise callback:

setTimeout(function(){ 
var fs = require('fs');
  fs.appendFileSync("C:/slack.html", document.head.innerHTML + document.body.innerHTML); 

}, 10000);

It was a quick fix though, maybe there's a better way how to get html/style those of which I'm not aware. I think maintainers'll introduce a proper fix soon :)

@janoskranczler
Copy link

Names are still dark-grey after the patch :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests