Skip to content

Commit d66803e

Browse files
committed
Version 0.2.3
1 parent bfdd5c0 commit d66803e

File tree

5 files changed

+24
-10
lines changed

5 files changed

+24
-10
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Fredrik Sävje
3+
Copyright (c) 2018 Fredrik Sävje
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# math-with-slack 0.2.3
2+
3+
* Minor fixes.
4+
* Uses MathJax v2.7.2.
5+
6+
17
# math-with-slack 0.2.2
28

39
* Minor fixes.

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,38 @@ Download and run your platform's script. Restart the Slack client. You're done!
2222
Run the following in a terminal:
2323

2424
```shell
25-
curl -OL https://github.com/fsavje/math-with-slack/releases/download/v0.2.2/math_with_slack.sh
26-
sudo bash math_with_slack.sh
25+
curl -OL https://github.com/fsavje/math-with-slack/releases/download/v0.2.3/math-with-slack.sh
26+
sudo bash math-with-slack.sh
2727
```
2828

2929

3030
### Windows
3131

32-
[Download the script](https://github.com/fsavje/math-with-slack/releases/download/v0.2.2/math_with_slack.bat) and double-click to run. Alternatively, run it in the command prompt with:
32+
[Download the script](https://github.com/fsavje/math-with-slack/releases/download/v0.2.3/math-with-slack.bat) and double-click to run. Alternatively, run it in the command prompt with:
3333

3434
```shell
35-
math_with_slack.bat
35+
math-with-slack.bat
3636
```
3737

3838
(Windows will probably give you a security warning when running the script since it's downloaded from Internet.)
3939

40+
The script assumes that you've downloaded the app directly from Slack. If you're using the Windows Store version, it will not find Slack's location. You need to provide the location yourself in that case (see "If Slack cannot be found" below). The app will most likely be installed at `C:\Program Files\WindowsApps\` and the folder might be named something like `A12B23C.Slack_2.9.0.0_x64__A12B23C`. You would then call the script with:
41+
42+
```shell
43+
math-with-slack.bat "C:\Program Files\WindowsApps\A12B23C.Slack_2.9.0.0_x64__A12B23C\app\resources\app.asar.unpacked\src\static"
44+
```
45+
4046

4147
### Uninstall
4248

4349
To uninstall, run the script again with the `-u` flag:
4450

4551
```shell
46-
sudo bash math_with_slack.sh -u
52+
sudo bash math-with-slack.sh -u
4753
```
4854

4955
```shell
50-
math_with_slack.bat -u
56+
math-with-slack.bat -u
5157
```
5258

5359

@@ -61,11 +67,11 @@ The code injected by the script might be overwritten when you update the Slack a
6167
If you've installed Slack in some exotic place, the script might not find the installation by itself or it might find the wrong installation. In such cases, you need to specify the location of Slack's `app.asar.unpacked/src/static` folder as a parameter:
6268

6369
```shell
64-
sudo bash math_with_slack.sh /My_Apps/Slack.app/Contents/Resources/app.asar.unpacked/src/static
70+
sudo bash math-with-slack.sh /My_Apps/Slack.app/Contents/Resources/app.asar.unpacked/src/static
6571
```
6672

6773
```shell
68-
math_with_slack.bat E:\My_Apps\slack\app-2.5.1\resources\app.asar.unpacked\src\static
74+
math-with-slack.bat E:\My_Apps\slack\app-2.5.1\resources\app.asar.unpacked\src\static
6975
```
7076

7177

@@ -78,7 +84,7 @@ Note that only users with MathJax injected in their client will see the rendered
7884

7985
## How does it work?
8086

81-
The script alters how Slack is loaded. Under the hood, the desktop client is based on ordinary web technology. The modified client loads the [MathJax library](https://www.mathjax.org) after start-up and adds a listener for messages. As soon as it detects a new message, it looks for TeX-styled math and tries to render. Everything is done in the client; messages are *never* sent to any server for rendering.
87+
The script alters how Slack is loaded. Under the hood, the desktop client is based on ordinary web technology. The modified client loads the [MathJax library](https://www.mathjax.org) after start-up and adds a listener for messages. As soon as it detects a new message, it looks for TeX-styled math and tries to render. Everything is done in the client. Messages are *never* sent to servers for rendering.
8288

8389

8490
## Can I contribute?
@@ -92,6 +98,8 @@ Yes, please. Just add an [issue](https://github.com/fsavje/math-with-slack/issue
9298
* [chrispanag](https://github.com/chrispanag)
9399
* [crstnbr](https://github.com/crstnbr)
94100
* [gauss256](https://github.com/gauss256)
101+
* [jeanluct](https://github.com/jeanluct)
102+
* [LaurentHayez](https://github.com/LaurentHayez)
95103
* [NKudryavka](https://github.com/NKudryavka)
96104
* [peroxyacyl](https://github.com/peroxyacyl)
97105

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)