Changeset 5141

Show
Ignore:
Timestamp:
12/16/07 00:09:00 (7 months ago)
Author:
morris
Message:

Use special appcast for nightly builds

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Spiral/trunk/Info.plist

    r5116 r5141  
    304304        <key>NSPrincipalClass</key> 
    305305        <string>WIApplication</string> 
    306         <key>SUFeedURL</key> 
    307         <string>http://www.zankasoftware.com/sparkle/spiral.xml</string> 
    308306        <key>SUCheckAtStartup</key> 
    309307        <false/> 
  • Spiral/trunk/SPApplicationController.m

    r5121 r5141  
    5151- (void)awakeFromNib { 
    5252        SPSharedApplicationController = self; 
     53         
     54#ifdef RELEASE 
     55        [[NSUserDefaults standardUserDefaults] setObject:@"http://www.zankasoftware.com/sparkle/spiral.xml" forKey:@"SUFeedURL"]; 
     56#else 
     57        [[NSUserDefaults standardUserDefaults] setObject:@"http://www.zankasoftware.com/sparkle/spiral-nightly.xml" forKey:@"SUFeedURL"]; 
     58#endif 
    5359         
    5460        [self scheduleUpdateCheck];