Changeset 681:6d454f3c68c8 for src/mlx
- Timestamp:
- 09/27/15 15:11:57 (9 years ago)
- Branch:
- cef
- Parents:
-
655:912e0c6076d1 (diff), 680:965523af85d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Location:
- src/mlx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/const.py
r647 r681 11 11 12 12 ## The version of the program 13 VERSION="0.3 4cef"13 VERSION="0.35.2" 14 14 15 15 #------------------------------------------------------------------------------- … … 45 45 ## Flight simulator type: X-Plane 10 46 46 SIM_XPLANE10 = 4 47 48 ## Flight simulator type: Prepar3D 49 SIM_P3D = 5 47 50 48 51 #------------------------------------------------------------------------------- -
src/mlx/update.py
r652 r681 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.DEFAULT_UPDATE_URL,559 updateFiles(directory, sys.argv[3], 563 560 ClientListener(clientSocket), 564 561 updateManifest, modifiedAndNew, removed, localRemoved) -
src/mlx/update.py
r672 r681 525 525 return 526 526 527 print "update: result:", result528 529 527 (manifest, updateManifest, modifiedAndNew, removed) = result 530 528 localRemoved = getToremoveFiles(directory)
Note:
See TracChangeset
for help on using the changeset viewer.