Commit d6c6602c by Csók Tamás

client: corrected fallback action and url handler register

parent 911273ea
......@@ -145,9 +145,16 @@ def main():
('circle\\URL Protocol', ""),
('circle\\DefaultIcon', args.location+"cloud.ico"),
('circle\\shell', {'open': {
'command': r'"%s\pythonw.exe"' % sys.exec_prefix
+ r' "%s' % args.location
+ r'\cloud.py" "%1"'}})])
'command': (
"\"%(prefix)s\pythonw.exe\""
" \"%(location)s"
"cloud.py\" " % {
'prefix': sys.exec_prefix,
'location': args.location
}
+ r'"%1"')
}})
])
custom_protocol_register(custom_protocol)
except:
print "Error! URL Protocol handler installation aborted!"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment