forked from cwtch.im/cwtch-ui
parent
65a1280b35
commit
ada351f778
|
@ -153,6 +153,7 @@ class CwtchFfi implements Cwtch {
|
||||||
String cwtchDir = "";
|
String cwtchDir = "";
|
||||||
if (Platform.isLinux) {
|
if (Platform.isLinux) {
|
||||||
cwtchDir = envVars['CWTCH_HOME'] ?? path.join(envVars['HOME']!, ".cwtch");
|
cwtchDir = envVars['CWTCH_HOME'] ?? path.join(envVars['HOME']!, ".cwtch");
|
||||||
|
home = envVars['HOME'] ?? "";
|
||||||
if (await File("linux/Tor/tor").exists()) {
|
if (await File("linux/Tor/tor").exists()) {
|
||||||
bundledTor = "linux/Tor/tor";
|
bundledTor = "linux/Tor/tor";
|
||||||
} else if (await File("lib/Tor/tor").exists()) {
|
} else if (await File("lib/Tor/tor").exists()) {
|
||||||
|
|
Loading…
Reference in New Issue