Skip to content

Commit 2af6e9c

Browse files
Update static.yml
1 parent 12e88b9 commit 2af6e9c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/static.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</head>
4141
<body>
4242
<h1>🚀 Magica Studio Pro</h1>
43-
<p>Télécharge toujours la dernière version de <strong>MagicaSetup.exe</strong> directement depuis les releases GitHub 👇</p>
43+
<p>Télécharge toujours la dernière version de <strong>MagicaSetup.exe</strong> directement depuis GitHub 👇</p>
4444

4545
<button id="downloadBtn">Chargement…</button>
4646

@@ -50,14 +50,14 @@
5050
const btn = document.getElementById("downloadBtn");
5151
const owner = "MaxiStudioDev";
5252
const repo = "MagicaStudioPro";
53-
const targetFile = "MagicaSetup.exe"; // le fichier exact que l'on veut
53+
const targetFile = "MagicaSetup.exe"; // on force ce fichier exact
5454

5555
async function loadLatestExe() {
5656
try {
5757
const res = await fetch(`https://api.github.com/repos/${owner}/${repo}/releases/latest`);
5858
const data = await res.json();
5959

60-
// Cherche exactement l’asset MagicaSetup.exe
60+
// On prend exactement MagicaSetup.exe
6161
const exeAsset = data.assets.find(a => a.name === targetFile);
6262

6363
if (exeAsset) {

0 commit comments

Comments
 (0)