Skip to content

Commit

Permalink
Update path
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Dec 6, 2023
1 parent 486d441 commit b127f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ffi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef Setting = ffi.Pointer<Utf8> Function();
// in debug mode local linking
var path = Directory.current.path;

final dylib = ffi.DynamicLibrary.open(Platform.isMacOS ? 'liblantern.dylib' : 'C:\\Users\\todd\\lantern-client\\liblantern.dll');
final dylib = ffi.DynamicLibrary.open(Platform.isMacOS ? 'liblantern.dylib' : 'liblantern.dll');

final Start start =
dylib.lookup<ffi.NativeFunction<start_func>>('Start').asFunction();
Expand Down

0 comments on commit b127f17

Please sign in to comment.