Skip to content

Commit

Permalink
Fix Windows install detection when username has spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyene authored and fsavje committed Feb 8, 2018
1 parent d420855 commit c88909a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math-with-slack.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GOTO parse
:: Try to find slack if not provided by user

IF "%SLACK_DIR%" == "" (
FOR /F %%t IN ('DIR /B /OD %UserProfile%\AppData\Local\slack\app-?.*.*') DO (
FOR /F %%t IN ('DIR /B /OD "%UserProfile%\AppData\Local\slack\app-?.*.*"') DO (
SET SLACK_DIR=%UserProfile%\AppData\Local\slack\%%t\resources\app.asar.unpacked\src\static
)
)
Expand Down

0 comments on commit c88909a

Please sign in to comment.