Regular installation
First you will have to clone the patch repository.
git clone https://notabug.org/Krock/dawn "$HOME/.local/share/anime-game-launcher/patch"
Then you can apply the patch by running
cd "$HOME/.local/share/anime-game-launcher/game/drive_c/Program Files/Genshin Impact" && sh "$HOME/.local/share/anime-game-launcher/patch/350/patch.sh"
Flatpak installation
First you will have to enter the Flatpak environment.
flatpak run --command=sh moe.launcher.an-anime-game-launcher
Then move in to the launcher folder
cd "$(find . -wholename "*anime-game-launcher/config.yaml*" -printf '%h' -quit)"
and clone the patch repository.
git clone https://notabug.org/krock/dawn/patch
After that move to the game directory
cd 'game/drive_c/Program Files/Genshin Impact'
and apply the patch
sh ../../../../patch/350/patch.sh