This website requires JavaScript.
Explore
Help
Sign In
tretrauit
/
worthless-launcher
Watch
1
Star
0
Fork
You've already forked worthless-launcher
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
0140969e4b
worthless-launcher
/
worthless
/
__main__.py
7 lines
103 B
Python
Raw
Normal View
History
Unescape
Escape
Update source (still WIP)
2022-01-28 13:08:53 +00:00
#!/usr/bin/python3
refactor: convert all task-intensive functions to async. chore: rename gui.py to cli.py fix: internal downloader can resume download now. feat: add verify_game, verify_from_pkg_version, clear_cache to installer.py. feat: add clear_cache to patcher.py. fix: linux now check for pkexec before executing it. fix: add get_name to voicepack.py, latest.py, diff.py to get name from path (since the developer didn't set a name to these files in the sdk url) chore: remove deprecation message in read_version_from_config in installer.py misc: use chunk from self._download_chunk instead of being hardcoded to 8192. fix: is_telemetry_blocked will only wait 15s for a connection. chore: move appdirs to constants.py This commit refactor almost all functions to be compatible with asyncio, also restructured CLI to use asyncio.run on main function instead of executing it randomly. Also prioritize the use of asyncio.gather, sometimes making tasks faster
2022-06-24 19:13:47 +01:00
import
asyncio
from
worthless
import
cli
Update source (still WIP)
2022-01-28 13:08:53 +00:00
refactor: convert all task-intensive functions to async. chore: rename gui.py to cli.py fix: internal downloader can resume download now. feat: add verify_game, verify_from_pkg_version, clear_cache to installer.py. feat: add clear_cache to patcher.py. fix: linux now check for pkexec before executing it. fix: add get_name to voicepack.py, latest.py, diff.py to get name from path (since the developer didn't set a name to these files in the sdk url) chore: remove deprecation message in read_version_from_config in installer.py misc: use chunk from self._download_chunk instead of being hardcoded to 8192. fix: is_telemetry_blocked will only wait 15s for a connection. chore: move appdirs to constants.py This commit refactor almost all functions to be compatible with asyncio, also restructured CLI to use asyncio.run on main function instead of executing it randomly. Also prioritize the use of asyncio.gather, sometimes making tasks faster
2022-06-24 19:13:47 +01:00
if
__name__
==
"
__main__
"
:
poetry: add cli script
2022-09-20 11:16:16 +01:00
cli
.
main
(
)