vegardit / scoop-portable

Self-contained Windows batch file that installs/loads a portable scoop (https://scoop.sh) environment.
Apache License 2.0
8 stars 3 forks source link

Update installation instructions #4

Closed Deskehs closed 7 months ago

Deskehs commented 7 months ago

Issue #, if available:

1

Description of changes: I had a similar error of #1 while trying to update scoop, saying The syntax of the command is incorrect. I try to debug it by adding some echo printouts aroung the file and returned < was unexpected at this time, which is the same as #1. And then I see the problem, for some reason, saving it from raw returns Unix (LF) line break type and not Windows (CR LF) line break type, setting line break type to that fixes it and the error does not happen anymore.

Updated installation instructions to reflect that and should prevent those errors from happening for new users.

sebthom commented 7 months ago

thanks!