- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/update.py
r681 r652 465 465 if os.name=="nt": 466 466 win32api.ShellExecute(0, "open", os.path.join(directory, "mlxupdate"), 467 str(port) + " " + manifestFile + " " + updateURL, "", 1)467 str(port) + " " + manifestFile, "", 1) 468 468 else: 469 469 process = subprocess.Popen([os.path.join(directory, "mlxupdate"), 470 str(port), manifestFile , updateURL],471 470 str(port), manifestFile], 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 548 551 directory = os.path.dirname(sys.argv[0]) 549 552 … … 557 560 localRemoved = getToremoveFiles(directory) 558 561 559 updateFiles(directory, sys.argv[3],562 updateFiles(directory, Config.DEFAULT_UPDATE_URL, 560 563 ClientListener(clientSocket), 561 564 updateManifest, modifiedAndNew, removed, localRemoved)
Note:
See TracChangeset
for help on using the changeset viewer.