diff --git a/ADBForwarder/Program.cs b/ADBForwarder/Program.cs index fe44740..3475ea5 100644 --- a/ADBForwarder/Program.cs +++ b/ADBForwarder/Program.cs @@ -134,6 +134,9 @@ private static void Forward(DeviceData device) Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine( $"Skipped forwarding device: {(string.IsNullOrEmpty(deviceData.Product) ? deviceData.Serial : deviceData.Product)}"); + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) return; + Console.WriteLine("Please make sure you have android-udev-rules installed."); + Console.WriteLine("Install them through package manager or visit https://github.com/M0Rf30/android-udev-rules and follow instructions."); return; }