diff --git a/lib/cwtch/ffi.dart b/lib/cwtch/ffi.dart index 89af1e5..410ffba 100644 --- a/lib/cwtch/ffi.dart +++ b/lib/cwtch/ffi.dart @@ -82,6 +82,7 @@ class CwtchFfi implements Cwtch { Map envVars = Platform.environment; if (Platform.isLinux) { home = (envVars['HOME'])!; + bundledTor = "./tor"; } else if (Platform.isWindows) { home = (envVars['UserProfile'])!; bundledTor = "Tor\\Tor\\tor.exe"; diff --git a/pubspec.yaml b/pubspec.yaml index bfea36d..e298286 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 +version: 1.0.0+2 environment: sdk: ">=2.12.0 <3.0.0"