-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download and add openocd to the system path #9
Conversation
…s and unpacks the latest OpenOCD release from GitHub.
…resent or not. If it isn't present, this won't hurt, and if it is, we're just setting it up sooner.
So that if you just downloaded OpenOCD, the app will update the current ready status.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for addressing those issues... it now works perfectly on both Windows and Linux (x64)! :)
I've just added a call to update_control_statuses() when the config dialog has been closed, so that it unlocks the main UI if you just installed OpenOCD and am now merging, making a few more changes and pushing upstream to ElectrO ;)
There is now a button in the configure dialog, cunningly named "Download OpenOCD", which, shockingly, downloads OpenOCD, unpacks it to a directory named
openocd/
adjacent to the script itself. It then adds it to the system path (and this is picked up by the validation of the main dialog).Apologies for the size of the change, the stuff relating to downloading from GitHub is pretty self-contained though.
This would resolve issue #2