mirror of
https://github.com/aclist/dztui.git
synced 2025-01-01 15:12:05 +01:00
fix: map count check not needed on deck
This commit is contained in:
parent
83e98201f8
commit
b660968eed
1 changed files with 3 additions and 2 deletions
5
dzgui.sh
5
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.3.1
|
version=3.3.2
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -1004,6 +1004,7 @@ connect_to_fav(){
|
||||||
|
|
||||||
}
|
}
|
||||||
set_header(){
|
set_header(){
|
||||||
|
print_news
|
||||||
[[ $auto_install -eq 2 ]] && install_mode="auto"
|
[[ $auto_install -eq 2 ]] && install_mode="auto"
|
||||||
[[ $auto_install -eq 1 ]] && install_mode="headless"
|
[[ $auto_install -eq 1 ]] && install_mode="headless"
|
||||||
[[ $auto_install -eq 0 ]] && install_mode=manual
|
[[ $auto_install -eq 0 ]] && install_mode=manual
|
||||||
|
@ -1481,7 +1482,6 @@ mods_disk_size(){
|
||||||
printf "Location: %s/steamapps/workshop/content/221100" "$steam_path"
|
printf "Location: %s/steamapps/workshop/content/221100" "$steam_path"
|
||||||
}
|
}
|
||||||
main_menu(){
|
main_menu(){
|
||||||
print_news
|
|
||||||
set_mode
|
set_mode
|
||||||
while true; do
|
while true; do
|
||||||
set_header ${FUNCNAME[0]}
|
set_header ${FUNCNAME[0]}
|
||||||
|
@ -1733,6 +1733,7 @@ setup(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
check_map_count(){
|
check_map_count(){
|
||||||
|
[[ $is_steam_deck -eq 1 ]] && return
|
||||||
local count=1048576
|
local count=1048576
|
||||||
echo "[DZGUI] Checking system map count"
|
echo "[DZGUI] Checking system map count"
|
||||||
if [[ ! -f /etc/sysctl.d/dayz.conf ]]; then
|
if [[ ! -f /etc/sysctl.d/dayz.conf ]]; then
|
||||||
|
|
Loading…
Reference in a new issue