mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-04 18:05:04 +00:00
Merge pull request #126 from ostajic/dev
Version Check Crash Fix When Youtube Is Not Installed At All
This commit is contained in:
commit
f6345c2dd5
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ class VancedDownloadService: Service() {
|
|||
|
||||
private fun downloadStockCheck():Boolean
|
||||
{
|
||||
return getPkgVerCode(yPkg, packageManager) != vancedVersionCode
|
||||
|
||||
return try {getPkgVerCode(yPkg, packageManager) != vancedVersionCode}catch (e: Exception) {true}
|
||||
}
|
||||
suspend fun getSha256(obj: String) {
|
||||
sha256Val = InternetTools.getJsonString(hashUrl,obj,applicationContext)
|
||||
|
|
Loading…
Reference in a new issue