Changeset 671:1b358db785d3
- Timestamp:
- 08/17/15 16:52:42 (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/update.py
r401 r671 465 465 if os.name=="nt": 466 466 win32api.ShellExecute(0, "open", os.path.join(directory, "mlxupdate"), 467 str(port) + " " + manifestFile , "", 1)467 str(port) + " " + manifestFile + " " + updateURL, "", 1) 468 468 else: 469 469 process = subprocess.Popen([os.path.join(directory, "mlxupdate"), 470 str(port), manifestFile ],471 shell = os.name=="nt")470 str(port), manifestFile, updateURL], 471 shell = os.name=="nt") 472 472 473 473 (mlxUpdateSocket, _) = serverSocket.accept() … … 546 546 clientSocket.connect(("127.0.0.1", int(sys.argv[1]))) 547 547 548 config = Config()549 config.load()550 551 548 directory = os.path.dirname(sys.argv[0]) 552 549 … … 560 557 localRemoved = getToremoveFiles(directory) 561 558 562 updateFiles(directory, config.updateURL,559 updateFiles(directory, sys.argv[3], 563 560 ClientListener(clientSocket), 564 561 updateManifest, modifiedAndNew, removed, localRemoved)
Note:
See TracChangeset
for help on using the changeset viewer.