malgreen / NexNux

NexNux is a cross-platform mod manager built with C# and Avalonia
GNU General Public License v3.0
4 stars 0 forks source link

[Windows] UAC Fix #33

Closed malgreen closed 1 year ago

malgreen commented 1 year ago

Currently, the whole windows application asks for Admin rights when opening it. This is because the deployer for mods needs UAC access to create SymLinks, and it isn't possible to only request admin rights for certain methods, it needs to be defined for the whole .exe in the manifest.

Solution: Separate the mod deployment stuff into its own project, and build that independently.

malgreen commented 1 year ago

Another Solution: Windows could use "Move Deployment", where, instead of SymLinks, the mod files are moved to the deploy folder

malgreen commented 1 year ago

Another Solution: Use actual hardlinks instead of symlinks, see this

malgreen commented 1 year ago

fixed in #35