#!/bin/sh
# Undo the 2026-10-05 instance picker + All Bags client publish (players get the old files on their next patch).
set -e
cd ~/heroes_journey_workspace/patcher
B=~/.local/share/eq-backups/2026-10-05-instpicker
cp $B/dinput8.dll patch_files/dinput8.dll
cp $B/uifiles/EQUI.xml $B/uifiles/EQUI_EQMainWnd.xml patch_files/uifiles/default/
rm -f patch_files/uifiles/default/HJ_AllBagsWnd.xml patch_files/uifiles/default/HJ_InstanceWnd.xml patch_files/uifiles/default/HJ_ZonesWnd.xml
python3 generate_manifest.py
