aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: c953441d83a5d0cc82a3516d311980d6eaf41574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
### How to update user script

Go to https://userstyles.org/styles/142096 and click
on `Install style as userscript` link to download the new file.

Copy the contents of the file you've just downloaded to
[whatsapp-nativefier-dark-inject.js](./whatsapp-nativefier-dark-inject.js)
from the begin of the file until you see the line with comment
`// End UserScript`.

### How to deploy

- Make sure the sha256 sums are valid at [PKGBUILD](PKGBUILD#L17).
    ```sh
    sha256sum whatsapp-nativefier-dark.png
    sha256sum whatsapp-nativefier-dark.desktop
    sha256sum whatsapp-nativefier-dark-inject.js
    ```

- Bump `pkgver` and `pkgrel` at [PKGBUILD](PKGBUILD#L4) accordingly
(see https://wiki.archlinux.org/index.php/PKGBUILD#Version).

- Run `makepkg --install --force` to check whether the installation works
successfully.

- Run `makepkg --printsrcinfo > .SRCINFO` to update [.SRCINFO](.SRCINFO).

- Commit and push.