mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-23 13:02:34 +01:00
fix windows path
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user