Commit Graph

14 Commits

Author SHA1 Message Date
tretrauit 07f6ce6317 fix: hdiffpatch download 2024-04-25 21:46:03 +07:00
tretrauit 78df1d242a fix(installer): wrap rename in try/except
So it won't fail I guess, because we failed anyway.
2023-11-08 16:22:30 +07:00
tretrauit efc7ff2be9 fix: implement segments download
michos don't fucking do breaking changes in the API fuck you.
2023-06-20 18:14:44 +07:00
tretrauit 973ae2a5e6 fix: actually delete files in deletefiles.txt 2023-05-25 13:01:04 +07:00
tretrauit 3c6d44d983 fix: --from-vo-ver doesn't set vo version 2023-03-01 20:22:04 +07:00
Nguyễn Thế Hưng cc6f3996af fix: only do 8 jobs at once in update & verify
Prevent lag which can lead to unusable system (especially when using hdiffpatch)

Also print more
2023-03-01 17:32:07 +07:00
tretrauit 95dccf7241 feat: --download-chunk
Also bump to 2.2.9
2023-01-18 11:28:33 +07:00
tretrauit f54c2f432b
fix: handle FileExistsError 2022-09-28 12:51:27 +07:00
tretrauit 04dc922230
feat: support pre-downloading game & voicepacks 2022-08-23 17:02:20 +07:00
tretrauit 2b9951dcaa
fix: self._installer.get_game_version() in update_voiceover 2022-08-17 02:08:28 +07:00
tretrauit 5066a4e2b3
fix: update game & voiceover now works properly. 2022-07-13 13:52:57 +07:00
tretrauit efc2abf858
feat: add -Swp option
perf: tar.extractall wrapped in asyncio.to_thread
2022-06-27 04:09:47 +07:00
tretrauit d4773bc38d
fix: _ask won't automatically think the answer is yes.
I am dumb
2022-06-25 02:09:26 +07:00
tretrauit a5659f7ff3
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-25 01:13:47 +07:00
Renamed from worthless/gui.py (Browse further)