hack for genshin

This commit is contained in:
Mikhail Tergoev
2025-04-14 10:03:12 +03:00
parent a9666512f2
commit c15c43eb0a
2 changed files with 20 additions and 4 deletions

View File

@ -7,3 +7,22 @@
export PW_WINDOWS_VER="10"
export PW_VULKAN_USE="2"
export PW_PREFIX_NAME="HO_YO_PLAY"
export PW_WINE_USE="WINE_LG"
add_in_start_portwine() {
genshin_hack() {
if command -v nmcli &>/dev/null ; then
while true ; do
if pgrep -i genshinimp ; then
nmcli networking off
sleep 10
nmcli networking on
break
else
sleep 0.5
fi
done
fi
}
genshin_hack &
}