summarylogtreecommitdiffstats
path: root/plugin.patch
diff options
context:
space:
mode:
authoruli2023-10-26 21:42:59 +0200
committeruli2023-10-26 21:43:30 +0200
commitcc62562f0183c68c6c2ce1c12920de3b00db7fc7 (patch)
tree378909fd15991694b410be9b517c5b178abfc248 /plugin.patch
parentd0d0f9726661dfec347725c0201bf723ebfec2a1 (diff)
downloadaur-opencpn.tar.gz
v5.8.4
Diffstat (limited to 'plugin.patch')
-rw-r--r--plugin.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugin.patch b/plugin.patch
new file mode 100644
index 000000000000..e9b70963650e
--- /dev/null
+++ b/plugin.patch
@@ -0,0 +1,25 @@
+--- a/src/plugin_loader.cpp
++++ b/src/plugin_loader.cpp
+@@ -317,14 +317,14 @@
+ if (!base_plugin_path.EndsWith(wxFileName::GetPathSeparator()))
+ base_plugin_path += wxFileName::GetPathSeparator();
+
+- if (!g_bportable){
+- if (base_plugin_path.IsSameAs(plugin_file_path)){
+- if (!IsSystemPlugin(file_name.ToStdString())){
+- DEBUG_LOG << "Skipping plugin " << file_name << " in " << g_BasePlatform->GetPluginDir();
+- return false;
+- }
+- }
+- }
++ // if (!g_bportable){
++ // if (base_plugin_path.IsSameAs(plugin_file_path)){
++ // if (!IsSystemPlugin(file_name.ToStdString())){
++ // DEBUG_LOG << "Skipping plugin " << file_name << " in " << g_BasePlatform->GetPluginDir();
++ // return false;
++ // }
++ // }
++ // }
+
+ if (!IsSystemPlugin(file_name.ToStdString()) && safe_mode::get_mode()) {
+ DEBUG_LOG << "Skipping plugin " << file_name << " in safe mode";