Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md about UWP, .NET MAUI, WIN UI 3 #243

Merged
merged 2 commits into from
Feb 10, 2024
Merged

Update README.md about UWP, .NET MAUI, WIN UI 3 #243

merged 2 commits into from
Feb 10, 2024

Conversation

J0nathan550
Copy link
Contributor

Fix of #236
Problem was that UWP applications along with .NET MAUI and WIN UI 3 requires certain capabilites and trust in order to load this library, without it the library doesn't do anything, because UWP blocks all restricted movement of loading external .exe's.

It doesn't fire any exception in the library, but after digging I figure out why this was the error. And again, error was in restrictions.

It's good to change README.md because, there can be people like me who don't understand why this doesn't work.

And until we will find out what capabilites we need to provide to UWP, it's okay to put runFullTrust, because that's the only way make it work.

I hope you understand that, waiting for the possible approve.

@J0nathan550 J0nathan550 changed the title Update README.md about UWP .NET MAUI WIN UI 3 Update README.md about UWP, .NET MAUI, WIN UI 3 Feb 2, 2024
Copy link
Owner

@Lachee Lachee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor wording concerns here and general clues as to what might be blocking the UWP.
I dont like the implication that the library loads external exes. The only thing it does load is Newtonsoft.JSON's dll.

Discord handles the execution of the game's exes themselves.

README.md Outdated

**UWP / .NET MAUI / WIN UI 3**

In order to make this library work with the UWP applications, you need to define `runFullTrust` Capability inside of `Package.appxmanifest`. It's done this way because library loads external .exe in order to make library work.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this library does not load exeternal exes, or any exes actually. Please reword this.

some potential causes could be:

but unless verified what is causing it, please only mention that runFullTrust is required.

From reading the capability declarations, it could also be from .JSON using JIT capabilities, although this is not a restricted capability (Code Generation).

@Lachee Lachee merged commit 433897b into Lachee:master Feb 10, 2024
1 check passed
@Lachee
Copy link
Owner

Lachee commented Feb 10, 2024

awesome! thanks for the contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants