mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: trim quotes from dev plugin before validation (#2186)
This commit is contained in:
parent
cd03ef7d02
commit
3a9dc48c11
1 changed files with 2 additions and 1 deletions
|
|
@ -206,6 +206,7 @@ public class DevPluginsSettingsEntry : SettingsEntry
|
|||
|
||||
private void AddDevPlugin()
|
||||
{
|
||||
this.devPluginTempLocation = this.devPluginTempLocation.Trim('"');
|
||||
if (this.devPluginLocations.Any(
|
||||
r => string.Equals(r.Path, this.devPluginTempLocation, StringComparison.InvariantCultureIgnoreCase)))
|
||||
{
|
||||
|
|
@ -224,7 +225,7 @@ public class DevPluginsSettingsEntry : SettingsEntry
|
|||
this.devPluginLocations.Add(
|
||||
new DevPluginLocationSettings
|
||||
{
|
||||
Path = this.devPluginTempLocation.Replace("\"", string.Empty),
|
||||
Path = this.devPluginTempLocation,
|
||||
IsEnabled = true,
|
||||
});
|
||||
this.devPluginLocationsChanged = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue