This commit is contained in:
2026-04-17 14:24:53 +02:00
commit 04a0ae6cf9
11 changed files with 764 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=GZW EAC Fix Watcher
Comment=Watches for Gray Zone Warfare updates and applies EAC cache fix
Exec=@@INSTALL_DIR@@/watch.sh
Terminal=false
X-GNOME-Autostart-enabled=true

2
init/runit/log/run Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
exec svlogd -tt @@INSTALL_DIR@@/log

2
init/runit/run Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
exec @@INSTALL_DIR@@/watch.sh

2
init/s6/run Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/execlineb -P
@@INSTALL_DIR@@/watch.sh

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Watch for Gray Zone Warfare updates
[Path]
PathChanged=@@MANIFEST_PATH@@
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=GZW EAC fix - post-update cache patch
[Service]
Type=oneshot
ExecStart=@@INSTALL_DIR@@/fix.sh
Environment=DISPLAY=:0
PassEnvironment=DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR
StandardOutput=journal
StandardError=journal