Skip to content

Commit

Permalink
Update installer2.html
Browse files Browse the repository at this point in the history
  • Loading branch information
alf45tar authored Oct 5, 2024
1 parent 8eea6ab commit b418808
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions installer2.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ <h1>PedalinoMini™ Installer</h1>
<hr/>
<a href="https://esphome.github.io/esp-web-tools/" target='_blank' style='color:#aaa;'>PedalinoMini™ Installer powered by ESP Web Tools</a>
</div>
<script>
const selectEl = document.querySelector(".pick-variant version-select");
const installEl = document.querySelector("esp-web-install-button");
installEl.manifest = selectEl.value;
selectEl.addEventListener("change", () => {
installEl.manifest = selectEl.value;
});
</script>
<script>
const GITHUB_REPO = "alf45tar/PedalinoMini";
const GITHUB_API_URL = `https://api.github.com/repos/${GITHUB_REPO}/git/refs/tags`;
Expand Down

0 comments on commit b418808

Please sign in to comment.