mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
Tell flutter_libmonero how to get access to the application dir
This commit is contained in:
parent
459e882ab6
commit
0af6574e81
2 changed files with 7 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 2c684cedba6c3d9353c7ea748cadb5a246008027
|
||||
Subproject commit a3ccff7f244b58bc63e0cf882ca4e1bb5aed1a73
|
|
@ -14,6 +14,7 @@ import 'dart:math';
|
|||
|
||||
import 'package:coinlib_flutter/coinlib_flutter.dart';
|
||||
import 'package:cw_core/node.dart';
|
||||
import 'package:cw_core/pathForWallet.dart';
|
||||
import 'package:cw_core/unspent_coins_info.dart';
|
||||
import 'package:cw_core/wallet_info.dart';
|
||||
import 'package:cw_core/wallet_type.dart';
|
||||
|
@ -91,7 +92,11 @@ void main(List<String> args) async {
|
|||
StackFileSystem.setDesktopOverrideDir(args.last);
|
||||
}
|
||||
|
||||
// TODO set external libs file paths (bad external lib design workaround)
|
||||
// Tell flutter_libmonero how to get access to the application dir
|
||||
FS.setApplicationRootDirectoryFunction(
|
||||
StackFileSystem.applicationRootDirectory,
|
||||
);
|
||||
// TODO set any other external libs file paths (bad external lib design workaround)
|
||||
|
||||
final loadCoinlibFuture = loadCoinlib();
|
||||
|
||||
|
|
Loading…
Reference in a new issue