mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 04:37:44 +08:00
Fix: [ALAS] Launch parameters on waydroid (#4000)
This commit is contained in:
@@ -189,6 +189,10 @@ class ConnectionAttr:
|
||||
def is_network_device(self):
|
||||
return bool(re.match(r'\d+\.\d+\.\d+\.\d+:\d+', self.serial))
|
||||
|
||||
@cached_property
|
||||
def is_local_network_device(self):
|
||||
return bool(re.match(r'192\.168\.\d+\.\d+:\d+', self.serial))
|
||||
|
||||
@cached_property
|
||||
def is_over_http(self):
|
||||
return bool(re.match(r"^https?://", self.serial))
|
||||
|
||||
Reference in New Issue
Block a user