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

Can't find or modify ssb-interop.js on Ubuntu 18.04 #68

Open
andriisivak opened this issue Sep 10, 2018 · 8 comments
Open

Can't find or modify ssb-interop.js on Ubuntu 18.04 #68

andriisivak opened this issue Sep 10, 2018 · 8 comments

Comments

@andriisivak
Copy link

  1. Locate ssb-interop.js on Ubuntu 18.04
    screenshot from 2018-09-10 15-45-25
  2. sudo vi /snap/slack/6/usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js
  3. Can't modify any of these files: read-only.

I think, that I must modify another source in Ubuntu 18.04.

@RobertLHarris
Copy link

I didn't use the snap, but:

{0}:/home/robert/RLH-Env/Slack>ls -la /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js
-rw-r--r-- 1 robert root 7670 Sep 10 10:16 /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js

What do you get with "find / -iname ssb-interop.js -ls" ?

@andriisivak
Copy link
Author

screenshot from 2018-09-11 17-56-22

@andriisivak
Copy link
Author

it seems that these files are temporary. and I must to find another main source

@Oregand
Copy link

Oregand commented Oct 26, 2018

Any joy on this @RodriAn ?

@andriisivak
Copy link
Author

@Oregand I uninstalled Slack and installed it again without snap. I could find ssb-interop.js and was able to apply the dark scheme. but the central window still had a white background. and I was forced to remove the dark scheme. so sorry

@Oregand
Copy link

Oregand commented Oct 27, 2018

@RodriAn

Thats no problem, I tried the same steps and ended up with a similar result and so hand to uninstall the theme too. More trial and error is needed.

Thank you so much for getting back to me!

@stantonxu
Copy link

I just noticed that in the more recent update of Slack on Mac, this file doesn't exist any longer. So the workaround of appending a eventlistener at the bottom of ssb-interop.js file is no longer valid.

Meantime, Slack just released the dark mode officially supported versions of iOS and Andriod, saying MacOS version for it will come later.

@lysandroc
Copy link

I have the same problem @stantonxu from Linux with Slack v4.0.0

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

5 participants