mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
link
This commit is contained in:
parent
8ba59e348f
commit
9da3a3030c
@ -4,7 +4,7 @@
|
|||||||
<a href="./LICENSE"><img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"></a>
|
<a href="./LICENSE"><img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"></a>
|
||||||
<a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
|
<a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
|
||||||
<a href="https://github.com/HIllya51/LunaTranslator/stargazers"><img src="https://img.shields.io/github/stars/HIllya51/LunaTranslator?color=ccf"></a>
|
<a href="https://github.com/HIllya51/LunaTranslator/stargazers"><img src="https://img.shields.io/github/stars/HIllya51/LunaTranslator?color=ccf"></a>
|
||||||
<a href="https://hillya51.github.io/LunaTranslator/download.html" target="_blank"><img src="https://img.shields.io/badge/download-blue"/></a>
|
<a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## 简体中文 | [Русский язык](README_ru.md) | [English](README_en.md) | [Other Language](otherlang.md)
|
## 简体中文 | [Русский язык](README_ru.md) | [English](README_en.md) | [Other Language](otherlang.md)
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Download LunaTranslator</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p id="download-link">Loading...</p>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
fetch('https://api.github.com/repos/HIllya51/LunaTranslator/releases/latest')
|
|
||||||
.then(response => response.json())
|
|
||||||
.then(data => {
|
|
||||||
const asset = data.assets.find(asset => asset.name === 'LunaTranslator.zip');
|
|
||||||
const asset2 = data.assets.find(asset => asset.name === 'LunaTranslator_x86.zip');
|
|
||||||
const downloadLink = document.getElementById('download-link');
|
|
||||||
downloadLink.innerHTML = `<a href="${asset.browser_download_url}">LunaTranslator.zip(64bit)</a><br><a href="${asset2.browser_download_url}">LunaTranslator_x86.zip(32bit)</a>`;
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
console.error('Error:', error);
|
|
||||||
const downloadLink = document.getElementById('download-link');
|
|
||||||
downloadLink.innerHTML = 'Failed to load download link.';
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -5,7 +5,7 @@
|
|||||||
<a href="./LICENSE"><img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"></a>
|
<a href="./LICENSE"><img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"></a>
|
||||||
<a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
|
<a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
|
||||||
<a href="https://github.com/HIllya51/LunaTranslator/stargazers"><img src="https://img.shields.io/github/stars/HIllya51/LunaTranslator?color=ccf"></a>
|
<a href="https://github.com/HIllya51/LunaTranslator/stargazers"><img src="https://img.shields.io/github/stars/HIllya51/LunaTranslator?color=ccf"></a>
|
||||||
<a href="https://hillya51.github.io/LunaTranslator/download.html" target="_blank"><img src="https://img.shields.io/badge/download-blue"/></a>
|
<a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## [文档地址](https://github.com/HIllya51/LunaTranslator)
|
## [文档地址](https://github.com/HIllya51/LunaTranslator)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user