diff --git a/crypto_plugins/flutter_libmonero b/crypto_plugins/flutter_libmonero index 2c684cedb..a3ccff7f2 160000 --- a/crypto_plugins/flutter_libmonero +++ b/crypto_plugins/flutter_libmonero @@ -1 +1 @@ -Subproject commit 2c684cedba6c3d9353c7ea748cadb5a246008027 +Subproject commit a3ccff7f244b58bc63e0cf882ca4e1bb5aed1a73 diff --git a/lib/main.dart b/lib/main.dart index 39adfd952..a714447ab 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -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 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();