mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 15:57:03 -05:00
feat: Added support for creating views and drawing ImGui elemts from C#
This commit is contained in:
@@ -64,8 +64,15 @@ namespace ImHex
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
context.LoadFromStream(new MemoryStream(File.ReadAllBytes(file)));
|
||||
|
||||
try
|
||||
{
|
||||
context.LoadFromStream(new MemoryStream(File.ReadAllBytes(file)));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("[.NET Script] Failed to load assembly: " + file + " - " + e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
// Load the script assembly
|
||||
|
||||
Reference in New Issue
Block a user