Skip to content

Commit

Permalink
Add mapping for Android and aarch64 downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Nov 22, 2024
1 parent 5fefead commit 8a14626
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ function determinePlatformFromAssetName(name)
return name.includes("-qt5") && !name.includes("-qt6") ? "windows" : "windows10";
} else if (name.includes("pc-linux-gnu")) {
return "pc-linux-gnu";
} else if (name.includes("android")) {
return "android";
}
}

Expand All @@ -78,6 +80,8 @@ function determineDisplayNameForAsset(name)
arch = "32-bit (Intel/AMD)";
} else if (name.includes("x86_64-")) {
arch = "64-bit (Intel/AMD)";
} else if (name.includes("aarch64-")) {
arch = "64-bit (ARM)";
}
let component;
if (name.startsWith("syncthingctl-")) {
Expand Down

0 comments on commit 8a14626

Please sign in to comment.