Skip to content

The trusted-plugins.json is written to and loaded from %AppData%\LogExpert in portable mode #515

@AndisGrossteins

Description

@AndisGrossteins

LogExpert.PluginRegistry.PluginValidator._configDirectory always defaults to Environment.SpecialFolder.ApplicationData for path to trusted-plugins.json.

private static readonly string _configDirectory = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "LogExpert");
private static readonly string _configPath = Path.Join(_configDirectory, "trusted-plugins.json");

And in PluginTrustDialog:

_configPath = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "LogExpert", "trusted-plugins.json");

Shouldn't the trusted-plugins.json file be stored in the application directory in portable mode?

Metadata

Metadata

Assignees

Labels

bugPesky little gritter, needs squashinggood first issueGood first issue if you are new to developing ;)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions