base::Bind(&CallNSInvocation, base::Passed(invocation_ptr.Pass())));
}
-- (void)updaterWillRelaunchApplication:(SUUpdater*)updater {
- [[SUUpdater sharedUpdater] setDelegate:nil];
-}
-
@end
namespace auto_updater {
// static
void AutoUpdater::Init() {
SUUpdaterDelegate* delegate = [[SUUpdaterDelegate alloc] init];
- [delegate autorelease];
[[SUUpdater sharedUpdater] setDelegate:delegate];
}
// static
void AutoUpdater::CheckForUpdates() {
- [[SUUpdater sharedUpdater] checkForUpdates:[SUUpdater sharedUpdater]];
+ [[SUUpdater sharedUpdater] checkForUpdates:nil];
}
// static
<string>${PRODUCT_NAME}</string>
<key>CFBundleIconFile</key>
<string>atom.icns</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>