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.
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 theDarkNet.Instance.SetCurrentProcessTheme
. I can skip that call too, for the sake of consistency, if preferred.