diff --git a/src/ST.Client.Desktop.Avalonia.App/ST.Client.Avalonia.App.csproj b/src/ST.Client.Desktop.Avalonia.App/ST.Client.Avalonia.App.csproj
index c913e56ec..1e308478e 100644
--- a/src/ST.Client.Desktop.Avalonia.App/ST.Client.Avalonia.App.csproj
+++ b/src/ST.Client.Desktop.Avalonia.App/ST.Client.Avalonia.App.csproj
@@ -115,7 +115,7 @@
-->
-
+
@@ -136,13 +136,13 @@
-->
-
+
-
+
diff --git a/src/ST.Client.Desktop.Mac/Services/Implementation/MacPlatformServiceImpl.cs b/src/ST.Client.Desktop.Mac/Services/Implementation/MacPlatformServiceImpl.cs
index 0a0d5a3ba..c4ccabd3f 100644
--- a/src/ST.Client.Desktop.Mac/Services/Implementation/MacPlatformServiceImpl.cs
+++ b/src/ST.Client.Desktop.Mac/Services/Implementation/MacPlatformServiceImpl.cs
@@ -8,6 +8,7 @@ using Foundation;
using System.Application.Models;
using System.Diagnostics;
using System.IO;
+using System.Net;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices;
using System.Text;
@@ -224,7 +225,7 @@ namespace System.Application.Services.Implementation
throw new PlatformNotSupportedException();
}
- public bool SetAsSystemProxy(bool state, string ip, int port)
+ public bool SetAsSystemProxy(bool state, IPAddress? ip, int port)
{
var stringList = IPlatformService.Instance.GetMacNetworkSetup();
var shellContent = new StringBuilder();