fsavje / math-with-slack

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

Fix Windows install detection when username has spaces #31

Closed Xyene closed 6 years ago

Xyene commented 6 years ago

Noticed this while putting together a derivative to fix Slack emojis; if the path isn't quoted and username has spaces, you get errors like:

> math-with-slack.bat
The system cannot find the path specified.
Cannot find Slack installation.
Press any key to continue . . .
fsavje commented 6 years ago

Nice catch! Thanks, will be included in next release.