mirror of
https://gitlab.com/newbit/rootAVD.git
synced 2026-07-03 13:15:10 +02:00
Fixed arithmetic syntax error in decompress_ramdisk
This commit is contained in:
@@ -338,6 +338,8 @@ rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-31\google_apis_play
|
||||
</details>
|
||||
|
||||
### Change Logs
|
||||
#### [December 2022]
|
||||
* [rootAVD.sh] - Fixed arithmetic syntax error in decompress_ramdisk
|
||||
#### [November 2022]
|
||||
* [General] - Bug fixes
|
||||
* [General] - Updated to Magisk Stable Version 25.2
|
||||
|
||||
+3
-2
@@ -1246,7 +1246,7 @@ decompress_ramdisk(){
|
||||
|
||||
if [ "$DERIVATE" == "BlueStacks" ]; then
|
||||
$RAMDISK_GZ && gzip -fdk $RDF$ENDG
|
||||
COUNT=`strings -t d $RDF | grep TRAILER\!\! | wc -l`
|
||||
COUNT=`strings -t d $RDF | grep TRAILER | wc -l`
|
||||
REPACKRAMDISK=1
|
||||
fi
|
||||
|
||||
@@ -1260,7 +1260,8 @@ decompress_ramdisk(){
|
||||
OBS=4096
|
||||
OF=$TMP/temp$ENDG
|
||||
|
||||
RAMDISKS=`strings -t d $RDF | grep TRAILER`
|
||||
RAMDISKS=`strings -t d $RDF | grep TRAILER | sed 's|TRAILER.*|TRAILER|'`
|
||||
|
||||
for OFFSET in $RAMDISKS; do
|
||||
|
||||
# calculate offset to next archive
|
||||
|
||||
Reference in New Issue
Block a user