hydralauncher / hydra

Hydra is a game launcher with its own embedded bittorrent client and a self-managed repack scraper.
MIT License
9.53k stars 1.79k forks source link

Open without Admin rigths on Windows 11 #588

Open Vintic opened 3 weeks ago

Vintic commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Please, create a possibility to open without admin privilege. Installer allow me to install the app, but after I attempt to launch it, Admin password is requested. What for it is done?

I am trying to use it on work laptop, and I don't have admin rights there. I can search the web and download portable apps and games, that can be started without admin rights. (I did it for many apps, mostly using scoop: discord, Firefox, IDEA, Xonotic, ...)

Describe the solution you'd like

Possibility to use app without admin rights.

Describe alternatives you've considered

No response

Additional context

No response

expload233 commented 1 week ago

Maybe you can try to edit the electron-builder.yml file, then modify requestExecutionLevel to asInvoker then build it. To bypass the Windows permission requirement

zamitto commented 1 week ago

The admin permissions are needed to keep track of the games processes, and to open and close them. These features would not work correctly without admin privileges on Windows

1vnt commented 2 days ago

I do not know about all the windows internals, however other launchers like for example steam can do it just fine.

zamitto commented 2 days ago

Coincidentally, we use discussing this internal earlier today. We will rework how we handle it and drop the need of UAC on Windows