customClientConfig in dart

This commit is contained in:
rustdesk
2024-04-16 18:42:35 +08:00
parent 44bce59777
commit a6c1d2d486
2 changed files with 13 additions and 13 deletions

View File

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