Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math-with-slack integrity check error on windows #54

Open
jasondlee88 opened this issue May 11, 2024 · 4 comments
Open

math-with-slack integrity check error on windows #54

jasondlee88 opened this issue May 11, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jasondlee88
Copy link

I am on slack 4.3.8.121 and after running math-with-slack binary get the error 'Integrity check failed for asar archive'
and then afterwards, the slack won't launch

@rychdau
Copy link

rychdau commented May 12, 2024

On my Windows installation of Slack 4.38.121 I am having the same issue. When I run the binary it injects MathJax as expected, but then Slack fails to launch and, in my case, I had to reinstall desktop Slack again.

If there is a way to recover a log file from the binary I would be happy to share it here to help the issue get resolved (and thank you for the time you put into making this!)

@sabaronett
Copy link

Same issue

@thisiscam
Copy link
Owner

Hi all! I'm quite packed this month. I will look into this in one or two weeks (and also when I get an access to a windows machine). thanks!

@thisiscam
Copy link
Owner

thisiscam commented Jul 28, 2024

Apologies on the delay! I looked into this and it appears like Electron has implemented a MacOS-like code integrity check for Windows since Jan: electron/pull/40504

I think it's theoretically possible to bypass this, similar to how it's done on MacOS. But, it will require admin access (same as code signing on MacOS requires root), and might also involve temporarily bypassing "Microsoft Defender SmartScreen".

Unfortunately, I don't regularly use a Windows machine and currently doesn't have much time to implement this.
If anyone wants to take the lead, feel free to PR!

To be honest, all the tampering with code-signing of the Slack app is pretty hand-wavy.
But, I just don't know if there's a better way --- even after all these years, still no official TeX support in Slack makes me sad.

@thisiscam thisiscam added bug Something isn't working help wanted Extra attention is needed labels Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants