https://bugs.winehq.org/show_bug.cgi?id=40613
--- Comment #50 from Zeb Figura z.figura12@gmail.com --- (In reply to Hamish McIntyre-Bhatty from comment #49)
Have we got a timescale for this? There seem to have been patches in WINE-staging for a really long time, but runas still isn't around on WINE-dev.
The plan is to implement this differently, using basically the reverse logic as in the old wine-staging patch set. Programs will be run as a normal user by default, and automatically elevated when requested. I.e. using "runas" should not be necessary anymore.
Currently the blocker is at least one program which needs to be manually run as administrator. Annoyingly I can't actually find the bug (maybe it was reported to me privately, or I happened upon it?), but I think the program was Paint Tool Sai. I think we want to do this basically like Windows, by implementing the "run as administrator" menu option in our shell32. Probably we should also add a command-line option, although I don't think we want it to look like runas (which isn't really meant to work that way).