mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-15 23:35:06 +00:00
Unmount older mounts
This commit is contained in:
parent
bf0bde9e50
commit
55b33df842
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ class RootSplitInstallerService: Service() {
|
|||
private fun linkVanced(apkFPath: String, path: String): Boolean
|
||||
{
|
||||
Shell.su("am force-stop $yPkg").exec()
|
||||
val umountv = Shell.su("""for i in ${'$'}(ls /data/app/ | grep com.google.android.youtube | tr " "); do umount -l "/data/app/${"$"}i/base.apk"; done """)
|
||||
val response = Shell.su("""su -mm -c "mount -o bind $apkFPath $path"""").exec()
|
||||
Thread.sleep(500)
|
||||
|
||||
|
|
Loading…
Reference in a new issue