Fixed break in Mount function.

This commit is contained in:
Harry Fn Potter
2021-05-26 01:08:43 -04:00
parent cdd0a70a3e
commit 1f63bebc20

View File

@@ -1547,11 +1547,8 @@ without him none of this would be possible
{
if (!ADB.DeviceID.Contains(":5555"))
MessageBox.Show("Mounting does not work with Wireless ADB, you must plug Quest into PC to mount.");
else
{
ADB.RunAdbCommandToString("shell svc usb setFunctions mtp true");
ADB.RunAdbCommandToString($"shell svc {Properties.Settings.Default.IPAddress} setFunctions mtp true");
}
}
else
FlexibleMessageBox.Show("You must connect a device before mounting!");