mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
ASTExtension: Fix for latest nightlies
This commit is contained in:
parent
d0c8298074
commit
db07d53971
3 changed files with 25 additions and 26 deletions
|
@ -1,18 +1,17 @@
|
|||
using System.Reflection;
|
||||
|
||||
namespace NAK.ASTExtension.Integrations
|
||||
namespace NAK.ASTExtension.Integrations;
|
||||
|
||||
public static partial class BtkUiAddon
|
||||
{
|
||||
public static partial class BtkUiAddon
|
||||
{
|
||||
#region Icon Utils
|
||||
#region Icon Utils
|
||||
|
||||
private static Stream GetIconStream(string iconName)
|
||||
{
|
||||
private static Stream GetIconStream(string iconName)
|
||||
{
|
||||
Assembly assembly = Assembly.GetExecutingAssembly();
|
||||
string assemblyName = assembly.GetName().Name;
|
||||
return assembly.GetManifestResourceStream($"{assemblyName}.Resources.{iconName}");
|
||||
}
|
||||
|
||||
#endregion Icon Utils
|
||||
}
|
||||
#endregion Icon Utils
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue