What happened?
The OS is detected as MINGW64_NT-10.0-19045, and tries to download croc_v10.3.1_MINGW64_NT-10.0-19045-64bit.tar.gz from releases, which simply doesn't exist and download fails.
What did you expect to happen?
The script should account for being in MINTTY, and download the windows file and follow windows installation instructions.
Steps to reproduce
- Install MINGW
- Launch MinTTY (MINGW64 bash terminal)
- Run
curl https://getcroc.schollz.com | bash
croc version
None
Operating System
Windows
OS Version
Windows 10 64bit
Relevant log output
NAME@DESKTOP-LETTERS MINGW64 /c/Windows/system32
$curl https://getcroc.schollz.com | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25645 100 25645 0 0 8236 0 0:00:03 0:00:03 --:--:-- 8240
=================================================
____
/ ___|_ __ ___ ___
| | | '__/ _ \ / __|
| |___| | | (_) | (__
\____|_| \___/ \___|
___ _ _ _
|_ _|_ __ ___| |_ __ _| | | ___ _ __
| || '_ \/ __| __/ _` | | |/ _ \ '__|
| || | | \__ \ || (_| | | | __/ |
|___|_| |_|___/\__\__,_|_|_|\___|_|
==================================================
== Install prefix set to /usr/local/bin
== Created temp dir at /tmp/croc.dYC6Y1
== Architecture detected as x86_64
== OS detected as MINGW64_NT-10.0-19045
https://github.com/schollz/croc/releases/download/v10.3.1/croc_v10.3.1_MINGW64_NT-10.0-19045-64bit.tar.gz /tmp/croc.dYC6Y1 croc_v10.3.1_MINGW64_NT-10.0-19045-64bit.tar.gz
curl: (22) The requested URL returned error: 404
== Return code of download tool returned an unexpected value of 22
Additional context
No response
What happened?
The OS is detected as MINGW64_NT-10.0-19045, and tries to download
croc_v10.3.1_MINGW64_NT-10.0-19045-64bit.tar.gzfrom releases, which simply doesn't exist and download fails.What did you expect to happen?
The script should account for being in MINTTY, and download the windows file and follow windows installation instructions.
Steps to reproduce
curl https://getcroc.schollz.com | bashcroc version
None
Operating System
Windows
OS Version
Windows 10 64bit
Relevant log output
Additional context
No response