Ignore:
Timestamp:
Jan 20, 2013, 3:01:47 PM (12 years ago)
Author:
alloc
Message:

AEI2 0.95:

  • Made download-window non-abortable as soon as last file was downloaded (but not yet unpacked)
  • Fixed table to work with local-only packages again (regression introduced when adding last-change column)
  • Added mod version number to contents pane
File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/installer2/src/net/oni2/aeinstaller/backend/mods/download/ModDownloader.java

    r605 r638  
    2828                 */
    2929                INTERRUPTED,
     30                /**
     31                 * When the last file was downloaded and only unpacking is left
     32                 */
     33                LAST_FILE_DOWNLOADED,
    3034                /**
    3135                 * Everything completed
     
    6973                if ((state == State.RUNNING) && (currentDownload < downloads.size())) {
    7074                        downloads.get(currentDownload).start();
     75                }else if (state == State.RUNNING) {
     76                        state = State.LAST_FILE_DOWNLOADED;
     77                        notifyListener();
    7178                } else {
    7279                        notifyListener();
     
    7582
    7683        private int getTimeElapsed() {
    77                 int total = (int) (new Date().getTime() - startMS)
    78                                 / 1000;
     84                int total = (int) (new Date().getTime() - startMS) / 1000;
    7985                return total;
    8086        }
Note: See TracChangeset for help on using the changeset viewer.