Browse Source

more debugging.

master
Herbert Poul 5 years ago
parent
commit
008be4bc97
  1. 2
      CHANGELOG.md
  2. 4
      lib/src/argon2_ffi_impl.dart
  3. 2
      pubspec.yaml

2
CHANGELOG.md

@ -1,4 +1,4 @@
## 0.1.4+4
## 0.1.4+5
* Linux: Also search lib/ sub directory for libargon so file.

4
lib/src/argon2_ffi_impl.dart

@ -94,7 +94,9 @@ class Argon2FfiFlutter extends Argon2Base {
static ResolveLibrary defaultResolveLibrary = (name) {
if (Platform.isLinux) {
// on linux the library is put into a `lib` sub directory.
final appDir = File(Platform.executable).parent;
_logger.finest(
'Resolving path to $name relative to ${Platform.resolvedExecutable}');
final appDir = File(Platform.resolvedExecutable).parent;
final appDirPath = appDir.path;
final f = File(path.join(appDirPath, name));
_logger.finest('checking $appDirPath for $name');

2
pubspec.yaml

@ -1,6 +1,6 @@
name: argon2_ffi_base
description: Base package defining the interface for an Argon2 implementation.
version: 0.1.4+4
version: 0.1.4+5
homepage: https://github.com/authpass/argon2_ffi_base
environment:

Loading…
Cancel
Save