aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: 713a6d6a0fb918108bd79d61dca1b5dc69227d52 (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
29
### 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 (except the last line: `})();`) 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 `rm -rf pkg/ src/ && makepkg --install --force` to check whether the installation works
successfully.

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

- Commit and push.