File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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) {
You can’t perform that action at this time.
0 commit comments