diff --git a/addon/globalPlugins/EnhancedDictionaries/__init__.py b/addon/globalPlugins/EnhancedDictionaries/__init__.py index f466ae0..9e8e138 100644 --- a/addon/globalPlugins/EnhancedDictionaries/__init__.py +++ b/addon/globalPlugins/EnhancedDictionaries/__init__.py @@ -35,6 +35,9 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin): def __init__(self, *args, **kwargs): super(GlobalPlugin, self).__init__(*args, **kwargs) + if globalVars.appArgs.secure: + log.info("EnhancedDictionaries addon will not activate on secure screens") + return self.injectProcessing() # the method below is responsible for modifying NVDA behavior. diff --git a/buildVars.py b/buildVars.py index 71de387..7e203f5 100644 --- a/buildVars.py +++ b/buildVars.py @@ -22,7 +22,7 @@ def _(x): return x "addon_description": _("""This addon introduces better dictionaries handling for NVDA. It is now possible to use profile specific dictionaries, which eenables better productivity by allowing you to use different dictionaries for different applications and scenarius."""), # version - "addon_version": "1.2.0", + "addon_version": "1.2.1", # Author(s) "addon_author": u"Marlon Brandão de Sousa ", # URL for the add-on documentation support diff --git a/localdeploy.bat b/localdeploy.bat new file mode 100644 index 0000000..94b6536 --- /dev/null +++ b/localdeploy.bat @@ -0,0 +1,5 @@ +@echo off +rem obtaining addon name, the current directory name +for %%f in (%cd%) do set addon=%%~nxf +rem copying addon files to local nvda addon directory +robocopy /S addon %appdata%\nvda\addons\%addon% \ No newline at end of file