windows: disable registering of protocol handler for now as it requires admin rights

This commit is contained in:
Hylke Bons 2012-03-08 23:35:47 +00:00
parent 93eccbf5d8
commit be285fe061

View file

@ -125,6 +125,8 @@ namespace SparkleShare {
public override void InstallProtocolHandler()
{
/* FIXME: Need to find a way to do this without administrator privilidges (or move to the installer)
// Get assembly location
string location = System.Reflection.Assembly.GetExecutingAssembly ().Location;
string folder = Path.GetDirectoryName (location);
@ -141,6 +143,7 @@ namespace SparkleShare {
string action_key = "HKEY_CLASSES_ROOT\\sparkleshare\\shell\\open\\command";
Registry.SetValue (action_key, "", "\"" + invite_exe + "\" \"%1\"");
*/
}