load android custom client for jvm startServer

This commit is contained in:
rustdesk
2024-04-16 21:46:54 +08:00
parent b9792fc17d
commit 01ec539065
3 changed files with 6 additions and 4 deletions

View File

@@ -198,9 +198,7 @@ class PlatformFFI {
await _ffiBind.mainDeviceId(id: id);
await _ffiBind.mainDeviceName(name: name);
await _ffiBind.mainSetHomeDir(home: _homeDir);
final customClientConfig = '';
await _ffiBind.mainInit(
appDir: _dir, customClientConfig: customClientConfig);
await _ffiBind.mainInit(appDir: _dir, customClientConfig: '');
} catch (e) {
debugPrintStack(label: 'initialize failed: $e');
}