Suprcode / Zircon

Legend of Mir 3 - Official Public Zircon Source
337 stars 256 forks source link

MarketPlaceDialog.cs BuyGameGold YESNO button not spawning webpage #78

Closed Pergatory-TR closed 1 year ago

Pergatory-TR commented 1 year ago

.NET Core, the default for ProcessStartInfo.UseShellExecute has changed from true to false, and so you have to explicitly set it to true for this to work:

Line 4

Using System.Diagnostics;

Line 1200

   ```
     box.YesButton.MouseClick += (o1, e1) =>
            {
                if (string.IsNullOrEmpty(CEnvir.BuyAddress)) return;

                System.Diagnostics.Process.Start(new ProcessStartInfo
                {
                    FileName = (CEnvir.BuyAddress + MapObject.User.Name),
                    UseShellExecute = true
                });