mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 23:52:47 +01:00
fix: fix for #61
This commit is contained in:
1 parent
b66e808c14
commit
435c275725
2 files changed
+6
-2
No files matched your search
@@ -6,6 +6,10 @@
|
|||||||
- Custom query API
|
- Custom query API
|
||||||
- Store favorites by IP
|
- Store favorites by IP
|
||||||
|
|
||||||
|
## [3.2.5] 2023-05-07
|
||||||
|
### Fixed
|
||||||
|
- Require sudo when checking vm map count
|
||||||
|
|
||||||
## [3.2.4] 2023-03-01
|
## [3.2.4] 2023-03-01
|
||||||
### Fixed
|
### Fixed
|
||||||
- BM API returning stale query port and preventing fetching modlist
|
- BM API returning stale query port and preventing fetching modlist
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.2.4
|
version=3.2.5
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
@@ -1724,7 +1724,7 @@ setup(){
|
|||||||
check_map_count(){
|
check_map_count(){
|
||||||
count=1048576
|
count=1048576
|
||||||
echo "[DZGUI] Checking system map count"
|
echo "[DZGUI] Checking system map count"
|
||||||
if [[ $(sysctl -q vm.max_map_count | awk -F"= " '{print $2}') -lt $count ]]; then
|
if [[ $(sudo sysctl -q vm.max_map_count | awk -F"= " '{print $2}') -lt $count ]]; then
|
||||||
$steamsafe_zenity --question --width 500 --title="DZGUI" --text "System map count must be $count or higher to run DayZ with Wine.\nIncrease map count and make this change permanent? (will prompt for sudo password)" 2>/dev/null
|
$steamsafe_zenity --question --width 500 --title="DZGUI" --text "System map count must be $count or higher to run DayZ with Wine.\nIncrease map count and make this change permanent? (will prompt for sudo password)" 2>/dev/null
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
pass=$($steamsafe_zenity --password)
|
pass=$($steamsafe_zenity --password)
|
||||||
|
|||||||
Reference in new issue
Block a user