From 6c60a93958e2b640dc22a35a9a796834335ceead Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 1 Jun 2021 14:53:13 -0700 Subject: [PATCH] version bump for android/play and ffi/linux use locally bundled tor --- lib/cwtch/ffi.dart | 1 + pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"