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)
This commit is contained in:
@ -7,7 +7,10 @@ APPDIRS=AppDirs(APP_NAME, APP_AUTHOR)
|
||||
LAUNCHER_API_URL_OS = "https://sdk-os-static.hoyoverse.com/hk4e_global/mdk/launcher/api"
|
||||
LAUNCHER_API_URL_CN = "https://sdk-static.mihoyo.com/hk4e_cn/mdk/launcher/api"
|
||||
HDIFFPATCH_GIT_URL="https://github.com/sisong/HDiffPatch"
|
||||
PATCH_GIT_URL = "https://notabug.org/y0soro/dawn"
|
||||
PATCH_LIST = {
|
||||
"Krock": "https://notabug.org/Krock/dawn",
|
||||
"y0soro": "https://notabug.org/y0soro/dawn"
|
||||
}
|
||||
TELEMETRY_URL_LIST = [
|
||||
"log-upload-os.mihoyo.com",
|
||||
"log-upload-eur.mihoyo.com",
|
||||
|
||||
Reference in New Issue
Block a user