Skip to content

Commit

Permalink
Added clr.Resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Aug 30, 2024
1 parent b652270 commit b62504a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Positron/Core/GlobalClr.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.CompilerServices;

namespace NeuroSpeech.Positron.Core;

Expand All @@ -13,6 +14,11 @@ public GlobalClr()
{
}

public Assembly? Resolve(string assemblyName)
{
return Assembly.Load(assemblyName);
}


public Type? ResolveType(string typeName)
{
Expand Down
2 changes: 1 addition & 1 deletion PositronApp/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public App()
InitializeComponent();

var mp = new PositronMainPage() {
Url = "https://socialmail.me"
Url = "https://test.castyy.com/"
};
mp.WebView.UserAgent = "Hybrid-Mobile-App/1.0 Android/1.1";

Expand Down

0 comments on commit b62504a

Please sign in to comment.