diff options
| author | Itay Grudev <itay+github.com@grudev.com> | 2020-07-02 05:31:38 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-02 05:31:38 +0100 | 
| commit | e93c12ab69a25fcaa963416f0e348d3269263190 (patch) | |
| tree | b9245b911df183d03d5bfb7b3a4987b73c978734 /README.md | |
| parent | v3.1.4 (diff) | |
| download | singleapplication-e93c12ab69a25fcaa963416f0e348d3269263190.tar.xz | |
Added examples
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 | 
1 files changed, 9 insertions, 0 deletions
@@ -139,6 +139,15 @@ app.isSecondary();  *__Note:__ If your Primary Instance is terminated a newly launched instance  will replace the Primary one even if the Secondary flag has been set.* +Examples +-------- + +There are three examples provided in this repository: + +* Basic example that prevents a secondary instance from starting [`examples/basic`](https://github.com/itay-grudev/SingleApplication/tree/master/examples/basic) +* An example of a graphical application raising it's parent window [`examples/calculator`](https://github.com/itay-grudev/SingleApplication/tree/master/examples/calculator) +* A console application sending the primary instance it's command line parameters [`examples/sending_arguments`](https://github.com/itay-grudev/SingleApplication/tree/master/examples/sending_arguments) +  API  ---  | 
