Skip to content

Allow disabling DarkNet usage that breaks app under Wine#379

Merged
Mgamerz merged 9 commits into
ME3Tweaks:M3Corefrom
squedgy:M3Core
Aug 3, 2023
Merged

Allow disabling DarkNet usage that breaks app under Wine#379
Mgamerz merged 9 commits into
ME3Tweaks:M3Corefrom
squedgy:M3Core

Conversation

@squedgy

@squedgy squedgy commented Jul 30, 2023

Copy link
Copy Markdown
Contributor

It appears that DarkNet uses undocumented windows functions that Wine doesn't implement/export. This prevents users from running this application in a Wine environment.
This PR adds a setting that allows disabling that part of DarkNet, thus enabling the app to run under Wine.

If you have strong feelings about extension methods, I can change it to a static call, or something.

SkipDarkNet as the key isn't entirely accurate due to not preventing use of the DarkNet.Instance.SetCurrentProcessTheme. I can skip that call too, for the sake of consistency, if preferred.

@Mgamerz Mgamerz merged commit 5aabc52 into ME3Tweaks:M3Core Aug 3, 2023
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