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
Updater: Add code documentation #9615
Updater: Add code documentation #9615
Conversation
Source/Core/UICommon/AutoUpdate.h
Outdated
| // a) On MacOS (starts main() in MacUpdater/main.m): | ||
| // * Checks that the process received command line arguments. If not it tells the user the | ||
| // updater can't be launched directly and quits | ||
| // * Calls NSApplicationMain(), which passes control to the AppDelegate defined in | ||
| // MacUpdater/AppDelegate.mm. The command line arguments are converted to a std::vector | ||
| // and passed to RunUpdater() in UpdaterCommon.h |
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.
I'm not familiar with Objective-c so I'm not certain about this part, but it should be something close.
|
It would be better to add this as a separate readme file, and citing that file inside the cpp and h files |
293a7dd
to
480f1ed
Compare
|
Documentation moved to docs/autoupdate_overview.txt, with comments thereto in autoupdate related classes. |
Good, is it necessary to cite the document in the mac updater files too? |
480f1ed
to
6f1773c
Compare
Add docs/autoupdate_overview.md which gives an overview of the update process, and comments pointing to it in autoupdate related files.
6f1773c
to
e0a8d93
Compare
|
Add a comment at the beginning of AutoUpdate.h giving an overview of
the update process and how the flow of control proceeds during an
update.