mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Highlights: - appcast entries with a "new version" but without a download (paid updates, update notification for users of dropped HW) - installation now happens in a tool, rather than in the app being replaced - Sparkle-related logs now separated into a separate file ~/Library/Logs/SparkleUpdateLog.log for easier QA/triage - tons of small bug fixes - more details at https://github.com/andymatuschak/Sparkle/pull/18
57 lines
2.3 KiB
Objective-C
57 lines
2.3 KiB
Objective-C
//
|
|
// SUConstants.m
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 3/16/06.
|
|
// Copyright 2006 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#import "SUUpdater.h"
|
|
|
|
#import "SUAppcast.h"
|
|
#import "SUAppcastItem.h"
|
|
#import "SUVersionComparisonProtocol.h"
|
|
#import "SUConstants.h"
|
|
|
|
NSString *const SUUpdaterWillRestartNotification = @"SUUpdaterWillRestartNotificationName";
|
|
NSString *const SUTechnicalErrorInformationKey = @"SUTechnicalErrorInformation";
|
|
|
|
NSString *const SUHasLaunchedBeforeKey = @"SUHasLaunchedBefore";
|
|
NSString *const SUFeedURLKey = @"SUFeedURL";
|
|
NSString *const SUShowReleaseNotesKey = @"SUShowReleaseNotes";
|
|
NSString *const SUSkippedVersionKey = @"SUSkippedVersion";
|
|
NSString *const SUScheduledCheckIntervalKey = @"SUScheduledCheckInterval";
|
|
NSString *const SULastCheckTimeKey = @"SULastCheckTime";
|
|
NSString *const SUExpectsDSASignatureKey = @"SUExpectsDSASignature";
|
|
NSString *const SUPublicDSAKeyKey = @"SUPublicDSAKey";
|
|
NSString *const SUPublicDSAKeyFileKey = @"SUPublicDSAKeyFile";
|
|
NSString *const SUAutomaticallyUpdateKey = @"SUAutomaticallyUpdate";
|
|
NSString *const SUAllowsAutomaticUpdatesKey = @"SUAllowsAutomaticUpdates";
|
|
NSString *const SUEnableSystemProfilingKey = @"SUEnableSystemProfiling";
|
|
NSString *const SUEnableAutomaticChecksKey = @"SUEnableAutomaticChecks";
|
|
NSString *const SUEnableAutomaticChecksKeyOld = @"SUCheckAtStartup";
|
|
NSString *const SUSendProfileInfoKey = @"SUSendProfileInfo";
|
|
NSString *const SULastProfileSubmitDateKey = @"SULastProfileSubmissionDate";
|
|
NSString *const SUPromptUserOnFirstLaunchKey = @"SUPromptUserOnFirstLaunch";
|
|
NSString *const SUFixedHTMLDisplaySizeKey = @"SUFixedHTMLDisplaySize";
|
|
NSString *const SUKeepDownloadOnFailedInstallKey = @"SUKeepDownloadOnFailedInstall";
|
|
|
|
NSString *const SUSparkleErrorDomain = @"SUSparkleErrorDomain";
|
|
OSStatus SUAppcastParseError = 1000;
|
|
OSStatus SUNoUpdateError = 1001;
|
|
OSStatus SUAppcastError = 1002;
|
|
OSStatus SURunningFromDiskImageError = 1003;
|
|
|
|
OSStatus SUTemporaryDirectoryError = 2000;
|
|
|
|
OSStatus SUUnarchivingError = 3000;
|
|
OSStatus SUSignatureError = 3001;
|
|
|
|
OSStatus SUFileCopyFailure = 4000;
|
|
OSStatus SUAuthenticationFailure = 4001;
|
|
OSStatus SUMissingUpdateError = 4002;
|
|
OSStatus SUMissingInstallerToolError = 4003;
|
|
OSStatus SURelaunchError = 4004;
|
|
OSStatus SUInstallationError = 4005;
|
|
OSStatus SUDowngradeError = 4006;
|