mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 03:14:40 -05:00
fix ambiguous reference issue on JDK 13+
This commit is contained in:
@@ -42,7 +42,7 @@ object Chromium {
|
|||||||
if (chromePath.exists() || chromiumZip.notExists()) return
|
if (chromePath.exists() || chromiumZip.notExists()) return
|
||||||
chromePath.createDirectories()
|
chromePath.createDirectories()
|
||||||
|
|
||||||
FileSystems.newFileSystem(chromiumZip, null).use {
|
FileSystems.newFileSystem(chromiumZip, null as ClassLoader?).use {
|
||||||
val src = it.getPath("/")
|
val src = it.getPath("/")
|
||||||
Files.walk(src)
|
Files.walk(src)
|
||||||
.asSequence()
|
.asSequence()
|
||||||
|
|||||||
Reference in New Issue
Block a user