Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RedDevilus committed Sep 15, 2023
1 parent 0452041 commit 4694191
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ReleaseDownloadButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ function generateDropdownItems(release, os, assets, textRemovals, isNightly) {
} else if (os === "linux") {
// Check for Flatpak or AppImage tags which will make Appimage - x64 Qt and Flatpak - x64 Qt and no way to seemingly fix the regular way
if (asset.additionalTags.includes("appimage")) {
displayName =
"App" + displayName.charAt(3).toUpperCase() + displayName.slice(4); // Convert "Appimage" to "AppImage" because tags failing to uppercase it
displayName = "App" + displayName.charAt(3).toUpperCase() + displayName.slice(4); // Convert "Appimage" to "AppImage" because tags failing to uppercase it
} else if (asset.additionalTags.includes("flatpak")) {
displayName = "Flatpak";
}
Expand Down

0 comments on commit 4694191

Please sign in to comment.