mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08:00
Follow symlinks when checking plugin signatures only in DEBUG mode
CURA-7735
This commit is contained in:
parent
da265fccb6
commit
a68eebf03c
@ -714,7 +714,7 @@ class CuraApplication(QtApplication):
|
||||
## Handle loading of all plugin types (and the backend explicitly)
|
||||
# \sa PluginRegistry
|
||||
def _loadPlugins(self) -> None:
|
||||
self._plugin_registry.setCheckIfTrusted(ApplicationMetadata.IsEnterpriseVersion)
|
||||
self._plugin_registry.setCheckIfTrusted(ApplicationMetadata.IsEnterpriseVersion, ApplicationMetadata.CuraDebugMode)
|
||||
|
||||
self._plugin_registry.addType("profile_reader", self._addProfileReader)
|
||||
self._plugin_registry.addType("profile_writer", self._addProfileWriter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user