diff --git a/Configurations/ConfigTestApp.xcconfig b/Configurations/ConfigTestApp.xcconfig index a0f18581..f34249fc 100644 --- a/Configurations/ConfigTestApp.xcconfig +++ b/Configurations/ConfigTestApp.xcconfig @@ -3,6 +3,5 @@ INFOPLIST_FILE = TestApplication/TestApplication-Info.plist WRAPPER_EXTENSION = app ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon -CLANG_ENABLE_OBJC_ARC = NO LD_RUNPATH_SEARCH_PATHS = @executable_path/../Frameworks PRODUCT_BUNDLE_IDENTIFIER = org.sparkle-project.SparkleTestApp diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index ea64aa79..a4fe142e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -175,6 +175,12 @@ 7223E7631AD1AEFF008E3161 /* sais.c in Sources */ = {isa = PBXBuildFile; fileRef = 7223E7611AD1AEFF008E3161 /* sais.c */; }; 7268AC631AD634C200C3E0C1 /* SUBinaryDeltaCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */; }; 72D4DAA11AD7632900B211E2 /* SUBinaryDeltaCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */; }; + 72E45CF31B640CDD005C701A /* SUTestApplicationDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 72E45CF21B640CDD005C701A /* SUTestApplicationDelegate.m */; }; + 72E45CF71B640DAE005C701A /* SUUpdateSettingsWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 72E45CF51B640DAE005C701A /* SUUpdateSettingsWindowController.m */; }; + 72E45CF81B640DAE005C701A /* SUUpdateSettingsWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 72E45CF61B640DAE005C701A /* SUUpdateSettingsWindowController.xib */; }; + 72E45CFC1B641961005C701A /* sparkletestcast.xml in Resources */ = {isa = PBXBuildFile; fileRef = 72E45CFB1B641961005C701A /* sparkletestcast.xml */; }; + 72E45CFE1B641D0D005C701A /* test_app_only_dsa_priv_dont_ever_do_this_for_real.pem in Resources */ = {isa = PBXBuildFile; fileRef = 72E45CFD1B641D0D005C701A /* test_app_only_dsa_priv_dont_ever_do_this_for_real.pem */; }; + 72E45DDD1B65C3BD005C701A /* sign_update in Resources */ = {isa = PBXBuildFile; fileRef = 72E45DDC1B65C3BD005C701A /* sign_update */; }; 767B61AC1972D488004E0C3C /* SUGuidedPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 767B61AA1972D488004E0C3C /* SUGuidedPackageInstaller.h */; }; 767B61AD1972D488004E0C3C /* SUGuidedPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */; }; 767B61AE1972D488004E0C3C /* SUGuidedPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */; }; @@ -560,6 +566,14 @@ 7223E7621AD1AEFF008E3161 /* sais.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sais.h; sourceTree = ""; }; 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBinaryDeltaCreate.m; sourceTree = ""; }; 7268AC641AD634E400C3E0C1 /* SUBinaryDeltaCreate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBinaryDeltaCreate.h; sourceTree = ""; }; + 72E45CF11B640CDD005C701A /* SUTestApplicationDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUTestApplicationDelegate.h; sourceTree = ""; }; + 72E45CF21B640CDD005C701A /* SUTestApplicationDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUTestApplicationDelegate.m; sourceTree = ""; }; + 72E45CF41B640DAE005C701A /* SUUpdateSettingsWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdateSettingsWindowController.h; sourceTree = ""; }; + 72E45CF51B640DAE005C701A /* SUUpdateSettingsWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdateSettingsWindowController.m; sourceTree = ""; }; + 72E45CF61B640DAE005C701A /* SUUpdateSettingsWindowController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SUUpdateSettingsWindowController.xib; sourceTree = ""; }; + 72E45CFB1B641961005C701A /* sparkletestcast.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = sparkletestcast.xml; sourceTree = ""; }; + 72E45CFD1B641D0D005C701A /* test_app_only_dsa_priv_dont_ever_do_this_for_real.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = test_app_only_dsa_priv_dont_ever_do_this_for_real.pem; sourceTree = ""; }; + 72E45DDC1B65C3BD005C701A /* sign_update */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = sign_update; path = bin/sign_update; sourceTree = SOURCE_ROOT; }; 767B61AA1972D488004E0C3C /* SUGuidedPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUGuidedPackageInstaller.h; sourceTree = ""; }; 767B61AB1972D488004E0C3C /* SUGuidedPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUGuidedPackageInstaller.m; sourceTree = ""; }; 8DC2EF5A0486A6940098B216 /* Sparkle-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Sparkle-Info.plist"; sourceTree = ""; }; @@ -932,9 +946,17 @@ 61B5F91D09C4CF7F00B25A18 /* Test Application */ = { isa = PBXGroup; children = ( + 72E45DDC1B65C3BD005C701A /* sign_update */, 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */, 61B5F92409C4CFC900B25A18 /* main.m */, + 72E45CF11B640CDD005C701A /* SUTestApplicationDelegate.h */, + 72E45CF21B640CDD005C701A /* SUTestApplicationDelegate.m */, + 72E45CF41B640DAE005C701A /* SUUpdateSettingsWindowController.h */, + 72E45CF51B640DAE005C701A /* SUUpdateSettingsWindowController.m */, + 72E45CF61B640DAE005C701A /* SUUpdateSettingsWindowController.xib */, 61B5F92C09C4CFD800B25A18 /* MainMenu.xib */, + 72E45CFB1B641961005C701A /* sparkletestcast.xml */, + 72E45CFD1B641D0D005C701A /* test_app_only_dsa_priv_dont_ever_do_this_for_real.pem */, 14732BBF1960F0AC00593899 /* test_app_only_dsa_pub.pem */, 61B5F90409C4CEE200B25A18 /* TestApplication-Info.plist */, ); @@ -1312,7 +1334,11 @@ 1420DF50196247F900203BB0 /* Images.xcassets in Resources */, 61B5F92E09C4CFD800B25A18 /* InfoPlist.strings in Resources */, 61B5F92F09C4CFD800B25A18 /* MainMenu.xib in Resources */, + 72E45CFC1B641961005C701A /* sparkletestcast.xml in Resources */, 14732BC01960F2C200593899 /* test_app_only_dsa_pub.pem in Resources */, + 72E45CF81B640DAE005C701A /* SUUpdateSettingsWindowController.xib in Resources */, + 72E45DDD1B65C3BD005C701A /* sign_update in Resources */, + 72E45CFE1B641D0D005C701A /* test_app_only_dsa_priv_dont_ever_do_this_for_real.pem in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1456,6 +1482,8 @@ buildActionMask = 2147483647; files = ( 61B5F93009C4CFDC00B25A18 /* main.m in Sources */, + 72E45CF31B640CDD005C701A /* SUTestApplicationDelegate.m in Sources */, + 72E45CF71B640DAE005C701A /* SUUpdateSettingsWindowController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj b/TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj deleted file mode 100644 index 963e475f..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App.xcodeproj/project.pbxproj +++ /dev/null @@ -1,283 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 5A195FB01983E85D000BE570 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A195FAF1983E85D000BE570 /* main.m */; }; - 5A195FB31983E85D000BE570 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A195FB21983E85D000BE570 /* AppDelegate.m */; }; - 5A195FB51983E85D000BE570 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A195FB41983E85D000BE570 /* Images.xcassets */; }; - 5A195FB81983E85D000BE570 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5A195FB61983E85D000BE570 /* MainMenu.xib */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 5A195FAA1983E85D000BE570 /* Sparkle Updated Test App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sparkle Updated Test App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 5A195FAE1983E85D000BE570 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 5A195FAF1983E85D000BE570 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 5A195FB11983E85D000BE570 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 5A195FB21983E85D000BE570 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 5A195FB41983E85D000BE570 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 5A195FB71983E85D000BE570 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 5A195FA71983E85D000BE570 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 5A195FA11983E85D000BE570 = { - isa = PBXGroup; - children = ( - 5A195FAC1983E85D000BE570 /* Sparkle Updated Test App */, - 5A195FAB1983E85D000BE570 /* Products */, - ); - sourceTree = ""; - }; - 5A195FAB1983E85D000BE570 /* Products */ = { - isa = PBXGroup; - children = ( - 5A195FAA1983E85D000BE570 /* Sparkle Updated Test App.app */, - ); - name = Products; - sourceTree = ""; - }; - 5A195FAC1983E85D000BE570 /* Sparkle Updated Test App */ = { - isa = PBXGroup; - children = ( - 5A195FB11983E85D000BE570 /* AppDelegate.h */, - 5A195FB21983E85D000BE570 /* AppDelegate.m */, - 5A195FB61983E85D000BE570 /* MainMenu.xib */, - 5A195FAD1983E85D000BE570 /* Supporting Files */, - ); - path = "Sparkle Updated Test App"; - sourceTree = ""; - }; - 5A195FAD1983E85D000BE570 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 5A195FB41983E85D000BE570 /* Images.xcassets */, - 5A195FAE1983E85D000BE570 /* Info.plist */, - 5A195FAF1983E85D000BE570 /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 5A195FA91983E85D000BE570 /* Sparkle Updated Test App */ = { - isa = PBXNativeTarget; - buildConfigurationList = 5A195FC71983E85D000BE570 /* Build configuration list for PBXNativeTarget "Sparkle Updated Test App" */; - buildPhases = ( - 5A195FA61983E85D000BE570 /* Sources */, - 5A195FA71983E85D000BE570 /* Frameworks */, - 5A195FA81983E85D000BE570 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Sparkle Updated Test App"; - productName = "Sparkle Updated Test App"; - productReference = 5A195FAA1983E85D000BE570 /* Sparkle Updated Test App.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 5A195FA21983E85D000BE570 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0600; - ORGANIZATIONNAME = "Sparkle-project"; - TargetAttributes = { - 5A195FA91983E85D000BE570 = { - CreatedOnToolsVersion = 6.0; - }; - }; - }; - buildConfigurationList = 5A195FA51983E85D000BE570 /* Build configuration list for PBXProject "Sparkle Updated Test App" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 5A195FA11983E85D000BE570; - productRefGroup = 5A195FAB1983E85D000BE570 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 5A195FA91983E85D000BE570 /* Sparkle Updated Test App */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 5A195FA81983E85D000BE570 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5A195FB51983E85D000BE570 /* Images.xcassets in Resources */, - 5A195FB81983E85D000BE570 /* MainMenu.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 5A195FA61983E85D000BE570 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5A195FB31983E85D000BE570 /* AppDelegate.m in Sources */, - 5A195FB01983E85D000BE570 /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 5A195FB61983E85D000BE570 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 5A195FB71983E85D000BE570 /* Base */, - ); - name = MainMenu.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 5A195FC51983E85D000BE570 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - 5A195FC61983E85D000BE570 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - }; - name = Release; - }; - 5A195FC81983E85D000BE570 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = Sparkle; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = "Sparkle Updated Test App/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 5A195FC91983E85D000BE570 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = Sparkle; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = "Sparkle Updated Test App/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 5A195FA51983E85D000BE570 /* Build configuration list for PBXProject "Sparkle Updated Test App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5A195FC51983E85D000BE570 /* Debug */, - 5A195FC61983E85D000BE570 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 5A195FC71983E85D000BE570 /* Build configuration list for PBXNativeTarget "Sparkle Updated Test App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5A195FC81983E85D000BE570 /* Debug */, - 5A195FC91983E85D000BE570 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; -/* End XCConfigurationList section */ - }; - rootObject = 5A195FA21983E85D000BE570 /* Project object */; -} diff --git a/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h b/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h deleted file mode 100644 index ac12a211..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// AppDelegate.h -// Sparkle Updated Test App -// -// Created by Kornel on 26/07/2014. -// Copyright (c) 2014 Sparkle-project. All rights reserved. -// - -#import - -@interface AppDelegate : NSObject - - -@end - diff --git a/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m b/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m deleted file mode 100644 index 54538ff5..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/AppDelegate.m +++ /dev/null @@ -1,27 +0,0 @@ -// -// AppDelegate.m -// Sparkle Updated Test App -// -// Created by Kornel on 26/07/2014. -// Copyright (c) 2014 Sparkle-project. All rights reserved. -// - -#import "AppDelegate.h" - -@interface AppDelegate () -@end - -@implementation AppDelegate - -- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { - NSRunAlertPanel(@"Update succeeded!", @"This is the updated version of Sparkle Test App.\n\nDelete and rebuild the app to test updates again.", @"OK", nil, nil); - - NSURL *bundleURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]]; - if (bundleURL) { - [[NSWorkspace sharedWorkspace] activateFileViewerSelectingURLs: @[bundleURL]]; - } - - [NSApp terminate:self]; -} - -@end diff --git a/TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib b/TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib deleted file mode 100644 index 86e35280..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/Base.lproj/MainMenu.xib +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json deleted file mode 100644 index 2e9df94b..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/Contents.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "icon_16x16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "icon_16x16@2x.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "icon_32x32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "icon_32x32@2x.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "icon_128x128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "icon_128x128@2x.png", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png deleted file mode 100644 index 4d798520..00000000 Binary files a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128.png and /dev/null differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png deleted file mode 100644 index 2bf2b0b8..00000000 Binary files a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_128x128@2x.png and /dev/null differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png deleted file mode 100644 index 23eada4e..00000000 Binary files a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16.png and /dev/null differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png deleted file mode 100644 index 7ab394c6..00000000 Binary files a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_16x16@2x.png and /dev/null differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png deleted file mode 100644 index fa1e0dac..00000000 Binary files a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32.png and /dev/null differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png b/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png deleted file mode 100644 index f44f9779..00000000 Binary files a/TestApplication/After Update/Sparkle Updated Test App/Images.xcassets/Sparkle.appiconset/icon_32x32@2x.png and /dev/null differ diff --git a/TestApplication/After Update/Sparkle Updated Test App/Info.plist b/TestApplication/After Update/Sparkle Updated Test App/Info.plist deleted file mode 100644 index 6b1edff0..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/Info.plist +++ /dev/null @@ -1,36 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIdentifier - org.sparkle-project.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 2.0 - CFBundleSignature - ???? - CFBundleVersion - 2 - LSApplicationCategoryType - public.app-category.developer-tools - LSMinimumSystemVersion - ${MACOSX_DEPLOYMENT_TARGET} - NSHumanReadableCopyright - Copyright © 2014 Sparkle-project. All rights reserved. - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/TestApplication/After Update/Sparkle Updated Test App/main.m b/TestApplication/After Update/Sparkle Updated Test App/main.m deleted file mode 100644 index 6aafcfc3..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/main.m +++ /dev/null @@ -1,6 +0,0 @@ - -#import - -int main(int argc, const char * argv[]) { - return NSApplicationMain(argc, argv); -} diff --git a/TestApplication/After Update/Sparkle Updated Test App/test_app_only_dsa_pub.pem b/TestApplication/After Update/Sparkle Updated Test App/test_app_only_dsa_pub.pem deleted file mode 100644 index dacd55e9..00000000 --- a/TestApplication/After Update/Sparkle Updated Test App/test_app_only_dsa_pub.pem +++ /dev/null @@ -1,20 +0,0 @@ ------BEGIN PUBLIC KEY----- -MIIDOzCCAi0GByqGSM44BAEwggIgAoIBAQD2WbLx8Bd1b1vp8FdDpSzkHZ0tlX5x -Hrzm0WWE9IokOmJw/UWk1GQYRJnA8UlufFTJV4dZVL3It4xwqqWWFyN36LWgQUpf -ss9eTn7M7vjk7BVYch7QMs4jGEnSYkebuYfVhUZlg5VViQ+37Rj+ENtBUrkPJxIY -CGAOIJn45uX5oNIPbElFkadU6m7zd1gn8KhRgIepa2k3iBbkFuCbxTPT/aqLI+MW -8kR4jXITTgBkDew6DXLVL9SsJup4LeAEizTGyyTBY5bfMJaO8NaB8+uPrkC3SZV+ -r/LIaBcmU3vVfmw43FGzBlJtGflPaL8Ek9lRK1aSzk3Gr7tPdaado9tPAhUAmn4E -HKjL3lXfHzBmDSrrp5G5+IkCggEAFvGRfoL0u3zN4O+8imTxfiSYcFUjBUly4gIl -NXM4AgFmy8WE+diZRh6/3eg+CO0B1io+thmU2sTFAbV7sHVuGaBpPyFtcvrCHGGp -EcqWwmxuhUc1CzeoBvGw4u8mfCBvcUPjFfhllJJFdIgaTrYXFxqgsb6ZKWKsYz9J -jjJkOlRFIlRfowd1RlqodZYYvdvfWnPd32HpI9i/ofhPdlF5W2f51diH/jVJaRCo -TKECwcYG+qkPC5gkIIgzC6/DPRT8pzCLJ0NoWj3TQwL1LffMSmT9hTGAD1iyJjn5 -S9ZLLkz/K+QoGS+Rv4gboMAxa0Cla7R8NwtXqMD0kpeZwDAAgQOCAQYAAoIBAQDw -tDiRJy5DsFNRIaKe6NlyW1gyjYIhbeOCDt5fYMdX7tOR64ng28ACU5ESu6jRANMp -NYjE9oTBx28C0TXXRLDiblHe6IsisKsJJgkNkNc2DwUdPcGoPTRK/MS0k0CQsPQq -cU0Uh/vYXNQ3rsJMAJ0xJ+yYllm3MVQkbZrWlJTe/nU6M8ahiR6WBelrKhzHrhuy -MZ8n+oXvBc/Jo8Z63O/5e94BS0PiGb1Eo84ds6ramno7XJpTXE/nxphBSsaXCwdy -T97rvDzfDG0v0eo9fdX9aL7jPVODDt0bk+MSRdDpcMlgJzhIpNUtafrTUHIkPyKb -/BX9wwwXLfWGTz5TRovi ------END PUBLIC KEY----- diff --git a/TestApplication/English.lproj/InfoPlist.strings b/TestApplication/English.lproj/InfoPlist.strings index e6e21d40..e62659a8 100644 --- a/TestApplication/English.lproj/InfoPlist.strings +++ b/TestApplication/English.lproj/InfoPlist.strings @@ -1,4 +1,3 @@ /* Localized versions of Info.plist keys */ NSHumanReadableCopyright = "© Andy Matuschak, 2006"; -CFBundleShortVersionString = "1.5"; \ No newline at end of file diff --git a/TestApplication/English.lproj/MainMenu.xib b/TestApplication/English.lproj/MainMenu.xib index 5bf06c63..ccd4e02a 100644 --- a/TestApplication/English.lproj/MainMenu.xib +++ b/TestApplication/English.lproj/MainMenu.xib @@ -1,140 +1,44 @@ - + - + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + - + - + - - - - - + @@ -153,7 +57,7 @@ - + @@ -338,7 +242,7 @@ - + @@ -348,7 +252,6 @@ - - + diff --git a/TestApplication/SUTestApplicationDelegate.h b/TestApplication/SUTestApplicationDelegate.h new file mode 100644 index 00000000..cbe0710c --- /dev/null +++ b/TestApplication/SUTestApplicationDelegate.h @@ -0,0 +1,13 @@ +// +// SUTestApplicationDelegate.h +// Sparkle +// +// Created by Mayur Pawashe on 7/25/15. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import + +@interface SUTestApplicationDelegate : NSObject + +@end diff --git a/TestApplication/SUTestApplicationDelegate.m b/TestApplication/SUTestApplicationDelegate.m new file mode 100644 index 00000000..8b0f1d55 --- /dev/null +++ b/TestApplication/SUTestApplicationDelegate.m @@ -0,0 +1,190 @@ +// +// SUTestApplicationDelegate.m +// Sparkle +// +// Created by Mayur Pawashe on 7/25/15. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import "SUTestApplicationDelegate.h" +#import "SUUpdateSettingsWindowController.h" + +@interface SUTestApplicationDelegate () + +@property (nonatomic) SUUpdateSettingsWindowController *updateSettingsWindowController; +@property (nonatomic) NSTask *serverTask; + +@end + +@implementation SUTestApplicationDelegate + +@synthesize updateSettingsWindowController = _updateSettingsWindowController; +@synthesize serverTask = _serverTask; + +static NSString * const UPDATED_VERSION = @"2.0"; + +- (void)applicationDidFinishLaunching:(NSNotification * __unused)notification +{ + NSBundle *mainBundle = [NSBundle mainBundle]; + + // Check if we are already up to date + if ([[mainBundle objectForInfoDictionaryKey:(NSString *)kCFBundleVersionKey] isEqualToString:UPDATED_VERSION]) { + NSAlert *alreadyUpdatedAlert = [[NSAlert alloc] init]; + alreadyUpdatedAlert.messageText = @"Update succeeded!"; + alreadyUpdatedAlert.informativeText = @"This is the updated version of Sparkle Test App.\n\nDelete and rebuild the app to test updates again."; + [alreadyUpdatedAlert runModal]; + + [[NSApplication sharedApplication] terminate:nil]; + } + + NSFileManager *fileManager = [NSFileManager defaultManager]; + + // Locate user's cache directory + NSError *cacheError = nil; + NSURL *cacheDirectoryURL = [fileManager URLForDirectory:NSCachesDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:&cacheError]; + + if (cacheDirectoryURL == nil) { + NSLog(@"Failed to locate cache directory with error: %@", cacheError); + assert(NO); + } + + NSString *bundleIdentifier = mainBundle.bundleIdentifier; + assert(bundleIdentifier != nil); + + // Create a directory that'll be used for our web server listing + NSURL *serverDirectoryURL = [cacheDirectoryURL URLByAppendingPathComponent:bundleIdentifier]; + if ([fileManager fileExistsAtPath:serverDirectoryURL.path]) { + NSError *removeServerDirectoryError = nil; + + if (![fileManager removeItemAtURL:serverDirectoryURL error:&removeServerDirectoryError]) { + assert(NO); + } + } + + NSError *createDirectoryError = nil; + if (![fileManager createDirectoryAtURL:serverDirectoryURL withIntermediateDirectories:YES attributes:nil error:&createDirectoryError]) { + NSLog(@"Failed creating directory at %@ with error %@", serverDirectoryURL.path, createDirectoryError); + assert(NO); + } + + NSURL *bundleURL = mainBundle.bundleURL; + assert(bundleURL != nil); + + // Copy main bundle into server directory + NSURL *destinationBundleURL = [serverDirectoryURL URLByAppendingPathComponent:bundleURL.lastPathComponent]; + NSError *copyBundleError = nil; + if (![fileManager copyItemAtURL:bundleURL toURL:destinationBundleURL error:©BundleError]) { + NSLog(@"Failed to copy main bundle into server directory with error %@", copyBundleError); + assert(NO); + } + + // Update bundle's version keys to latest version + NSURL *infoURL = [[destinationBundleURL URLByAppendingPathComponent:@"Contents"] URLByAppendingPathComponent:@"Info.plist"]; + + BOOL infoFileExists = [fileManager fileExistsAtPath:infoURL.path]; + assert(infoFileExists); + + NSMutableDictionary *infoDictionary = [[NSMutableDictionary alloc] initWithContentsOfURL:infoURL]; + infoDictionary[(NSString *)kCFBundleVersionKey] = UPDATED_VERSION; + infoDictionary[@"CFBundleShortVersionString"] = UPDATED_VERSION; + + BOOL wroteInfoFile = [infoDictionary writeToURL:infoURL atomically:NO]; + assert(wroteInfoFile); + + // Change current working directory so web server knows where to list files + BOOL changedCurrentWorkingDirectory = [fileManager changeCurrentDirectoryPath:serverDirectoryURL.path]; + assert(changedCurrentWorkingDirectory); + + // Create the archive for our update + NSString *zipName = @"Sparkle_Test_App.zip"; + NSTask *dittoTask = [[NSTask alloc] init]; + dittoTask.launchPath = @"/usr/bin/ditto"; + dittoTask.arguments = @[@"-c", @"-k", @"--sequesterRsrc", @"--keepParent", destinationBundleURL.lastPathComponent, zipName]; + [dittoTask launch]; + [dittoTask waitUntilExit]; + + assert(dittoTask.terminationStatus == 0); + + [[NSFileManager defaultManager] removeItemAtURL:destinationBundleURL error:NULL]; + + // Don't ever do this at home, kids (seriously) + // (that is, including the private key inside of your application) + NSString *privateKeyPath = [mainBundle pathForResource:@"test_app_only_dsa_priv_dont_ever_do_this_for_real" ofType:@"pem"]; + assert(privateKeyPath != nil); + + // Sign our update + NSTask *signUpdateTask = [[NSTask alloc] init]; + NSString *signUpdatePath = [mainBundle pathForResource:@"sign_update" ofType:@""]; + assert(signUpdatePath != nil); + signUpdateTask.launchPath = signUpdatePath; + + NSURL *archiveURL = [serverDirectoryURL URLByAppendingPathComponent:zipName]; + signUpdateTask.arguments = @[archiveURL, privateKeyPath]; + + NSPipe *outputPipe = [NSPipe pipe]; + signUpdateTask.standardOutput = outputPipe; + + [signUpdateTask launch]; + [signUpdateTask waitUntilExit]; + + assert(signUpdateTask.terminationStatus == 0); + + NSData *signatureData = [outputPipe.fileHandleForReading readDataToEndOfFile]; + NSString *signature = [[[NSString alloc] initWithData:signatureData encoding:NSUTF8StringEncoding] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; + + assert(signature != nil); + + // Obtain the file attributes to get the file size of our update later + NSError *fileAttributesError = nil; + NSDictionary *archiveFileAttributes = [fileManager attributesOfItemAtPath:archiveURL.path error:&fileAttributesError]; + if (archiveFileAttributes == nil) { + NSLog(@"Failed to retrieve file attributes from archive with error %@", fileAttributesError); + assert(NO); + } + + NSString * const appcastName = @"sparkletestcast"; + NSString * const appcastExtension = @"xml"; + + // Copy our appcast over to the server directory + NSURL *appcastDestinationURL = [[serverDirectoryURL URLByAppendingPathComponent:appcastName] URLByAppendingPathExtension:appcastExtension]; + NSError *copyAppcastError = nil; + if (![fileManager copyItemAtURL:[mainBundle URLForResource:appcastName withExtension:appcastExtension] toURL:appcastDestinationURL error:©AppcastError]) { + NSLog(@"Failed to copy appcast into cache directory with error %@", copyAppcastError); + assert(NO); + } + + // Update the appcast with the file size and signature of the update archive + // We could be using some sort of XML parser instead of doing string substitutions, but for now, this is easier + NSError *appcastError = nil; + NSMutableString *appcastContents = [[NSMutableString alloc] initWithContentsOfURL:appcastDestinationURL encoding:NSUTF8StringEncoding error:&appcastError]; + if (appcastContents == nil) { + NSLog(@"Failed to load appcast contents with error %@", appcastError); + assert(NO); + } + + NSUInteger numberOfLengthReplacements = [appcastContents replaceOccurrencesOfString:@"$INSERT_ARCHIVE_LENGTH" withString:[NSString stringWithFormat:@"%llu", archiveFileAttributes.fileSize] options:NSLiteralSearch range:NSMakeRange(0, appcastContents.length)]; + assert(numberOfLengthReplacements == 1); + + NSUInteger numberOfSignatureReplacements = [appcastContents replaceOccurrencesOfString:@"$INSERT_DSA_SIGNATURE" withString:signature options:NSLiteralSearch range:NSMakeRange(0, appcastContents.length)]; + assert(numberOfSignatureReplacements == 1); + + NSError *writeAppcastError = nil; + if (![appcastContents writeToURL:appcastDestinationURL atomically:NO encoding:NSUTF8StringEncoding error:&writeAppcastError]) { + NSLog(@"Failed to write updated appcast with error %@", writeAppcastError); + assert(NO); + } + + // Finally start the server + self.serverTask = [NSTask launchedTaskWithLaunchPath:@"/usr/bin/python" arguments:@[@"-m", @"SimpleHTTPServer", @"1337"]]; + + // Show the Settings window + self.updateSettingsWindowController = [[SUUpdateSettingsWindowController alloc] init]; + [self.updateSettingsWindowController showWindow:nil]; +} + +- (void)applicationWillTerminate:(NSNotification * __unused)notification +{ + [self.serverTask terminate]; +} + +@end diff --git a/TestApplication/SUUpdateSettingsWindowController.h b/TestApplication/SUUpdateSettingsWindowController.h new file mode 100644 index 00000000..f209eadc --- /dev/null +++ b/TestApplication/SUUpdateSettingsWindowController.h @@ -0,0 +1,13 @@ +// +// SUUpdateSettingsWindowController.h +// Sparkle +// +// Created by Mayur Pawashe on 7/25/15. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import + +@interface SUUpdateSettingsWindowController : NSWindowController + +@end diff --git a/TestApplication/SUUpdateSettingsWindowController.m b/TestApplication/SUUpdateSettingsWindowController.m new file mode 100644 index 00000000..3d651044 --- /dev/null +++ b/TestApplication/SUUpdateSettingsWindowController.m @@ -0,0 +1,32 @@ +// +// SUUpdateSettingsWindowController.m +// Sparkle +// +// Created by Mayur Pawashe on 7/25/15. +// Copyright (c) 2015 Sparkle Project. All rights reserved. +// + +#import "SUUpdateSettingsWindowController.h" +#import + +@interface SUUpdateSettingsWindowController () + +@property (nonatomic) IBOutlet SUUpdater *updater; + +@end + +@implementation SUUpdateSettingsWindowController + +@synthesize updater = _updater; + +- (NSString *)windowNibName +{ + return NSStringFromClass([self class]); +} + +- (IBAction)checkForUpdates:(id __unused)sender +{ + [self.updater checkForUpdates:nil]; +} + +@end diff --git a/TestApplication/SUUpdateSettingsWindowController.xib b/TestApplication/SUUpdateSettingsWindowController.xib new file mode 100644 index 00000000..99d04aef --- /dev/null +++ b/TestApplication/SUUpdateSettingsWindowController.xib @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestApplication/TestApplication-Info.plist b/TestApplication/TestApplication-Info.plist index 7f99a9f0..de0b9961 100644 --- a/TestApplication/TestApplication-Info.plist +++ b/TestApplication/TestApplication-Info.plist @@ -18,6 +18,8 @@ ???? CFBundleVersion 1.5 + CFBundleShortVersionString + 1.5 NSMainNibFile MainMenu NSPrincipalClass @@ -25,7 +27,7 @@ SUEnableSystemProfiling SUFeedURL - http://sparkle-project.org/files/sparkletestcast.xml + http://0.0.0.0:1337/sparkletestcast.xml SUPublicDSAKeyFile test_app_only_dsa_pub.pem NSAppTransportSecurity @@ -34,10 +36,10 @@ sparkle-project.org - NSIncludesSubdomains - - NSTemporaryExceptionAllowsInsecureHTTPLoads - + NSIncludesSubdomains + + NSTemporaryExceptionAllowsInsecureHTTPLoads + diff --git a/TestApplication/sparkletestcast.xml b/TestApplication/sparkletestcast.xml new file mode 100644 index 00000000..670d606c --- /dev/null +++ b/TestApplication/sparkletestcast.xml @@ -0,0 +1,23 @@ + + + + Sparkle Test App Changelog + Most recent changes with links to updates. + en + + Version 2.0 + + +
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  • +
  • Suspendisse sed felis ac ante ultrices rhoncus. Etiam quis elit vel nibh placerat facilisis in id leo.
  • +
  • Vestibulum nec tortor odio, nec malesuada libero. Cras vel convallis nunc.
  • +
  • Suspendisse tristique massa eget velit consequat tincidunt. Praesent sodales hendrerit pretium.
  • + + ]]> +
    + Sat, 26 Jul 2014 15:20:11 +0000 + +
    +
    +
    diff --git a/TestApplication/test_app_only_dsa_priv_dont_ever_do_this_for_real.pem b/TestApplication/test_app_only_dsa_priv_dont_ever_do_this_for_real.pem new file mode 100644 index 00000000..42efc795 --- /dev/null +++ b/TestApplication/test_app_only_dsa_priv_dont_ever_do_this_for_real.pem @@ -0,0 +1,36 @@ +-----BEGIN DSA PRIVATE KEY----- +MIIGPgIBAAKCAgEAvvs5v/Vbc6gYls5WnHUmWy9rhUsuAvf+HAuz9Tzp63fb8Cni +8aqe+qkiL3RKuabl92BAK7Vwv4EMOXozDlNPWZS5EZUBZuiQ7vtQC9Eg3C68KWwb +lrhSwzyVnXz8twD75CiR+oPSZEIiOQ81Ok///i1+TV17ierbLxYJ2Sd1wTRQdLeS +7rmnL6aLka0PNtsFvFlvW9GbrlNP9PZaGmrJYadsTV5+F9XZRFnwZc6crmrIo+DA +VNucgqBdZUNN0CWz9OJfKr/GKMw+blTF2WixDnGH2FKtNh7QSuRwlvioXBjYJbX4 +UV6jJqxZdLUMSm9iZteC8Q34cFVwrPizwRBO/8Yx/htFPrvyIkD0uvfMO55dbkld +0nWfbHcUJRHjSEOPahOlHHGejmLWEsBtp9vD453czFXi19GhR98gEaXmcbwOr4gH +A1WHTqOwUx6Ll+AFWG5nyZIKB9SxMUBWu0znVg9d9wqYAL0/aBWhXEFe86xYdReK +z0RvnTRyVDbIGhMrRMviyaiTGHBbJVC62Appp/fl8o0HFSKJfTwhRSfmLupqt0XE +C1GTb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XidvXo3nI66M1MgI9lAltmRLGAOJmV6bL +KvJEFVpSux5cubXISPQBlAw9Zb15UPc3IAe82jX7ccsI8RHe5xeIepZ0c7xnk+J8 +sFrgBrlN1swki2WfGavQOsV9kZg79rYCB3fOtxRsCBcQOasL295YWtQh5g/dCQWA +JMx+6SVMWwr//0YSu361zJakdFz/vssVVGkaun0bM2YTOYP1ZZp6LyHwIrWEqh9m +d2v2NAX1h4LktrJ8OHgBV/z6/YzFOlsa424Dvl1jnUozK1RDX5/z2FnX1J22hNSY +fx2M8wTD09+xwJyFOzT8g/pjkKvYMgvnWVjvONwvM5nc2OFzuHl9JVvdF5LbSYPO +M/KkRrtg+denjT4/fwp16gGcCsIf+RbEDN1F9rWg5hNPKteVkrMl6suuZZOu7H7E +uZIiEcW3bxXYiN8LLXwS4G6VH+9fsUmSusJZKxhBuRThzehy0n6lfgSRRGICFBi3 +z3tWjm2F6noctsjrVH5d0jRZ +-----END DSA PRIVATE KEY----- diff --git a/TestApplication/test_app_only_dsa_pub.pem b/TestApplication/test_app_only_dsa_pub.pem index dacd55e9..8e54f1b3 100644 --- a/TestApplication/test_app_only_dsa_pub.pem +++ b/TestApplication/test_app_only_dsa_pub.pem @@ -1,20 +1,36 @@ -----BEGIN PUBLIC KEY----- -MIIDOzCCAi0GByqGSM44BAEwggIgAoIBAQD2WbLx8Bd1b1vp8FdDpSzkHZ0tlX5x -Hrzm0WWE9IokOmJw/UWk1GQYRJnA8UlufFTJV4dZVL3It4xwqqWWFyN36LWgQUpf -ss9eTn7M7vjk7BVYch7QMs4jGEnSYkebuYfVhUZlg5VViQ+37Rj+ENtBUrkPJxIY -CGAOIJn45uX5oNIPbElFkadU6m7zd1gn8KhRgIepa2k3iBbkFuCbxTPT/aqLI+MW -8kR4jXITTgBkDew6DXLVL9SsJup4LeAEizTGyyTBY5bfMJaO8NaB8+uPrkC3SZV+ -r/LIaBcmU3vVfmw43FGzBlJtGflPaL8Ek9lRK1aSzk3Gr7tPdaado9tPAhUA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