Commit Graph

8 Commits

Author SHA1 Message Date
184e96fa2d
patcher: add option to specify predefined patch url
This option adds patch_provider to Patcher class, currently you can choose either y0soro or Krock (by default it uses y0soro for latest 3.0.0 patch)
2022-08-24 20:14:38 +07:00
8449c104d9
patch: switch to y0soro repository for testing patch 2022-08-24 20:06:02 +07:00
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
aaf728445d
Various changes, block telemetry feature.
-Sp/--patch is now required to do block telemetry before patching.
Still preparing for hdiffpatch (will be coming at 1.10)
Ay yo hosty support coming soon xD
2022-02-27 01:54:20 +07:00
b1a9223c19
Added support for updating game & applying voiceover packs
Implemented & Improved some CLI commands.
Currently working in 2.5.0 version.

A few more work and this should be fully usable,,,
2022-02-17 02:43:21 +07:00
da3ee30ab1
Wrap game resource info from the server
Also add function to get the diff archive (for faster updating)

Download function soon, although I can't make sure that the download function will work properly (like pause, resume download etc.)
2022-02-16 22:18:56 +07:00
c22918673b
Support chinese variant, QQ object in launcher and some code optimizations 2022-02-16 00:49:33 +07:00
015164404c
Update source (still WIP) 2022-01-28 20:08:53 +07:00