Ignore:
Timestamp:
Apr 7, 2015, 7:48:17 PM (10 years ago)
Author:
alloc
Message:

AEI 2.22: Consider all local packages with number < 10000 as Tool, others as Mod. Repository packages are not affected by this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/backend/packages/Package.java

    r857 r1020  
    122122                                getLocalPath(), "Mod_Info.cfg");
    123123                File aeicfg = new File(getLocalPath(), "aei.cfg");
    124                 File plain = CaseInsensitiveFile.getCaseInsensitiveFile(getLocalPath(),
    125                                 "plain");
     124//              File plain = CaseInsensitiveFile.getCaseInsensitiveFile(getLocalPath(),
     125//                              "plain");
    126126                if (config.exists()) {
    127127                        Mod_Info mi = new Mod_Info(config, packageNumber);
     
    173173                        }
    174174                }
    175                 if (isLocalOnly())
    176                         tool = plain.exists();
     175                if (isLocalOnly()) {
     176                        tool = packageNumber < 10000;
     177                }
    177178        }
    178179
Note: See TracChangeset for help on using the changeset viewer.