Temporary fix for running the test application

This commit is contained in:
Zorg committed 2016-02-28 15:18:09 -05:00
1 parent 680484f7c2
commit dccce32beb
3 files changed
+9 -19

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
// Copyright (c) 2015 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
@interface SUTestApplicationDelegate : NSObject <NSApplicationDelegate>
@@ -255,7 +255,7 @@
@interface SUUpdateSettingsWindowController ()
@property (nonatomic) IBOutlet SUUpdater *updater;
@property (nonatomic) SUUpdater *updater;
@end
@@ -265,7 +265,11 @@
- (void)windowDidLoad
{
self.updater.userUpdaterDriver = [[SUSparkleUserUpdaterDriver alloc] initWithHost:[[SUHost alloc] initWithBundle:[NSBundle mainBundle]] handlesTermination:YES delegate:nil];
#warning update object still doesn't quite work right with regards to, eg, bindings
id <SUUserUpdaterDriver> userUpdaterDriver = [[SUSparkleUserUpdaterDriver alloc] initWithHost:[[SUHost alloc] initWithBundle:[NSBundle mainBundle]] handlesTermination:YES delegate:nil];
self.updater = [[SUUpdater alloc] initWithHostBundle:[NSBundle mainBundle] userUpdaterDriver:userUpdaterDriver];
//self.updater.userUpdaterDriver = [[SUSparkleUserUpdaterDriver alloc] initWithHost:[[SUHost alloc] initWithBundle:[NSBundle mainBundle]] handlesTermination:YES delegate:nil];
//self.updater.userUpdaterDriver = [[SULoggerUpdateDriver alloc] init];
}
@@ -1,19 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7706"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9532"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SUUpdateSettingsWindowController">
<connections>
<outlet property="updater" destination="6gu-Gu-fwu" id="qnl-gn-RmE"/>
<outlet property="window" destination="Sg3-gX-Lin" id="wMT-bp-cDf"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customObject id="6gu-Gu-fwu" userLabel="SUUpdater" customClass="SUUpdater"/>
<userDefaultsController representsSharedInstance="YES" id="ppb-Rb-fc7" userLabel="Shared User Defaults Controller"/>
<window title="Options" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="Sg3-gX-Lin" userLabel="Options Window">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
@@ -31,9 +29,6 @@
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="6gu-Gu-fwu" name="value" keyPath="automaticallyChecksForUpdates" id="YSj-w5-KSs"/>
</connections>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="z6k-h3-dCv">
<rect key="frame" x="21" y="92" width="228" height="18"/>
@@ -41,9 +36,6 @@
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="6gu-Gu-fwu" name="value" keyPath="automaticallyDownloadsUpdates" id="pKw-YH-sGo"/>
</connections>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wFV-vU-Dle">
<rect key="frame" x="21" y="72" width="224" height="18"/>
@@ -51,9 +43,6 @@
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="6gu-Gu-fwu" name="value" keyPath="sendsSystemProfile" id="nw1-H0-zzf"/>
</connections>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jiL-tX-5JU">
<rect key="frame" x="21" y="52" width="152" height="18"/>
@@ -96,9 +85,6 @@
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="6gu-Gu-fwu" name="value" keyPath="updateCheckInterval" id="7XH-m2-wbo"/>
</connections>
</textField>
</subviews>
</view>