fsavje / math-with-slack

Rendered math (MathJax) with Slack's desktop client
MIT License
433 stars 63 forks source link

Cannot find Slack installation #20

Closed gauss256 closed 7 years ago

gauss256 commented 7 years ago

It stopped rendering math so I tried to reinstall. I get the error message "Cannot find Slack installation".

Windows 64-bit Slack version: 2.7.1 64-bit Beta Channel

fsavje commented 7 years ago

The script is not made to automatically find beta versions of slack, so you'll need to specify the installation yourself.

There will be a folder something like "AppData\Local\slack\2.7.1-beta\resources\app.asar.unpacked\src\static" in your user profile folder, call the script with that as a provided parameter. E.g.:

math_with_slack.bat %gauss256%\AppData\Local\slack\%2.7.1-beta%\resources\app.asar.unpacked\src\static

where you need to change %gauss256% and %2.7.1-beta% to the appropriate values.

Please let me know if this work.

gauss256 commented 7 years ago

OK, I've figured it out. For some reason the installation .bat file stopped working. Fixing it required the use of delayed expansion.

I'll do a pull request.

gauss256 commented 7 years ago

@fsavje Our comments crossed. Fortunately, finding the beta version was not a problem. (How did I get on the beta channel anyway??)

Not only is the installation working again in my fork, but the math is rendering properly too.

fsavje commented 7 years ago

This should be addressed with version 0.2.2. Please let me know if it isn't.

gauss256 commented 7 years ago

Works here.