Skip to content

Commit d676324

Browse files
committed
🔁 | Update release! v1.6
- Fixed typographical error :P Signed-off-by: Τ Ι Λ ϟ Η <MrCarb0n@proton.me>
1 parent 004face commit d676324

File tree

7 files changed

+35
-16
lines changed

7 files changed

+35
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Release v1.6
2+
- **KillGMSFont Module v1.6**
3+
- Fixed typographical error :P
4+
15
## Release v1.5
26
- **KillGMSFont Module v1.5**
37
- Fixed typos in README.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ installed fonts.
5151
[2]: https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
5252
[3]: https://play.google.com/store/apps/dev?id=5700313618786177705
5353
[4]: https://github.com/MrCarb0n/killgmsfont
54-
[5]: https://github.com/MrCarb0n/killgmsfont/releases/download/v1.5/KillGMSFont_v1.5.zip
54+
[5]: https://github.com/MrCarb0n/killgmsfont/releases/download/v1.6/killgmsfont_v1.6.zip
5555
[6]: /extension/killgmsfont.zip?raw=true
5656
[7]: https://github.com/topjohnwu/Magisk/releases
5757
[8]: https://gitlab.com/nongthaihoang/oh_my_font/-/raw/master/releases/OMF.zip

build.sh

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
1+
#!/system/bin/sh
12
# build script: killgmsfont
23

3-
KGF=killgmsfont.zip
4+
set -x
45

6+
VER="_$(sed -n 's/^version=\(.*\)/\1/p' module.prop)"
7+
EXTZ="killgmsfont.zip"
8+
OUTF="killgmsfont$VER.zip"
9+
OUTZ="killgmsfont$VER-signed.zip"
10+
11+
# Copy and modify extension script
512
cp extension/dev_killgmsfont.sh extension/89_killgmsfont.sh
6-
[ -f extension/$KGF ] && rm -v extension/$KGF
7-
zip -m9 -j extension/$KGF extension/89_killgmsfont.sh
813

9-
[ -f ../$KGF ] && rm -v ../$KGF
10-
zip -r9 ../$KGF * -x "extension/*" build.sh
11-
zipsigner ~/x509.pem ~/pk8 ../$KGF
14+
# Remove existing signed file
15+
[ -f extension/$EXTZ ] && rm -v extension/$EXTZ
16+
17+
# Create and sign the zip file
18+
zip -m9 -j extension/$EXTZ extension/89_killgmsfont.sh
19+
20+
# Remove existing signed file from the parent directory
21+
[ -f ../$OUTF ] && rm -v ../$OUTF
22+
23+
# Create a zip file excluding the extension directory and the build script
24+
zip -r9 ../$OUTF * -x "extension/*" "build.sh"
25+
26+
# Sign the created zip file
27+
zipsigner ~/x509.pem ~/pk8 ../$OUTF ../$OUTZ
28+
29+
# Rename the signed file back to the original filename
30+
[ -f ../$OUTF ] && rm ../$OUTF; mv ../$OUTZ ../$OUTF

customize.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ for d in /data/fonts /data/data/$GMSFD /data/user/*/$GMSFD; do
6262
[ -d $d ] && ui_print " Found: $d"
6363
done
6464

65-
ui_print ' Done'
6665
ui_print ''
6766

6867
# Generating supporting files
@@ -124,7 +123,6 @@ done
124123
EOF
125124
ui_print " Generated: service.sh"
126125

127-
ui_print ' Done'
128126
ui_print ''
129127

130128
# Remove unnecessary files and print only the filenames
@@ -139,7 +137,6 @@ for file in $MODPATH/*; do
139137
}
140138
done
141139

142-
ui_print ' Done'
143140
ui_print ''
144141

145142
# Set permissions individually for each file and print only the filenames
@@ -152,5 +149,4 @@ for PERM in $MODPATH/*; do
152149
fi
153150
done
154151

155-
ui_print ' Done'
156152
ui_print ''

extension/killgmsfont.zip

0 Bytes
Binary file not shown.

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=killgmsfont
22
name=Kill GMS Font
3-
version=v1.5
4-
versionCode=15
3+
version=v1.6
4+
versionCode=16
55
author=MrCarb0n
66
description=Revoke GMS's Font Provider service to allow GApps and other apps to use system or custom installed fonts.
77
updateJson=https://raw.githubusercontent.com/MrCarb0n/killgmsfont/master/update.json

update.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "v1.5",
3-
"versionCode": 15,
4-
"zipUrl": "https://github.com/MrCarb0n/killgmsfont/releases/download/v1.5/KillGMSFont_v1.5.zip",
2+
"version": "v1.6",
3+
"versionCode": 16,
4+
"zipUrl": "https://github.com/MrCarb0n/killgmsfont/releases/download/v1.6/killgmsfont_v1.6.zip",
55
"changelog": "https://raw.githubusercontent.com/MrCarb0n/killgmsfont/master/CHANGELOG.md"
66
}

0 commit comments

Comments
 (0)