fix: can't find rustdesk.so

This commit is contained in:
Asura
2022-08-24 17:10:34 -07:00
parent cd4f578cf7
commit b38c3299d8
6 changed files with 240 additions and 197 deletions

View File

@@ -1,7 +1,8 @@
#include <dlfcn.h>
#include "my_application.h"
#define RUSTDESK_LIB_PATH "/usr/lib/rustdesk/librustdesk.so"
#define RUSTDESK_LIB_PATH "ibrustdesk.so"
// #define RUSTDESK_LIB_PATH "/usr/lib/rustdesk/librustdesk.so"
typedef bool (*RustDeskCoreMain)();
bool flutter_rustdesk_core_main() {