mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Update Remote URI.
This commit is contained in:
@@ -68,9 +68,14 @@ namespace Aaru.Devices
|
||||
Error = false;
|
||||
IsRemovable = false;
|
||||
|
||||
if(devicePath.StartsWith("dic://"))
|
||||
if(devicePath.StartsWith("dic://") ||
|
||||
devicePath.StartsWith("aaru://"))
|
||||
{
|
||||
devicePath = devicePath.Substring(6);
|
||||
if(devicePath.StartsWith("dic://"))
|
||||
devicePath = devicePath.Substring(6);
|
||||
else
|
||||
devicePath = devicePath.Substring(7);
|
||||
|
||||
string[] pieces = devicePath.Split('/');
|
||||
string host = pieces[0];
|
||||
devicePath = devicePath.Substring(host.Length);
|
||||
|
||||
Reference in New Issue
Block a user