Changeset 616 for AE/installer2/src/net
- Timestamp:
- Jan 15, 2013, 1:57:48 AM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/AEInstaller.properties
r615 r616 1 1 appname=AE Installer 2 2 appversion=0.7 72 appversion=0.78 3 3 4 4 invalidPath.title=Wrong directory -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r615 r616 488 488 } 489 489 490 @ DoInBackground(progressMessage = "initializingEdition.title", cancelable = false, indeterminateProgress = false)491 private void initialize(final BackgroundEvent evt) {490 @SuppressWarnings("unused") 491 private void checkInitialize() { 492 492 if (!Installer.isEditionInitialized()) { 493 493 int res = JOptionPane.showConfirmDialog(this, … … 498 498 saveLocalData(); 499 499 exit(); 500 } else { 501 Installer.initializeEdition(new InstallProgressListener() { 502 @Override 503 public void installProgressUpdate(int done, int total, 504 String step) { 505 evt.setProgressEnd(total); 506 evt.setProgressValue(done); 507 evt.setProgressMessage(step); 508 } 509 }); 510 } 500 } 501 } 502 } 503 504 @DoInBackground(progressMessage = "initializingEdition.title", cancelable = false, indeterminateProgress = false) 505 private void initialize(final BackgroundEvent evt) { 506 if (!Installer.isEditionInitialized()) { 507 Installer.initializeEdition(new InstallProgressListener() { 508 @Override 509 public void installProgressUpdate(int done, int total, 510 String step) { 511 evt.setProgressEnd(total); 512 evt.setProgressValue(done); 513 evt.setProgressMessage(step); 514 } 515 }); 511 516 } 512 517 } -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml
r612 r616 6 6 locationRelativeTo: null 7 7 defaultCloseOperation: doNothingOnClose 8 onWindowOpened: [execDepotUpdate,checkMandatoryFiles, initialize,checkUpdates,focus]8 onWindowOpened: [execDepotUpdate,checkMandatoryFiles,checkInitialize,initialize,checkUpdates,focus] 9 9 onWindowClosing: [saveLocalData,exit] 10 10 iconImage: img.ae
Note:
See TracChangeset
for help on using the changeset viewer.