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

Not working #55

Open
Navds opened this issue Jun 25, 2018 · 1 comment
Open

Not working #55

Navds opened this issue Jun 25, 2018 · 1 comment

Comments

@Navds
Copy link

Navds commented Jun 25, 2018

Or maybe I missed something in the installation.
Slack 3.2.1 64-bit on Linux
Here is what I did:

  1. Added the js at the bottom line of /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js
  ...............................................................................
  const resourcePath = path.join(__dirname, '..', '..');
  const mainModule = require.resolve('../ssb/main.ts');
  const isDevMode = loadSettings.devMode && isPrebuilt();

  init(resourcePath, mainModule, !isDevMode);
}

// First make sure the wrapper app is loaded
document.addEventListener("DOMContentLoaded", function() {

   // Then get its webviews
   let webviews = document.querySelectorAll(".TeamView webview");
   ...............................................................................
  1. Restart Slack
@willpower232
Copy link

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

No branches or pull requests

2 participants