mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-11 22:02:06 +00:00
fix: add retry for minitouch and MaaTouch builders
This commit is contained in:
@@ -107,6 +107,7 @@ class MaaTouch(Connection):
|
||||
_maatouch_init_thread = None
|
||||
|
||||
@cached_property
|
||||
@retry
|
||||
def _maatouch_builder(self):
|
||||
self.maatouch_init()
|
||||
return MaatouchBuilder(self)
|
||||
@@ -298,3 +299,8 @@ class MaaTouch(Connection):
|
||||
builder.contact = 1
|
||||
builder.up().commit()
|
||||
builder.send()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
self = MaaTouch('src')
|
||||
self.maatouch_uninstall()
|
||||
|
||||
Reference in New Issue
Block a user