Feature/automation #6

Merged
dutchie031 merged 39 commits from feature/automation into main 2026-07-30 12:26:55 +00:00
Showing only changes of commit a0dd4cc979 - Show all commits
@@ -38,7 +38,7 @@ class DownloadScript extends HTMLElement {
} }
try { try {
const response = await fetch('https://api.github.com/repos/dutchie031/Spearhead/releases/latest'); const response = await fetch('https://git.dutchie031.com/api/v1/repos/Spearhead/spearhead/releases/latest');
const data = await response.json(); const data = await response.json();
// Cache the data // Cache the data
@@ -66,7 +66,7 @@ class DownloadScript extends HTMLElement {
var version = "?"; var version = "?";
var timestamp = "?"; var timestamp = "?";
var size = "?"; var size = "?";
var href = "https://github.com/dutchie031/Spearhead/releases" var href = "https://git.dutchie031.com/Spearhead/spearhead/releases"
const latestRelease = await this.fetchLatestRelease(); const latestRelease = await this.fetchLatestRelease();
if (latestRelease) { if (latestRelease) {
@@ -105,7 +105,7 @@ class DownloadScript extends HTMLElement {
<p> <p>
<span class="version-text">${version}</span> (${timestamp}) <br> <span class="version-text">${version}</span> (${timestamp}) <br>
<a style="text-decoration: underline;" target="_blank" href="${href}">Download</a> (${size}) <br> <a style="text-decoration: underline;" target="_blank" href="${href}">Download</a> (${size}) <br>
<a style="text-decoration: underline;" target="_blank" href="https://github.com/dutchie031/Spearhead/releases">See All Versions here</a> <a style="text-decoration: underline;" target="_blank" href="https://git.dutchie031.com/Spearhead/spearhead/releases">See All Versions here</a>
</p> </p>
</div> </div>