0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-29 22:43:01 +00:00

fixed nonroot music installer

This commit is contained in:
Xinto 2020-11-13 19:39:50 +04:00
parent 1ccb043918
commit a8d35790db
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ object MusicDownloader {
if (variant == "root")
installMusicRoot(context)
else
install("${context.getExternalFilesDir("music/$variant")}/music.apk", context)
install("${context.getExternalFilesDir("music/nonroot")}/nonroot.apk", context)
}
}

View file

@ -77,7 +77,7 @@ object PackageHelper {
}
fun musicApkExists(context: Context): Boolean {
val apkPath = File(context.getExternalFilesDir("music/nonroot")?.path, "music.apk")
val apkPath = File(context.getExternalFilesDir("music/nonroot")?.path, "nonroot.apk")
if (apkPath.exists()) {
return true
}