mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-21 22:46:32 +05:30
1.4.0
This commit is contained in:
parent
5e7f6e33a0
commit
96622cd7f7
4 changed files with 6 additions and 6 deletions
|
|
@ -40,8 +40,8 @@ I provide nightly builds of the hosts file and installers for **Windows** (batch
|
|||
## Installation
|
||||
|
||||
```sh
|
||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/zant95/hblock/v1.3.5/hblock' \
|
||||
&& echo '6b72c5fae0b8aa25f895cb44066c9ff6400eafc470539e39d578bfe7e0015a82 /tmp/hblock' | shasum -c \
|
||||
curl -o /tmp/hblock 'https://raw.githubusercontent.com/zant95/hblock/v1.4.0/hblock' \
|
||||
&& echo 'cceaf9feffc8ca8d380238f92073c3cfce308d071cefbd4a341771dbc565eb23 /tmp/hblock' | shasum -c \
|
||||
&& sudo mv /tmp/hblock /usr/local/bin/hblock \
|
||||
&& sudo chown root:root /usr/local/bin/hblock \
|
||||
&& sudo chmod 755 /usr/local/bin/hblock
|
||||
|
|
|
|||
4
hblock
4
hblock
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Version: 1.3.5
|
||||
# Version: 1.4.0
|
||||
# Author: Héctor Molinero Fernández <hector@molinero.xyz>
|
||||
# Repository: https://github.com/zant95/hblock
|
||||
# License: MIT, https://opensource.org/licenses/MIT
|
||||
|
|
@ -187,7 +187,7 @@ showHelp() {
|
|||
}
|
||||
|
||||
showVersion() {
|
||||
printStdout '%s\n' '1.3.5'
|
||||
printStdout '%s\n' '1.4.0'
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hblock",
|
||||
"version": "1.3.5",
|
||||
"version": "1.4.0",
|
||||
"description": "Improve your security and privacy by blocking ads, tracking and malware domains",
|
||||
"keywords": [
|
||||
"ad-block",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
The following commands will schedule a daily update of the hosts file. See [this article](https://wiki.archlinux.org/index.php/Systemd/Timers) for more information about Systemd timers.
|
||||
|
||||
```sh
|
||||
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/zant95/hblock/v1.3.5/resources/systemd/hblock.{service,timer}' \
|
||||
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/zant95/hblock/v1.4.0/resources/systemd/hblock.{service,timer}' \
|
||||
&& echo '16d547d11d1eff1cd7109ef8436a899f2e868992b8d9de757e65d4ab94f64fe7 /tmp/hblock.service' | shasum -c \
|
||||
&& echo '79ecc28c13b2489400bd5ddc0ee61ddaf6c3225acb1d54b5cb4026f822ae60e8 /tmp/hblock.timer' | shasum -c \
|
||||
&& sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue