diff options
| author | cvium <clausvium@gmail.com> | 2021-02-08 15:38:06 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-02-08 15:38:06 +0100 |
| commit | 311b2f50122237d96fc93fc48c3658f4970de5a2 (patch) | |
| tree | 37615fe5ae9e3a421efd806b56de2b8ec190a7c8 /Emby.Server.Implementations/Plugins/PluginManager.cs | |
| parent | 6c2eb5fc7e872a29b4a0951849681ae0764dbb8e (diff) | |
Exclude BOM when writing meta.json plugin manifest
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Plugins/PluginManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs index 8e5987026..2e2b3f332 100644 --- a/Emby.Server.Implementations/Plugins/PluginManager.cs +++ b/Emby.Server.Implementations/Plugins/PluginManager.cs @@ -348,7 +348,7 @@ namespace Emby.Server.Implementations.Plugins try { var data = JsonSerializer.Serialize(manifest, _jsonOptions); - File.WriteAllText(Path.Combine(path, "meta.json"), data, Encoding.UTF8); + File.WriteAllText(Path.Combine(path, "meta.json"), data); return true; } #pragma warning disable CA1031 // Do not catch general exception types |
