mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 16:21:50 +01:00
fix windows path
This commit is contained in:
parent
e0e474dfce
commit
c8a8ce07e2
@ -68,7 +68,7 @@ object Extension {
|
|||||||
|
|
||||||
suspend fun installAPK(fetcher: suspend () -> String): Int {
|
suspend fun installAPK(fetcher: suspend () -> String): Int {
|
||||||
val apkFilePath = fetcher()
|
val apkFilePath = fetcher()
|
||||||
val apkName = Uri.parse(apkFilePath).lastPathSegment!!
|
val apkName = File(apkFilePath).name
|
||||||
|
|
||||||
// check if we don't have the extension already installed
|
// check if we don't have the extension already installed
|
||||||
// if it's installed and we want to update, it first has to be uninstalled
|
// if it's installed and we want to update, it first has to be uninstalled
|
||||||
|
Loading…
Reference in New Issue
Block a user