Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Rem0o committed Mar 16, 2024
2 parents f3b3a99 + 344ad08 commit 6f552f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reactComponents/downloadModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function GetDownloadable(
return { name, url: asset.browser_download_url, type: "unknown" };
}

var splittedName = name.split("_").filter(x => x != props.version.toString());
// fc, version, net, major, minor
var splittedName = name.split("_");
// fc_version_net_major_minor
const [fc, version, net, major, minor] = splittedName;

const dotnetString = major == "4" ? ".NET Framework" : ".NET";
Expand Down

0 comments on commit 6f552f8

Please sign in to comment.