-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from AdguardTeam/fix/52
Fix moving cert on Android 14 with Magisk Canary 26.4
- Loading branch information
Showing
5 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
id=adguardcert | ||
name=AdGuard Certificate | ||
version=v2.0 | ||
versionCode=35 | ||
version=v2.1 | ||
versionCode=36 | ||
author=AdGuard | ||
description=Moves AdGuard's root CA certificate from the user certificate store to the system certificate store. | ||
updateJson=https://raw.githubusercontent.com/AdguardTeam/adguardcert/master/update.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"version": "v2.0", | ||
"versionCode": 35, | ||
"zipUrl": "https://github.com/AdguardTeam/adguardcert/releases/download/v2.0/adguardcert-v2.0.zip", | ||
"changelog": "https://github.com/AdguardTeam/adguardcert/releases/tag/v2.0" | ||
"version": "v2.1", | ||
"versionCode": 36, | ||
"zipUrl": "https://github.com/AdguardTeam/adguardcert/releases/download/v2.1/adguardcert-v2.1.zip", | ||
"changelog": "https://github.com/AdguardTeam/adguardcert/releases/tag/v2.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
case version in | ||
*-*) | ||
;; | ||
*) | ||
git checkout -B master origin/master | ||
cat module/module.prop | ( | ||
IFS="=" | ||
while read k v; do | ||
read $k <<< "$v" | ||
done | ||
cat << EOF > update.json | ||
{ | ||
"version": "$version", | ||
"versionCode": $versionCode, | ||
"zipUrl": "https://github.com/AdguardTeam/adguardcert/releases/download/$version/adguardcert-$version.zip", | ||
"changelog": "https://github.com/AdguardTeam/adguardcert/releases/tag/$version" | ||
} | ||
EOF | ||
) | ||
git add update.json | ||
git commit -m "skipci: Update update.json" | ||
;; | ||
esac |