diff --git a/src/GWallet.Backend/Config.fs b/src/GWallet.Backend/Config.fs index a9344b057..476f63c99 100644 --- a/src/GWallet.Backend/Config.fs +++ b/src/GWallet.Backend/Config.fs @@ -65,10 +65,13 @@ module Config = let internal GetConfigDirForThisProgram() = let configPath = +(* NOTE: we used to support UWP via the Xamarin.Essentials code below, but MAUI is a higher priority than resurrecting UWP now: if (not isWindows) || Xamarin.Essentials.DeviceInfo.Platform <> Xamarin.Essentials.DevicePlatform.UWP then Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) else //UWP Xamarin.Essentials.FileSystem.AppDataDirectory +*) + Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) // TODO: rename to "geewallet", following a similar approach as DAI->SAI rename let configDir = DirectoryInfo(Path.Combine(configPath, "gwallet")) diff --git a/src/GWallet.Backend/Ether/EtherServer.fs b/src/GWallet.Backend/Ether/EtherServer.fs index 7a564385f..6e103906a 100644 --- a/src/GWallet.Backend/Ether/EtherServer.fs +++ b/src/GWallet.Backend/Ether/EtherServer.fs @@ -291,10 +291,13 @@ module Server = match maybeHttpReqEx with | Some httpReqEx -> +(* NOTE: we disabled UWP tweaks for now, see other comment in Config.fs + // FIXME: report this UWP bug (see commit message for full stacktrace) if Xamarin.Essentials.DeviceInfo.Platform.Equals Xamarin.Essentials.DevicePlatform.UWP && httpReqEx.InnerException <> null && httpReqEx.InnerException.GetType() = typeof then raise <| ServerCannotBeResolvedException(httpReqEx.InnerException.Message, ex) +*) // this could be a mono 6.0.x bug (see https://gitlab.gnome.org/World/geewallet/issues/121) if httpReqEx.Message.Contains "SSL" then