mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-10 08:21:40 +08:00
don't build barrierd for non-windows platforms; removed some synergy-related legacy checks
This commit is contained in:
@@ -697,15 +697,7 @@ ArchDaemonWindows::installDaemon()
|
||||
void
|
||||
ArchDaemonWindows::uninstallDaemon()
|
||||
{
|
||||
// remove legacy services if installed.
|
||||
if (isDaemonInstalled(LEGACY_SERVER_DAEMON_NAME)) {
|
||||
uninstallDaemon(LEGACY_SERVER_DAEMON_NAME);
|
||||
}
|
||||
if (isDaemonInstalled(LEGACY_CLIENT_DAEMON_NAME)) {
|
||||
uninstallDaemon(LEGACY_CLIENT_DAEMON_NAME);
|
||||
}
|
||||
|
||||
// remove new service if installed.
|
||||
// remove service if installed.
|
||||
if (isDaemonInstalled(DEFAULT_DAEMON_NAME)) {
|
||||
uninstallDaemon(DEFAULT_DAEMON_NAME);
|
||||
}
|
||||
|
||||
@@ -142,9 +142,6 @@ private:
|
||||
#define DEFAULT_DAEMON_NAME _T("Barrier")
|
||||
#define DEFAULT_DAEMON_INFO _T("Manages the Barrier foreground processes.")
|
||||
|
||||
#define LEGACY_SERVER_DAEMON_NAME _T("Barrier Server")
|
||||
#define LEGACY_CLIENT_DAEMON_NAME _T("Barrier Client")
|
||||
|
||||
static const TCHAR* const g_daemonKeyPath[] = {
|
||||
_T("SOFTWARE"),
|
||||
_T("The Barrier Project"),
|
||||
|
||||
Reference in New Issue
Block a user