Ignore:
Timestamp:
02/10/03 06:33:41 (21 years ago)
Author:
Nicholas Riley
Message:

ICeCoffEE 1.3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/APEMain.m

    r88 r89  
    7171    ICCF_MigratePrefs();
    7272
     73    UInt32 icVersion = CFBundleGetVersionNumber(inBundle);
     74    ICapeprintf("ICeCoffEE APE: bundle version is %ld (0x%x)\n", icVersion, icVersion);
     75    CFNumberRef icVersionRef = CFNumberCreate(NULL, kCFNumberLongType, &icVersion);
     76    CFPreferencesSetAppValue(kICLastLoadedVersion, icVersionRef, kICBundleIdentifier);
     77    SAFE_RELEASE(icVersionRef);
     78
    7379    // first check if this application is in the exclude list;
    7480    // if it is, simply return and do not apply any patches.
    7581    // APETools will help us with that; APE Manager will take care of
    7682    // exclude list management for us.
    77     if (APEToolsIsInExcludeList(kICBundleIdentifier, NULL))
    78     {
     83    if (APEToolsIsInExcludeList(kICBundleIdentifier, NULL)) {
    7984        ICapeprintf("ICeCoffEE APE: not loading as this application is excluded.\n");
    8085        return;
Note: See TracChangeset for help on using the changeset viewer.