File tree Expand file tree Collapse file tree 7 files changed +35
-16
lines changed
Expand file tree Collapse file tree 7 files changed +35
-16
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
512cp 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
Original file line number Diff line number Diff 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 "
6363done
6464
65- ui_print ' Done'
6665ui_print ' '
6766
6867# Generating supporting files
124123EOF
125124ui_print " Generated: service.sh"
126125
127- ui_print ' Done'
128126ui_print ' '
129127
130128# Remove unnecessary files and print only the filenames
@@ -139,7 +137,6 @@ for file in $MODPATH/*; do
139137 }
140138done
141139
142- ui_print ' Done'
143140ui_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
153150done
154151
155- ui_print ' Done'
156152ui_print ' '
Original file line number Diff line number Diff line change 11id=killgmsfont
22name=Kill GMS Font
3- version=v1.5
4- versionCode=15
3+ version=v1.6
4+ versionCode=16
55author=MrCarb0n
66description=Revoke GMS's Font Provider service to allow GApps and other apps to use system or custom installed fonts.
77updateJson=https://raw.githubusercontent.com/MrCarb0n/killgmsfont/master/update.json
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments