taku-nm / auto-cli

a simple script to automate the usage of revanced cli
225 stars 10 forks source link

bug: patching third party reddit apps fails with & in windows username #17

Closed taku-nm closed 9 months ago

taku-nm commented 9 months ago

other apps work it appears to fails at the second time :fetchAppJson is called I have absolutely no clue why. It correctly fetches the reddit client the first time, but then the second time it fails with "powershell" is not a recognized command

I suspect something something delay expansion... I'll continue to test.

Workaround:

The user can now set a custom path for installs, by editing line 9 by default it is set "localappdata=%localappdata%" a user might want to change it to set "localappdata=C:\Program Files"