Added OS environment variable
This commit is contained in:
parent
9189245cc5
commit
72f8cf8fea
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class Bridge(private val applicationContext : Context, private var webview : Web
|
|||
private val assets = applicationContext.assets.list("")
|
||||
|
||||
init {
|
||||
Os.setenv("ELIXIR_DESKTOP_OS", "android", false);
|
||||
Os.setenv("BRIDGE_PORT", server.localPort.toString(), false);
|
||||
// not really the home directory, but persistent between app upgrades
|
||||
Os.setenv("HOME", applicationContext.filesDir.absolutePath, false);
|
||||
|
|
Loading…
Reference in a new issue