mirror of
https://github.com/aclist/dztui.git
synced 2025-04-05 12:03:00 +02:00
fix: parse flatpak version
This commit is contained in:
parent
4994405c30
commit
4852acb946
1 changed files with 2 additions and 2 deletions
4
dzgui.sh
4
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.2.0-rc.2
|
version=3.2.0-rc.3
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -1770,7 +1770,7 @@ fetch_helpers(){
|
||||||
}
|
}
|
||||||
steam_deps(){
|
steam_deps(){
|
||||||
local flatpak steam
|
local flatpak steam
|
||||||
flatpak=$(flatpak run com.valvesoftware.Steam --version 2>/dev/null)
|
flatpak=$(flatpak list | grep valvesoftware.Steam)
|
||||||
steam=$(command -v steam)
|
steam=$(command -v steam)
|
||||||
if [[ -z "$steam" ]] && [[ -z "$flatpak" ]]; then
|
if [[ -z "$steam" ]] && [[ -z "$flatpak" ]]; then
|
||||||
warn "Requires Steam or Flatpak Steam"
|
warn "Requires Steam or Flatpak Steam"
|
||||||
|
|
Loading…
Reference in a new issue