alex-agency / XYC

Xiaomi Yi Configurator (XYC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firmware 1.2.12

PJanisio opened this issue · comments

/tmp/fuse_d # ./xyc.sh
: not foundine 45:
: not foundine 55:
: not foundine 66:
: not foundine 153:
./xyc.sh: line 196: syntax error: unexpected word (expecting "in")

Its happen because you have Windows line ending. You need Unix line ending for run script in Linux.
Try to change line ending via Notepad++ or Sublime Text editors.
If you download file without changes you won't have any line ending issues.

You were right. But i wasnt editing the .sh file. I have downloded your scrip by cloning repo from github by and opened by github repo app, so possibly this app modified line ending (wired).

Great job btw!