Marie 0aaab67886 Update Gitlab url for AAGL | пре 2 година | |
---|---|---|
.. | ||
HDiffPatch | пре 2 година | |
README.md | пре 2 година | |
perform_update.sh | пре 2 година | |
update_gi.sh | пре 2 година |
This script automates following steps:
If you prefer a graphical updater, check out:
This script requires following applications:
bash
(update and patch script)jq
(JSON parsing)aria2c
, wget
, curl
or axel
(file download)xdelta3
(patch script)The script must be executed from the wanted game installation directory
using either relative or absolute paths to execute update_gi.sh
.
By default, the downloaded archives are deleted after installation.
To disable this behaviour, append the nodelete
argument.
sh "/path/to/dawn/updater/update_gi.sh" install nodelete
If errors occur after updating the game files, re-run the patch scripts manually.
Installs the newest game version to an empty directory.
Syntax:
sh "/path/to/dawn/updater/update_gi.sh" install
Example:
# Install game to a new directory in HOME (~)
mkdir -p "$HOME/Genshin Impact Game"
cd "$HOME/Genshin Impact Game/"
sh "/path/to/dawn/updater/update_gi.sh" install
Updates the game in the working directory to the newest version.
Important: If the official launcher was used for the installation,
ensure that the working directory contains GenshinImpact.exe
but not launcher.exe
.
Syntax:
sh "/path/to/dawn/updater/update_gi.sh"
Example:
# Update game located in HOME
cd "$HOME/Genshin Impact Game/"
sh "/path/to/dawn/updater/update_gi.sh"