mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +00:00
tor->flutter_libtor
This commit is contained in:
parent
11314d95b2
commit
2d130f916e
7 changed files with 14 additions and 14 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 27699e12f509e8c06f1085dab08932126d61162b
|
Subproject commit f076853b8ad231d882b1b26d44e22ef9ff2cbcf4
|
|
@ -1,6 +1,6 @@
|
||||||
|
import 'package:flutter_libtor/flutter_libtor.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:stackwallet/utilities/stack_file_system.dart';
|
import 'package:stackwallet/utilities/stack_file_system.dart';
|
||||||
import 'package:tor/tor.dart';
|
|
||||||
|
|
||||||
final pTorService = Provider((_) => TorService.sharedInstance);
|
final pTorService = Provider((_) => TorService.sharedInstance);
|
||||||
|
|
||||||
|
|
|
@ -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}"
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../crypto_plugins/flutter_liblelantus/scripts/linux/build/libmobileliblelantus.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||||
COMPONENT Runtime)
|
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)
|
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}"
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/linux/build/jsoncpp/build/src/lib_json/libjsoncpp.so.1.7.4" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||||
|
|
|
@ -15,7 +15,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||||
tor
|
flutter_libtor
|
||||||
)
|
)
|
||||||
|
|
||||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||||
|
|
14
pubspec.lock
14
pubspec.lock
|
@ -610,6 +610,13 @@ packages:
|
||||||
relative: true
|
relative: true
|
||||||
source: path
|
source: path
|
||||||
version: "0.0.1"
|
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:
|
flutter_lints:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
|
@ -1595,13 +1602,6 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.13.1"
|
version: "0.13.1"
|
||||||
tor:
|
|
||||||
dependency: "direct main"
|
|
||||||
description:
|
|
||||||
path: "crypto_plugins/tor"
|
|
||||||
relative: true
|
|
||||||
source: path
|
|
||||||
version: "0.0.1"
|
|
||||||
tuple:
|
tuple:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -57,8 +57,8 @@ dependencies:
|
||||||
url: https://github.com/cypherstack/bip47.git
|
url: https://github.com/cypherstack/bip47.git
|
||||||
ref: 081ca1863c2feba00c35bb5b297902f12f499941
|
ref: 081ca1863c2feba00c35bb5b297902f12f499941
|
||||||
|
|
||||||
tor:
|
flutter_libtor:
|
||||||
path: ./crypto_plugins/tor
|
path: ./crypto_plugins/flutter_libtor
|
||||||
|
|
||||||
# Utility plugins
|
# Utility plugins
|
||||||
http: ^0.13.0
|
http: ^0.13.0
|
||||||
|
|
|
@ -16,7 +16,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||||
tor
|
flutter_libtor
|
||||||
)
|
)
|
||||||
|
|
||||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||||
|
|
Loading…
Reference in a new issue