1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 17:09:26 +08:00
Commit Graph

17 Commits

Author SHA1 Message Date
Zuosizhu
e59ae7d732 Fix: Droidcast_raw no longer has a separate apk. 2023-09-30 13:12:52 +08:00
Zuosizhu
4d4d2377dc Merge branch 'master_lme'
# Conflicts:
#	module/device/method/droidcast.py
2023-09-28 18:09:13 +08:00
LmeSzinc
0dcdab461e Fix: Wait DroidCast server startup 2023-09-26 21:50:29 +08:00
Torther
69df0c26e4 Upd: Screenshot method DroidCast_raw update (#2881)
* Upd: Screenshot method DroidCast_raw update

* Opt: Refactor module/device/method/droidcast.py for improved functionality

The module/device/method/droidcast.py has been refactored to improve its functionality and remove unnecessary code. Here are the key changes:

- Removed the unnecessary droidcast_raw_port attribute.
- Updated the droidcast_url method to use '/preview' as the default URL for DroidCast.
- Rename droidcast_init and droidcast_raw_init to droidcast_start and droidcast_raw_start.
- Add droidcast_init to reuse the common parts of droidcast_start and droidcast_raw_start.
- Removed the droidcast_raw_wait_startup method as it is no longer needed.
- Updated the droidcast_uninstall method to remove the deletion of DroidCast APK.

These changes aim to simplify the DroidCast class and improve its overall functionality.

* Opt: Refactor module/device/method/droidcast.py for improved functionality

The module/device/method/droidcast.py has been refactored to improve its functionality and remove unnecessary code. Here are the key changes:

- Removed the unnecessary droidcast_raw_port attribute.
- Updated the droidcast_url method to use '/preview' as the default URL for DroidCast.
- Rename droidcast_init and droidcast_raw_init to droidcast_start and droidcast_raw_start.
- Add droidcast_init to reuse the common parts of droidcast_start and droidcast_raw_start.
- Removed the droidcast_raw_wait_startup method as it is no longer needed.
- Updated the droidcast_uninstall method to remove the deletion of DroidCast APK.

These changes aim to simplify the DroidCast class and improve its overall functionality.

* Fix: Droidcast cannot start due to port occupation
2023-09-25 18:51:56 +08:00
Zuosizhu
9c91fe2e59 Merge branch 'LmeSzinc:master' into master 2023-03-01 18:54:34 +08:00
LmeSzinc
61f2f4013d Fix: Handle empty cmdline in proc_list_uiautomator2() 2023-03-01 18:13:49 +08:00
梦念逍遥
7905315780 Merge branch 'LmeSzinc:master' into master 2023-02-12 15:50:28 +08:00
LmeSzinc
45aab15ed5 Opt: Add DroidCast_raw link 2023-02-11 15:20:28 +08:00
梦念逍遥
f3c61ddcd6 Merge branch 'LmeSzinc:master' into master 2023-02-08 13:53:20 +08:00
LmeSzinc
bfb5004dc1 Fix: Catch ReadTimeout in DroidCast_raw 2023-02-08 01:54:22 +08:00
MengNianxiaoyao
8f010a0b24 fix driodcast.py 2023-01-26 22:48:51 +08:00
MengNianxiaoyao
f18c97f934 加快DroidCast_raw连接速度 2023-01-26 22:34:29 +08:00
LmeSzinc
965c46f800 Add: Screenshot method DroidCast_raw 2023-01-25 00:21:07 +08:00
LmeSzinc
21fe98d2f5 Refactor: Catching truncated image 2023-01-18 01:05:54 +08:00
LmeSzinc
9963f4f4e2 Fix: Missing retry_sleep import in DroidCast 2023-01-04 17:33:29 +08:00
LmeSzinc
2285b716cf Refactor: Faster device retrying 2022-12-29 19:22:55 +08:00
LmeSzinc
c51350caac Add: DroidCast screenshot 2022-12-04 23:53:43 +08:00