- add: unpack think

This commit is contained in:
2025-04-20 15:43:57 +03:00
parent 51741595c6
commit 11eb3eb865
6 changed files with 53 additions and 40 deletions

View File

@@ -16,18 +16,6 @@ public sealed partial class DecompilerContentView: ContentViewBase
decompilerService.OpenServerDecompiler(contentEntry.ServerName.ToRobustUrl());
}
private void unpackContent(Stream stream)
{
var myTempFile = Path.Combine(Path.GetTempPath(), "tempie.dll");
var sw = new FileStream(myTempFile, FileMode.Create, FileAccess.Write, FileShare.None);
stream.CopyTo(sw);
sw.Dispose();
stream.Dispose();
decompilerService.OpenDecompiler(myTempFile);
}
protected override void Initialise()
{
}