Skip to content

Use arch daemon windows directly - #9316

Merged
sithlord48 merged 8 commits into
masterfrom
useArchDaemonWindowsMore
Jan 6, 2026
Merged

Use arch daemon windows directly#9316
sithlord48 merged 8 commits into
masterfrom
useArchDaemonWindowsMore

Conversation

@sithlord48

@sithlord48 sithlord48 commented Jan 3, 2026

Copy link
Copy Markdown
Member

Noticed we have this abstraction around the ArchDaemonWindows calls. All the items can just include ArchDaemonWindows.

  • Remove abstractions of ArchDaemonWindows calls and use them directly
  • Remove unneeded calls of daemonRunning
  • Removes ArchMiscWindows's daemon related methods
  • Removes DAEMON_RUNNING in App.h
  • Remove unused ServerApp::daemonMainLoopStatic and ClientApp::daemonMainLoopStatic
  • Remove unused App::daemonMainLoop
  • Remove unused App::daemonInfo , ServerApp::daemonInfo and ClientApp::daemonInfo
  • update copyright where needed.

@sithlord48
sithlord48 requested a review from a team January 3, 2026 14:36
@sithlord48
sithlord48 requested a review from nbolton as a code owner January 3, 2026 14:36
@sithlord48 sithlord48 added the 🪟 windows This issue affects Windows label Jan 3, 2026
@sithlord48
sithlord48 force-pushed the useArchDaemonWindowsMore branch from 58c177d to fff92d3 Compare January 3, 2026 14:59
nbolton

This comment was marked as outdated.

@sithlord48

This comment was marked as outdated.

removes:
  unused DAEMON_RUNNING define in App.h
  unused ArchMiscWindows::daemonRunning
update copyright years
remove now unused ArchMiscWindows::getDaemonQuitMessage
remove now unused ArchMiscWindows::daemonFailed
update copyright year
remove now unused ArchMiscWindows::runDaemon
@sithlord48
sithlord48 force-pushed the useArchDaemonWindowsMore branch from fff92d3 to aff0c69 Compare January 5, 2026 12:07
@sithlord48
sithlord48 requested a review from nbolton January 5, 2026 12:08
@nbolton

This comment was marked as outdated.

@sithlord48

This comment was marked as outdated.

@nbolton

nbolton commented Jan 5, 2026

Copy link
Copy Markdown
Member

I believe we only need to worry about what src/lib/deskflow/DaemonApp.cpp uses but I should probably double check.

@sithlord48

Copy link
Copy Markdown
Member Author

This is ready anything extra we should do after this.

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready anything extra we should do after this.

Are you sure you want to keep this dead code?

Comment thread src/lib/deskflow/ClientApp.cpp Outdated
Comment thread src/lib/deskflow/ClientApp.cpp Outdated
Comment thread src/lib/deskflow/ServerApp.cpp Outdated
Comment thread src/lib/deskflow/ServerApp.cpp Outdated
@sithlord48

sithlord48 commented Jan 6, 2026

Copy link
Copy Markdown
Member Author

daemonRunning is used on windows when in "service" mode.

Edit: your right this is no longer needed in client/server only the deamon (good catch :D)
I've removed them

@sithlord48
sithlord48 requested a review from nbolton January 6, 2026 11:08
@sithlord48
sithlord48 enabled auto-merge (rebase) January 6, 2026 11:48
@sithlord48
sithlord48 merged commit 3993449 into master Jan 6, 2026
34 checks passed
@sithlord48
sithlord48 deleted the useArchDaemonWindowsMore branch January 6, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪟 windows This issue affects Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants