mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: write manifests using new safer method
This commit is contained in:
parent
416bb42f5b
commit
33abb5ec42
1 changed files with 1 additions and 1 deletions
|
|
@ -836,7 +836,7 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
var manifestFile = LocalPluginManifest.GetManifestFile(dllFile);
|
||||
|
||||
// We need to save the repoManifest due to how the repo fills in some fields that authors are not expected to use.
|
||||
File.WriteAllText(manifestFile.FullName, JsonConvert.SerializeObject(repoManifest, Formatting.Indented));
|
||||
Util.WriteAllTextSafe(manifestFile.FullName, JsonConvert.SerializeObject(repoManifest, Formatting.Indented));
|
||||
|
||||
// Reload as a local manifest, add some attributes, and save again.
|
||||
var manifest = LocalPluginManifest.Load(manifestFile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue