shorebirdtech / install

The Shorebird (un)installer 🐦
Other
22 stars 9 forks source link

feat: support WSL #11

Closed eseidel closed 3 months ago

eseidel commented 1 year ago

Installer doesn't seem to work in WSL:

eseidel@DESKTOP-9NLT958:~$ curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | sh
Cloning Shorebird into /home/eseidel/.shorebird
Cloning into '/home/eseidel/.shorebird'...
remote: Enumerating objects: 2808, done.
remote: Counting objects: 100% (906/906), done.
remote: Compressing objects: 100% (383/383), done.
remote: Total 2808 (delta 670), reused 618 (delta 509), pack-reused 1902
Receiving objects: 100% (2808/2808), 598.36 KiB | 858.00 KiB/s, done.
Resolving deltas: 100% (1581/1581), done.
Building Shorebird...
/usr/bin/env: ‘bash\r’: No such file or directory
Error: Unable to 'pub upgrade' shorebird. Retrying in five seconds... (9 tries left)
/usr/bin/env: ‘bash\r’: No such file or directory
Error: Unable to 'pub upgrade' shorebird. Retrying in five seconds... (8 tries left)
^C
eseidel commented 1 year ago

We had someone complain about this recently. dart also doesn't work in wsl for what it's worth.