Skip to content

Commit

Permalink
Added note for skipped device to make sure android udev rules are ins…
Browse files Browse the repository at this point in the history
…talled
  • Loading branch information
Meister1593 committed Jan 27, 2024
1 parent 81461cc commit b212724
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ADBForwarder/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b212724

Please sign in to comment.