Commit d6c6602c by Csók Tamás

client: corrected fallback action and url handler register

parent 911273ea
...@@ -145,9 +145,16 @@ def main(): ...@@ -145,9 +145,16 @@ def main():
('circle\\URL Protocol', ""), ('circle\\URL Protocol', ""),
('circle\\DefaultIcon', args.location+"cloud.ico"), ('circle\\DefaultIcon', args.location+"cloud.ico"),
('circle\\shell', {'open': { ('circle\\shell', {'open': {
'command': r'"%s\pythonw.exe"' % sys.exec_prefix 'command': (
+ r' "%s' % args.location "\"%(prefix)s\pythonw.exe\""
+ r'\cloud.py" "%1"'}})]) " \"%(location)s"
"cloud.py\" " % {
'prefix': sys.exec_prefix,
'location': args.location
}
+ r'"%1"')
}})
])
custom_protocol_register(custom_protocol) custom_protocol_register(custom_protocol)
except: except:
print "Error! URL Protocol handler installation aborted!" 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