blob: e9b70963650eb24df2a862cd48f03f46a1c9d839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
|