This repository was archived by the owner on Nov 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
addon/Website-Content-Size Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ download_size() {
1111 # Calculate and print estimated website size
1212 eval " $2 ='$(
1313 grep -e " Length" " $log_path " |
14- awk ' {sum+=$2} END {printf("%.0f ", sum / 1024 / 1024)}'
14+ awk ' {sum+=$2} END {printf("%.1f ", sum / 1024 / 1024)}'
1515 ) Mb'"
1616
1717 # Delete wget log file
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if [ -f "$BootAnimation_location" ] && selector 'Do you want to install the Pixe
2727 [ -f " $BootAnimation_location " ] || wget -O " $BootAnimation_location " " $BootAnimation_download "
2828
2929 # Extract archive
30- tar -xf " $BootAnimation_location "
30+ tar -xf " $BootAnimation_location " -C " $MODPATH /system/product/media/ "
3131
3232 # Remove archive
3333 rm " $BootAnimation_location "
@@ -59,7 +59,7 @@ if [ -f "$NgaResources_location" ] && selector 'Do you want to install NgaResour
5959 [ -f " $NgaResources_location " ] || wget -O " $NgaResources_location " " $NgaResources_download "
6060
6161 # Extract archive
62- tar -xf " $NgaResources_location "
62+ tar -xf " $NgaResources_location " -C " $MODPATH /system/product/app/ "
6363
6464 # Remove archive
6565 rm " $NgaResources_location "
@@ -79,7 +79,7 @@ if [ -f "$PixelWallpapers2021_location" ] && selector 'Do you want to install Pi
7979 [ -f " $PixelWallpapers2021_location " ] || wget -O " $PixelWallpapers2021_location " " $PixelWallpapers2021_download "
8080
8181 # Extract archive
82- tar -xf " $PixelWallpapers2021_location "
82+ tar -xf " $PixelWallpapers2021_location " -C " $MODPATH /system/product/app/ "
8383
8484 # Remove archive
8585 rm " $PixelWallpapers2021_location "
You can’t perform that action at this time.
0 commit comments