saleguas/context_menu

[v0.1.20] Script added key to HKEY_CLASSES_ROOT

Closed this issue · 2 comments

If i'm not wrong as of v0.1.20 registry keys should be added to HKEY_CURRENT_USER\Software\Classes. However my code (shown below) added the key to HKEY_CLASSES_ROOT.

def command(*args, **kwargs):
    print(args)
    print(kwargs)
    input()


if __name__ == '__main__':
    from context_menu import menus

    menus.FastCommand('test', type='FILES', python=command).compile()

As a side-effect, remove menu says that key doesnt exist

Hm, are you sure you updated the context_menu pip project? I don't see this behavior on my end.

Apparently you need to run this update

pip install context_menu --upgrade