Fix file-transfer
This commit is contained in:
+8
-4
@@ -22,10 +22,14 @@ pub enum Action {
|
||||
ConfigOnly,
|
||||
/// No flags. Foreground dev mode.
|
||||
None,
|
||||
/// `--cm`. Connection-manager popup mode. Spawned as a USER-token child
|
||||
/// by the SYSTEM-token `--server` worker (via librustdesk's
|
||||
/// `run_as_user`) when a peer needs interactive approval. Binds the
|
||||
/// `_cm` IPC pipe, shows MessageBoxW, replies, exits.
|
||||
/// `--cm`. Connection-manager process. Spawned as a USER-token child of
|
||||
/// the SYSTEM-token `--server` worker (either pre-emptively by hello-agent's
|
||||
/// own `spawn_cm_into_user_desktop`, or as a fallback by librustdesk's
|
||||
/// `run_as_user` when its first `ipc::connect("_cm")` fails). Binds the
|
||||
/// `_cm` named pipe, runs upstream's `IpcTaskRunner` for each incoming
|
||||
/// `--server` connection, and lives for as long as the user session does
|
||||
/// — every `Data::FS(...)` frame the server sends is executed here, in
|
||||
/// the user's security context.
|
||||
Cm,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user