mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Exclude BOM when writing meta.json plugin manifest
This commit is contained in:
parent
6c2eb5fc7e
commit
311b2f5012
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user