tor->flutter_libtor

This commit is contained in:
sneurlax 2023-08-08 11:01:45 -05:00
parent 11314d95b2
commit 2d130f916e
7 changed files with 14 additions and 14 deletions

@ -1 +1 @@
Subproject commit 27699e12f509e8c06f1085dab08932126d61162b
Subproject commit f076853b8ad231d882b1b26d44e22ef9ff2cbcf4

View file

@ -1,6 +1,6 @@
import 'package:flutter_libtor/flutter_libtor.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/utilities/stack_file_system.dart';
import 'package:tor/tor.dart';
final pTorService = Provider((_) => TorService.sharedInstance);

View file

@ -146,7 +146,7 @@ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../crypto_plugins/flutter_libepiccash
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../crypto_plugins/flutter_liblelantus/scripts/linux/build/libmobileliblelantus.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../crypto_plugins/tor/scripts/linux/build/native/target/x86_64-unknown-linux-gnu/release/libtor_ffi.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../crypto_plugins/flutter_libtor/scripts/linux/build/libtor_ffi.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/linux/build/jsoncpp/build/src/lib_json/libjsoncpp.so.1.7.4" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"

View file

@ -15,7 +15,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
tor
flutter_libtor
)
set(PLUGIN_BUNDLED_LIBRARIES)

View file

@ -610,6 +610,13 @@ packages:
relative: true
source: path
version: "0.0.1"
flutter_libtor:
dependency: "direct main"
description:
path: "crypto_plugins/flutter_libtor"
relative: true
source: path
version: "0.0.2"
flutter_lints:
dependency: "direct dev"
description:
@ -1595,13 +1602,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.13.1"
tor:
dependency: "direct main"
description:
path: "crypto_plugins/tor"
relative: true
source: path
version: "0.0.1"
tuple:
dependency: "direct main"
description:

View file

@ -57,8 +57,8 @@ dependencies:
url: https://github.com/cypherstack/bip47.git
ref: 081ca1863c2feba00c35bb5b297902f12f499941
tor:
path: ./crypto_plugins/tor
flutter_libtor:
path: ./crypto_plugins/flutter_libtor
# Utility plugins
http: ^0.13.0

View file

@ -16,7 +16,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
tor
flutter_libtor
)
set(PLUGIN_BUNDLED_LIBRARIES)