ghdl
ghdl copied to clipboard
A much more convenient way to download GitHub release binaries on the command line, works on Win & Unix-like systems
https://github.com/beetcb/ghdl/blob/f53255a2ab0f2fae3f8018262f1a072b2e9cd521/dl.go#L72
### Current behavior ```bash C:\Users\beet\Desktop\share\bin>ghdl caarlos0/tasktimer --name tt → start downloading tt_windows_amd64.tar.gz ███████████████████████████████████ 100% of 6.1 MB → binary file not found. Try to specify binary name flag C:\Users\beet\Desktop\share\bin>ghdl caarlos0/tasktimer...
### Description This PR fixes an issue where the binary name is not recognized on Windows systems when the '.exe' extension is missing. The current behavior is that the program...
### Description This PR refactors the error handling in the file download process to provide a more robust and flexible error handling mechanism. ### Summary of Changes - In `dl.go`:...