From 9dc6377bd921f64109581746ddef3f50cb54d25a Mon Sep 17 00:00:00 2001 From: enzious Date: Wed, 18 Sep 2024 05:09:56 -0500 Subject: [PATCH] fix: windows build typos (#7521) --- .../{deskflow.exe.manifest => deskflowc.exe.manifest} | 0 src/lib/platform/MSWindowsWatchdog.cpp | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/cmd/deskflowc/{deskflow.exe.manifest => deskflowc.exe.manifest} (100%) diff --git a/src/cmd/deskflowc/deskflow.exe.manifest b/src/cmd/deskflowc/deskflowc.exe.manifest similarity index 100% rename from src/cmd/deskflowc/deskflow.exe.manifest rename to src/cmd/deskflowc/deskflowc.exe.manifest diff --git a/src/lib/platform/MSWindowsWatchdog.cpp b/src/lib/platform/MSWindowsWatchdog.cpp index a773a6598..803dc3e56 100644 --- a/src/lib/platform/MSWindowsWatchdog.cpp +++ b/src/lib/platform/MSWindowsWatchdog.cpp @@ -604,13 +604,13 @@ void MSWindowsWatchdog::shutdownExistingProcesses() { void MSWindowsWatchdog::getActiveDesktop(LPSECURITY_ATTRIBUTES security) { String installedDir = ARCH->getInstalledDirectory(); if (!installedDir.empty()) { - String deskflow - legacyCommand; - deskflow - legacyCommand.append("\"") + String deskflowLegacyCommand; + deskflowLegacyCommand.append("\"") .append(installedDir) .append("\\") .append("deskflow-legacy") .append("\""); - deskflow - legacyCommand.append(" --get-active-desktop"); + deskflowLegacyCommand.append(" --get-active-desktop"); m_session.updateActiveSession(); bool elevateProcess = m_elevateProcess; @@ -619,7 +619,7 @@ void MSWindowsWatchdog::getActiveDesktop(LPSECURITY_ATTRIBUTES security) { m_elevateProcess = elevateProcess; BOOL createRet = - startProcessAsUser(deskflow - legacyCommand, userToken, security); + startProcessAsUser(deskflowLegacyCommand, userToken, security); auto pid = m_processInfo.dwProcessId; if (!createRet) { DWORD rc = GetLastError();