mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-09 00:10:18 +00:00
18 lines
315 B
Diff
18 lines
315 B
Diff
--- a/src/common/plugin.c
|
|
+++ b/src/common/plugin.c
|
|
@@ -470,7 +470,14 @@
|
|
if (libdir && *libdir)
|
|
return libdir;
|
|
else
|
|
+ {
|
|
+ if (g_file_test ("/app/extensions/lib/zoitechat/plugins", G_FILE_TEST_IS_DIR))
|
|
+ {
|
|
+ return "/app/extensions/lib/zoitechat/plugins";
|
|
+ }
|
|
+
|
|
return ZOITECHATLIBDIR;
|
|
+ }
|
|
}
|
|
|
|
void
|