used unpack in all scripts

This commit is contained in:
Mikhail Tergoev
2025-06-19 13:07:30 +03:00
parent 6b5d7736b6
commit 57a77b608d
30 changed files with 45 additions and 45 deletions

View File

@ -18,7 +18,7 @@ AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_pa"
AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_pa/setup.exe"
if try_download "https://ftp.ctm.ru/PAYMENT/SFX/setup_pa.exe" "${AUTOINSTALL_EXE}" ; then
7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}"
unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}"
try_remove_file "$AUTOINSTALL_EXE"
wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\PAYMENT" /auto /hide