[Request] Need to provide a way to uninstall idapkg
See original GitHub issueDon’t get me wrong ! I’ve been playing this plugin for a while and it really is an amazing project 😃 👍 However when I was testing the plugin, I encountered some problem and have to find a way to re-install idapkg completely.
To be brief, I have two version of IDA in my computer (Windows 10), and when I was testing the plugin, it kind of screwed up the variable in config.json
( I think it’s idausr_native_bases
), making me unable to open ida ( it kept crashing ). After I installed idapkg, I first open version A’s ida.exe, then open version B’s ida64.exe ( both of them worked perfectly ). And then I found I was unable to open version A’s ida64.exe and version B’s ida.exe ( both of them crashed ). It took me quite a while to find the root cause and have to delete config.json
& re-install idapkg to fix the issue.
This make me think that the project should provide a way to uninstall the plugin (and document it in the manual), in case the user have decided not to use the plugin anymore. As far as I understand it has something to do with idapythonrc.py
, and it’s located in C:\Users\<username>\AppData\Roaming\Hex-Rays\IDA Pro\idapythonrc.py
(Windows) , which is not an easy place for user to reach/discover. It would be nice if we can use a single command in IDA’s python shell to remove the plugin completely.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
Done except
pkg << "package"
since it’s impossible in python to override methods in module object without hacking sys.modules… 😇pkg.install
now accepts repo=[‘repos’] toopkg.remote(spec, repo=None)
is addedpkg.upgrade(spec, repo=None)
is added… in de002e3 ! 😃
Currently this can be done with
pkg.install(..., upgrade=True)
, but the shortcut seems good (argument order can be sometimes confusing).In addition, I’m updating some commands e.g. making repo= argument optional, add remote(),
pkg << "package"
. I’ll close the issue when the refactoring is done!