mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-09-20 05:17:19 +02:00
Compare commits
2 Commits
0d71becc97
...
e1ea7d1815
Author | SHA1 | Date | |
---|---|---|---|
e1ea7d1815 | |||
467bacb209 |
2
.pre-commit-config.yaml
vendored
2
.pre-commit-config.yaml
vendored
@ -14,7 +14,7 @@ default_language_version:
|
|||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
# Enable adblocking DNS-over-TLS
|
||||||
|
(adb "$@" shell settings put global private_dns_mode hostname &)
|
||||||
|
(adb "$@" shell settings put global private_dns_specifier noads.joindns4.eu &)
|
||||||
|
(adb "$@" shell cmd device_config put netd_native doh 1 &)
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# As the GUI method did nothing for me, this will hopefully reset all
|
# As the GUI method did nothing for me, this will hopefully reset all
|
||||||
# permissions of apps on an Android device.
|
# permissions of apps on an Android device.
|
||||||
adb "$@" shell pm reset-permissions
|
adb "$@" shell pm reset-permissions
|
||||||
|
sleep 5
|
||||||
adb "$@" reboot
|
adb "$@" reboot
|
||||||
set +x
|
set +x
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit f0a79ee70442deee0faf234400ba9d5a7f902ceb
|
Subproject commit 77efcc12feb776818b8c6e5f288759f87b3532c7
|
Loading…
x
Reference in New Issue
Block a user