diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-28 18:07:04 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-28 18:07:04 +0200 |
commit | b97462993b00ecc5cd04051b4fc2abd164fefb04 (patch) | |
tree | 6575f4c47b658a69c7da60e72d1f748e866e0aaf /CMakeLists.txt | |
parent | 2583e020e7f1f1036f6df8f5b93668e7a0187d60 (diff) |
Single app instance; IPC mechanism
Only one instance of Lagrange is allowed to run per a runtime directory. Otherwise the instances will overwrite each others' files.
Added a check at startup to see if an instance is already running. If so, options can be used to communicate with it.
By default, a new tab is opened in the running instance.
IssueID #37
IssueID #164
IssueID #174
IssueID #178
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6067f9cd..3ee6ea00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -100,6 +100,8 @@ set (SOURCES | |||
100 | src/gopher.h | 100 | src/gopher.h |
101 | src/history.c | 101 | src/history.c |
102 | src/history.h | 102 | src/history.h |
103 | src/ipc.c | ||
104 | src/ipc.h | ||
103 | src/lookup.c | 105 | src/lookup.c |
104 | src/lookup.h | 106 | src/lookup.h |
105 | src/media.c | 107 | src/media.c |