Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jan 9, 2025
1 parent d715bdd commit 63f32f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,8 @@ function showToast(message) {
if (showtoastsig == thissig)
toast.style.display = "none";
}, 3000);
}
}

function openlink(url) {
window.open(window.location.protocol + '//' + window.location.hostname.substring(5) + '/' + url, "_blank")
}
2 changes: 1 addition & 1 deletion docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#### 国内免魔法上网下载链接(若连不上github可以用该链接下载)

下载64位版 <a href="https://lunatranslator.org/Resource/DownloadLuna/64" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> 下载32位版 <a href="https://lunatranslator.org/Resource/DownloadLuna/32" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a>
下载64位版 <a href="javascript:void(0)" onclick="openlink('Resource/DownloadLuna/64')" ><img src="https://img.shields.io/badge/download_64bit-blue"/></a> 下载32位版 <a href="javascript:void(0)" onclick="openlink('Resource/DownloadLuna/32')"><img src="https://img.shields.io/badge/download_32bit-blue"/></a>

#### Github Release下载

Expand Down

0 comments on commit 63f32f3

Please sign in to comment.