Closed stevieb9 closed 4 years ago
This is becaue of the regex in Unconfig()
. It relies on berrybrew
and bin
being in the path string.
Will need to come up with something more reliable.
Possibly we could write a method to return the exact path location of the berrybrew binary (set it as an object attribute?), and update the regex to include that full string exactly.
When testing the new installer with a previous install of v1.22 at
C:\Users\Admin\Downloads\berrybrew-122\berrybrew
,berrybrew unconfig
did not remove itself from thePATH
env var, despite the software saying it had.This definitely needs to be fixed.