tarik02 / MultiRoyale

GNU Lesser General Public License v3.0
4 stars 0 forks source link

Bash errors #3

Open coolnickname opened 6 years ago

coolnickname commented 6 years ago

The app isn't working so I decided to run the script manually, as root, with the parameter "test" as profile name.

It gives me these strange errors:

1|ether:/sdcard/# sh ./clashroyale.sh test
: not found
: not found
: not found
: not found:
$ test
: not found: test
: not found: }
: not found:
./cr.sh[57]: syntax error: unmatched 'if'

Mind you I did not type the $ test that's randomly in there. I think it prints the parameters to the console?

tarik02 commented 6 years ago

I will check it.

tarik02 commented 6 years ago

Hmmm, works normally for me: https://asciinema.org/a/LGNBkmLdyqRdioncbUDgfNdnj . Maybe i will try to embed shell (bash) binary to the app...

tarik02 commented 6 years ago

Can you post here output of $ cat clashroyale.sh?

coolnickname commented 6 years ago

Here is the output for me link. Also running it as root doesn't make a difference.

I just adb over the script, but here you go anyway. Link.

tarik02 commented 6 years ago

Please, install bash and try to run with it: https://forum.xda-developers.com/android/software-hacking/dev-lastest-bash-android-t2898295

tarik02 commented 6 years ago

It should be executed by root always.