Lazy system.load torrent lib

This commit is contained in:
Osten
2025-02-26 19:12:16 +01:00
committed by GitHub
parent 126062bb26
commit 846ff38c3b
2 changed files with 3 additions and 5 deletions

View File

@ -196,11 +196,9 @@ object Torrent {
).parsed<TorrentStatus>()
}
/** Spins up the torrent server.
*
* FYI this will throw a os.Exit(1) if port is taken and is not currently checked,
* so if someone complains then add an extra check. */
/** Spins up the torrent server. */
private suspend fun setup(dir: String): Boolean {
go.Seq.load()
if (echo()) {
return true
}

View File

@ -40,7 +40,7 @@ safefile = "0.0.8"
shimmer = "0.5.0"
swiperefreshlayout = "1.1.0"
tmdbJava = "2.11.0"
torrentserver = "883c17942d"
torrentserver = "7861970e038b35cd8c6918384e49caf26903e09e"
tvprovider = "1.0.0"
video = "1.0.0"
workRuntime = "2.10.0"