

    fetch(`https://api.github.com/repos/${owner}/${repo}/releases/latest`)
        .then(response => response.json())
        .then(data => {
            const releaseInfo = document.getElementById('version');
            releaseInfo.innerHTML = data.tag_name;
            tag_name = data.tag_name
        })
        .catch(error => {
            console.error('Error fetching release data:', error);
            document.getElementById('release-info').textContent = 'Failed to load release information.';
    