Update dependencies
This commit is contained in:
@@ -43,7 +43,7 @@ class BoxService(
|
||||
baseDir.mkdirs()
|
||||
val tempDir = Application.application.cacheDir
|
||||
tempDir.mkdirs()
|
||||
Libbox.setup(baseDir.path, tempDir.path)
|
||||
Libbox.setup(baseDir.path, baseDir.path, tempDir.path, false)
|
||||
Libbox.redirectStderr(File(baseDir, "stderr.log").path)
|
||||
initializeOnce = true
|
||||
return
|
||||
@@ -88,7 +88,7 @@ class BoxService(
|
||||
|
||||
private fun startCommandServer() {
|
||||
val commandServer =
|
||||
CommandServer(Application.application.filesDir.absolutePath, this, 300)
|
||||
CommandServer(this, 300)
|
||||
commandServer.start()
|
||||
this.commandServer = commandServer
|
||||
}
|
||||
|
||||
@@ -279,8 +279,7 @@ class DashboardFragment : Fragment(), CommandClientHandler {
|
||||
return
|
||||
}
|
||||
runCatching {
|
||||
Libbox.newStandaloneCommandClient(mainActivity.filesDir.absolutePath)
|
||||
.serviceReload()
|
||||
Libbox.newStandaloneCommandClient().serviceReload()
|
||||
}.onFailure {
|
||||
withContext(Dispatchers.Main) {
|
||||
mainActivity.errorDialogBuilder(it).show()
|
||||
|
||||
Reference in New Issue
Block a user