Krock 332c4d3a66 Update script: Fix find warning, document zsh | 3 lat temu | |
---|---|---|
.. | ||
README.md | 3 lat temu | |
update_gi.sh | 3 lat temu |
This script automates following steps:
If you prefer a graphical updater, check out:
This script requires following applications:
jq
(JSON parsing)aria2c
, wget
, curl
or axel
(file download)bash
and xdelta3
(patch script)Known bug: Broken in zsh
due to different strings handling. See PR #252 for details.
The script must be executed from the wanted game installation directory
using either relative or absolute paths to execute update_gi.sh
.
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"