feat: implement instant download functionality with static link (#16)

This commit is contained in:
Owen Gretzinger
2025-07-14 22:32:57 -04:00
committed by GitHub
parent c449847752
commit b6c083ffce
9 changed files with 171 additions and 118 deletions
+8
View File
@@ -4,3 +4,11 @@ import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
export function downloadAndNavigate() {
// Open download URL in a new tab/window (this will trigger the download)
window.open('https://github.com/owengretzinger/meetingnotes/releases/latest/download/Meetingnotes.dmg', '_blank')
// Navigate to download page
window.location.href = '/download'
}