Extract plugin to temp directory before copying to final location, some minor cleanup

This commit is contained in:
goaaats 2025-04-01 18:55:27 +02:00
parent f2c89bfc00
commit 34679d085b
8 changed files with 263 additions and 153 deletions

View file

@ -91,7 +91,7 @@ internal sealed partial class TextureManager
throw new NullReferenceException($"{nameof(path)} cannot be null.");
using var wrapAux = new WrapAux(wrap, true);
var pathTemp = Util.GetTempFileNameForFileReplacement(path);
var pathTemp = Util.GetReplaceableFileName(path);
var trashfire = new List<Exception>();
try
{