Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/SingleApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ const Tags = ({ tags }) => {
const Copy = ({ id, version, latestVersion }) => {
const [showingCheck, setShowingCheck] = useState(false);

let str = `winget install --id=${id} ${version == latestVersion ? "" : `-v "${version}"`} -e`;
let str = `winget install --id=${id} ${version == latestVersion ? "" : `-v "${version}"`}-e`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This works when version == latestVersion but I think it will miss the space otherwise.

Copy link
Contributor Author

@DandelionSprout DandelionSprout Sep 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably. I admit I made a bit of a guess on this; the text syntaxing process in SingleApp.js was pretty complicated to figure out.


return (
<div
Expand Down