-
Notifications
You must be signed in to change notification settings - Fork 185
The trusted-plugins.json is written to and loaded from %AppData%\LogExpert in portable mode #515
Copy link
Copy link
Labels
bugPesky little gritter, needs squashingPesky little gritter, needs squashinggood first issueGood first issue if you are new to developing ;)Good first issue if you are new to developing ;)
Milestone
Description
LogExpert.PluginRegistry.PluginValidator._configDirectory always defaults to Environment.SpecialFolder.ApplicationData for path to trusted-plugins.json.
LogExpert/src/PluginRegistry/PluginValidator.cs
Lines 21 to 22 in eaf2dcc
| 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugPesky little gritter, needs squashingPesky little gritter, needs squashinggood first issueGood first issue if you are new to developing ;)Good first issue if you are new to developing ;)