mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 19:25:56 +00:00
Play failed with ERROR_ELEVATION_REQUIRED (740) for clients whose executable requires administrator rights, because Command::spawn shows no permission prompt. Launch normally first and, only on 740, start the game through ShellExecuteExW with the runas verb, keeping the client folder as the working directory and closing the returned process handle. Other errors, including a declined prompt (1223), are returned unchanged. The Manager itself stays unelevated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
259 B
259 B
area, type, audience, title
| area | type | audience | title |
|---|---|---|---|
| manager | fixed | players | Play can launch Windows clients that require administrator approval |
Windows now shows its normal permission prompt when the game requires elevation. Other launch errors retain their original details.