This commit is contained in:
lelgenio 2023-07-26 20:58:47 -03:00
parent 69e9bfe24c
commit d054b5f9e3
4 changed files with 5 additions and 21 deletions

View file

@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
./patches/dont-hardcode-zenity.patch ./patches/dont-hardcode-zenity.patch
./patches/dont-write-desktop-entry-during-runtime.patch ./patches/dont-write-desktop-entry-during-runtime.patch
./patches/dont-check-map-count.patch ./patches/dont-check-map-count.patch
./patches/send-noop-before-installing-mods.patch
]; ];
installPhase = '' installPhase = ''

View file

@ -18,16 +18,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1688392541, "lastModified": 1690031011,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", "narHash": "sha256-kzK0P4Smt7CL53YCdZCBbt9uBFFhE0iNvCki20etAf4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", "rev": "12303c652b881435065a98729eb7278313041e49",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-22.11", "ref": "nixos-unstable",
"type": "indirect" "type": "indirect"
} }
}, },

View file

@ -1,7 +1,7 @@
{ {
description = "DayZ TUI/GUI server browser"; description = "DayZ TUI/GUI server browser";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11"; nixpkgs.url = "nixpkgs/nixos-unstable";
dzgui = { dzgui = {
url = "github:aclist/dztui"; url = "github:aclist/dztui";
flake = false; flake = false;

View file

@ -1,15 +0,0 @@
diff --git a/dzgui.sh b/dzgui.sh
index 97b5cd0..5e661cc 100755
--- a/dzgui.sh
+++ b/dzgui.sh
@@ -1056,6 +1056,10 @@ console_dl(){
local wid=$(xdotool search --onlyvisible --name Steam)
#xdotool windowactivate $wid
sleep 1.5s
+ xdotool type --delay 0 "noop"
+ sleep 0.5s
+ xdotool key --window $wid Return
+ sleep 0.5s
for i in "${modids[@]}"; do
xdotool type --delay 0 "workshop_download_item $aid $i"
sleep 0.5s