opt: relative macos dylib
This commit is contained in:
parent
0862057b85
commit
4a3dd3a5af
3 changed files with 10 additions and 5 deletions
|
|
@ -96,7 +96,9 @@ class PlatformFFI {
|
|||
? DynamicLibrary.open('librustdesk.so')
|
||||
: Platform.isWindows
|
||||
? DynamicLibrary.open('librustdesk.dll')
|
||||
: DynamicLibrary.process();
|
||||
: Platform.isMacOS
|
||||
? DynamicLibrary.open("liblibrustdesk.dylib")
|
||||
: DynamicLibrary.process();
|
||||
debugPrint('initializing FFI $_appType');
|
||||
try {
|
||||
_translate = dylib.lookupFunction<F2, F2>('translate');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue