Skip to content

Commit 40260d9

Browse files
committed
fix: mention minimal platform requirements
1 parent 5ae6405 commit 40260d9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

assets/js/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ document.addEventListener('DOMContentLoaded', function () {
5858
const download = document.getElementById("download");
5959
switch (OSName) {
6060
case "win":
61-
download.innerText = "Download for Windows";
61+
download.innerHTML = "Download for Windows\n<p class='text-base text-center'><sub>(Windows 10 1809 or later)</sub></p>";
6262
download.setAttribute("href", "https://github.com/lapce/lapce/releases/download/v0.2.0/Lapce-windows.msi")
6363
break;
6464
case "mac":
65-
download.innerText = "Download for macOS";
65+
download.innerHTML = "Download for macOS\n<p class='text-base text-center'><sub>(macOS 10.11 or later)</sub></p>";
6666
download.setAttribute("href", "https://github.com/lapce/lapce/releases/download/v0.2.0/Lapce-macos.dmg")
6767
break;
6868
case "linux":
69-
download.innerText = "Download for Linux";
69+
download.innerHTML = "Download for Linux\n<p class='text-base text-center'><sub>(GLIBC 2.27 or later)</sub></p>";
7070
download.setAttribute("href", "https://github.com/lapce/lapce/releases/download/v0.2.0/Lapce-linux.tar.gz")
7171
break;
7272
}

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ <h3 class="mb-4 text-xl md:text-2xl leading-tight font-bold">Built-in Terminal</
245245
<div class="flex justify-center my-10 md:mb-10">
246246
<img class="h-16" src="assets/img/linux-logo.png" alt="">
247247
</div>
248+
<span class="flex justify-center">GLIBC 2.27 or later</span>
248249
<div class="flex flex-wrap my-1">
249250
<div class="w-1/2 text-right px-1">
250251
<p>.tar.gz</p>
@@ -259,6 +260,7 @@ <h3 class="mb-4 text-xl md:text-2xl leading-tight font-bold">Built-in Terminal</
259260
<div class="flex justify-center my-10 md:mb-10">
260261
<img class="h-16" src="assets/img/windows-logo.png" alt="">
261262
</div>
263+
<span class="flex justify-center">Windows 10 1809 or later</span>
262264
<div class="flex flex-wrap my-1">
263265
<div class="w-1/2 text-right px-1">
264266
<p>System Installer</p>
@@ -282,6 +284,7 @@ <h3 class="mb-4 text-xl md:text-2xl leading-tight font-bold">Built-in Terminal</
282284
<div class="flex justify-center my-10 md:mb-10">
283285
<img class="h-16" src="assets/img/apple-logo.svg" alt="">
284286
</div>
287+
<span class="flex justify-center">macOS 10.11 or later</span>
285288
<div class="flex flex-wrap my-1">
286289
<div class="w-1/2 text-right px-1">
287290
<p>.dmg</p>

0 commit comments

Comments
 (0)