diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 81013e0..55d3720 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "pudu-launcher", - "version": "2.0.0", + "version": "2.0.1", "identifier": "com.corp0.pudu-launcher", "build": { "beforeDevCommand": "npm run generate-ts && npm run build-sidecar && npm run dev", diff --git a/src/components/layouts/UpdateLayout.tsx b/src/components/layouts/UpdateLayout.tsx index a33e001..4400605 100644 --- a/src/components/layouts/UpdateLayout.tsx +++ b/src/components/layouts/UpdateLayout.tsx @@ -60,7 +60,7 @@ export default function UpdateLayout(props: UpdateLayoutProps) { return ( ( + { + if (href) { + void openExternalUrl(event, href); + } + }} + > + {children} + + ), +}; + export default function ReleaseNotesCard(props: ReleaseNotesCardProps) { const { content } = props; @@ -54,7 +72,7 @@ export default function ReleaseNotesCard(props: ReleaseNotesCardProps) { "& a:hover": { textDecoration: "underline" }, "& strong": { color: "text.primary" }, }}> - {content} + {content} );