-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea06448
commit 250f1a3
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
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,9 @@ | ||
#!/usr/bin/env bash | ||
rm -rf EWay_Scooter_v1.0.15_speed EWay_Scooter_v1.0.15_speed.apk | ||
rm -rf EWay_Scooter_v1.0.15_speed EWay_Scooter_v1.0.15_speed_unaligned.apk EWay_Scooter_v1.0.15_speed.apk | ||
cp -r EWay_Scooter_v1.0.15_original EWay_Scooter_v1.0.15_speed | ||
patch -s -p0 < max_speed.patch | ||
java -jar apktool_2.6.0.jar b EWay_Scooter_v1.0.15_speed -o EWay_Scooter_v1.0.15_speed.apk | ||
apksigner sign --ks android.jks --ks-pass pass:abcdef12 EWay_Scooter_v1.0.15_speed.apk | ||
java -jar apktool_2.6.0.jar b EWay_Scooter_v1.0.15_speed -o EWay_Scooter_v1.0.15_speed_unaligned.apk | ||
apksigner sign --ks android.jks --ks-pass pass:abcdef12 EWay_Scooter_v1.0.15_speed_unaligned.apk | ||
zipalign -p -f 4 EWay_Scooter_v1.0.15_speed_unaligned.apk EWay_Scooter_v1.0.15_speed.apk | ||
rm -rf EWay_Scooter_v1.0.15_speed EWay_Scooter_v1.0.15_speed_unaligned.apk | ||
python3 -m http.server 8000 |