ved-control: updated url and file name

This commit is contained in:
Mikhail Tergoev
2026-01-15 18:53:10 +03:00
parent 8d82125e74
commit 032c03fbb1

View File

@@ -16,11 +16,11 @@ prepair_wine
# фикс постоянного запроса обновления Windows
get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef"
AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_cl.exe"
AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_cl"
AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_cl/setup.exe"
AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_ct.exe"
AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_ct"
AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_ct/setup.exe"
if try_download "https://ftp.ctm.ru/CONTROL/SFX/setup_cl.exe" "${AUTOINSTALL_EXE}" ; then
if try_download "https://ftp.ctm.ru/CONTROL/SFX/setup_ct.exe" "${AUTOINSTALL_EXE}" ; then
unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}"
try_remove_file "$AUTOINSTALL_EXE"