slapperwan/gh4a

Add ability to copy release file download link

the-blank-x opened this issue · 3 comments

I want to use a different downloader, so I'd like to be able to copy the download URL for a file. This could be implemented by holding down on the file, or adding a copy link button.

Vethya commented

There are two asset download link forms:

The permanent one is permanent, relatively short, and is easy to construct, but does not work for private repositories. The temporary one is temporary, long, and requires an HTTP request to construct, but works for private repositories. Should I use the permanent or temporary one?

Bnyro commented

In my opinion, it makes a lot more sense to use the permanent one, as you likely want to use the copy function for sharing the link to others.

Vethya commented

Alright, I got it. I would like to give this a try.