miuicamera: Stop splitting and set up git lfs for MiuiCamera.apk

This commit is contained in:
COSMIC
2024-11-24 19:12:02 +05:30
parent ba67344803
commit f3f1984a7c
8 changed files with 4 additions and 7 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
MiuiCamera.apk filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored
View File

@@ -1 +0,0 @@
MiuiCamera.apk

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9e144441bc627fb72993fed8c6b88c880fc70d13397340e1cc3e5cbe6974c4a
size 114297065

View File

@@ -82,10 +82,6 @@ function blob_fixup() {
[ "$2" = "" ] && return 0
"${PATCHELF_0_17_2}" --set-soname libgallery_mpbase.so "${2}"
;;
system/priv-app/MiuiCamera/MiuiCamera.apk)
[ "$2" = "" ] && return 0
split --bytes=49M -d "$2" "$2".part
;;
*)
return 1
;;

View File

@@ -1,2 +0,0 @@
# Merge MiuiCamera App
cat vendor/xiaomi/miuicamera/common/proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk.part* > vendor/xiaomi/miuicamera/common/proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk