flameshot-org / flameshot-org.github.io

Flameshot official websites & documents
https://flameshot.org
25 stars 34 forks source link

Implement dynamically setting download links to latest release #116

Closed Correct-Syntax closed 1 year ago

Correct-Syntax commented 1 year ago

Purpose

Make it easier for people to download Flameshot binaries for their platform. This PR dynamically sets the download button links to binaries from the latest release using the Github API.

Fixes

Fixes #115

Notes

mmahmoudian commented 1 year ago

Thanks. This is an elegant solution to the problem.

Please let me know if you prefer the js code in it's own file or if inline with the html is ok.

I think for the sake of maintainability the current place is ok.

Thanks a bunch