1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

List mod count

This commit is contained in:
aclist 2022-10-12 00:29:50 +09:00
parent 698edf420b
commit 0ce5f1e200

View file

@ -1294,9 +1294,9 @@ server_browser(){
}
mods_disk_size(){
printf "Total size on disk: %s |" $(du -sh "$game_dir" | awk '{print $1}')
printf "Mods location: $steam_path/steamapps/workshop/content/221100"
printf "Total size on disk: %s | " $(du -sh "$game_dir" | awk '{print $1}')
printf "%s mods | " $(ls -1 "$game_dir" | wc -l)
printf "Location: %s/steamapps/workshop/content/221100" "$steam_path"
}
main_menu(){