ModAssistant icon indicating copy to clipboard operation
ModAssistant copied to clipboard

Register OneClick protocols as user to elimate Admin requirement

Open Stevoisiak opened this issue 5 years ago • 0 comments

Issue

Users need administrator rights to enable OneClick installs, as enabling OneClick affects all users on a PC.

Proposal

Instead of creating a system-wide registry key for OneClick:

Computer\HKEY_CLASSES_ROOT\beatsaver

We can create a user-specific registry key without admin rights:

Computer\HKEY_CURRENT_USER\Software\Classes\beatsaver

Extra

  • Removes administrator requirement for OneClick
  • OneClick Install could be enabled or disabled on a per-user basis
  • This method is used by several other apps, such as GitHub for Desktop (github-windows), Skype (skype), and Steam (steam)

To make this as seamless as possible for existing users, this proposal would only apply if the user hasn't already enabled OneClick install for the entire system. Alternatively, users could have an option when installing OneClick for current user only, or system wide if they have admin access.

Stevoisiak avatar Jan 19 '21 20:01 Stevoisiak