';
            progressBar.textContent = '安装失败，请点击重试！';
            progressBar.style.pointerEvents = 'auto';
            progressBar.classList.remove('bg-gray-500', 'bg-secondary', 'bg-success');
            progressBar.classList.add('bg-danger', 'hover:bg-danger/90');
          }
        })
        .catch(() => {
          installText.textContent = '服务器错误，请检查 install.php';
          progressBar.textContent = '安装失败，请点击重试！';
          progressBar