mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e27997de0 | ||
|
|
ff6418d3cd | ||
|
|
c263b969c0 | ||
|
|
3c0ebbf570 | ||
|
|
743e15cce8 | ||
|
|
77bf6ad890 | ||
|
|
f6b7693b75 | ||
|
|
f410960ac0 | ||
|
|
0b0a751d82 |
No files matched your search
@@ -2,9 +2,9 @@ name: Build & Tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ 2.x, master ]
|
branches: [ 2.x, 2.2.2-dev, master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ 2.x, master ]
|
branches: [ 2.x, 2.2.2-dev, master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
+43
-8
@@ -12,15 +12,18 @@
|
|||||||
|
|
||||||
#include "AppKitPrevention.h"
|
#include "AppKitPrevention.h"
|
||||||
|
|
||||||
|
#define REPLY_STATUS_INFO_TIMEOUT 2
|
||||||
|
|
||||||
@interface StatusInfo () <NSXPCListenerDelegate>
|
@interface StatusInfo () <NSXPCListenerDelegate>
|
||||||
|
|
||||||
@property (nonatomic) NSXPCListener *xpcListener;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation StatusInfo
|
@implementation StatusInfo
|
||||||
|
{
|
||||||
|
NSXPCListener *_xpcListener;
|
||||||
|
NSMutableDictionary *_pendingReplies;
|
||||||
|
NSUInteger _pendingReplyCounter;
|
||||||
|
}
|
||||||
|
|
||||||
@synthesize xpcListener = _xpcListener;
|
|
||||||
@synthesize installationInfoData = _installationInfoData;
|
@synthesize installationInfoData = _installationInfoData;
|
||||||
|
|
||||||
- (instancetype)initWithHostBundleIdentifier:(NSString *)bundleIdentifier
|
- (instancetype)initWithHostBundleIdentifier:(NSString *)bundleIdentifier
|
||||||
@@ -29,19 +32,20 @@
|
|||||||
if (self != nil) {
|
if (self != nil) {
|
||||||
_xpcListener = [[NSXPCListener alloc] initWithMachServiceName:SPUStatusInfoServiceNameForBundleIdentifier(bundleIdentifier)];
|
_xpcListener = [[NSXPCListener alloc] initWithMachServiceName:SPUStatusInfoServiceNameForBundleIdentifier(bundleIdentifier)];
|
||||||
_xpcListener.delegate = self;
|
_xpcListener.delegate = self;
|
||||||
|
_pendingReplies = [NSMutableDictionary dictionary];
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)startListener
|
- (void)startListener
|
||||||
{
|
{
|
||||||
[self.xpcListener resume];
|
[_xpcListener resume];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)invalidate
|
- (void)invalidate
|
||||||
{
|
{
|
||||||
[self.xpcListener invalidate];
|
[_xpcListener invalidate];
|
||||||
self.xpcListener = nil;
|
_xpcListener = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)listener:(NSXPCListener *)__unused listener shouldAcceptNewConnection:(NSXPCConnection *)newConnection
|
- (BOOL)listener:(NSXPCListener *)__unused listener shouldAcceptNewConnection:(NSXPCConnection *)newConnection
|
||||||
@@ -54,10 +58,41 @@
|
|||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setInstallationInfoData:(NSData *)installationInfoData
|
||||||
|
{
|
||||||
|
_installationInfoData = installationInfoData;
|
||||||
|
|
||||||
|
// Respond to all of our pending replies
|
||||||
|
for (NSNumber *replyKey in _pendingReplies) {
|
||||||
|
void (^replyBlock)(NSData * _Nullable) = self->_pendingReplies[replyKey];
|
||||||
|
replyBlock(_installationInfoData);
|
||||||
|
}
|
||||||
|
|
||||||
|
[_pendingReplies removeAllObjects];
|
||||||
|
}
|
||||||
|
|
||||||
- (void)probeStatusInfoWithReply:(void (^)(NSData * _Nullable))reply
|
- (void)probeStatusInfoWithReply:(void (^)(NSData * _Nullable))reply
|
||||||
{
|
{
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
reply(self.installationInfoData);
|
if (self->_installationInfoData != nil) {
|
||||||
|
reply(self->_installationInfoData);
|
||||||
|
} else {
|
||||||
|
// If we don't have the installation info data currently, we may receive it in a very short window afterwards
|
||||||
|
// In this case wait a bit for the reply. If we receive the data it will be in -setInstallationInfoData:
|
||||||
|
NSUInteger currentReplyCounter = self->_pendingReplyCounter;
|
||||||
|
self->_pendingReplyCounter++;
|
||||||
|
|
||||||
|
NSNumber *currentReplyCounterKey = @(currentReplyCounter);
|
||||||
|
self->_pendingReplies[currentReplyCounterKey] = [reply copy];
|
||||||
|
|
||||||
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(REPLY_STATUS_INFO_TIMEOUT * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
|
void (^replyBlock)(NSData * _Nullable) = self->_pendingReplies[currentReplyCounterKey];
|
||||||
|
if (replyBlock != nil) {
|
||||||
|
replyBlock(self->_installationInfoData);
|
||||||
|
[self->_pendingReplies removeObjectForKey:currentReplyCounterKey];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# 2.2.2
|
||||||
|
|
||||||
|
* Critical update alerts may not show up as promptly as they should when they are being automatically installed (#2230) (Zorg)
|
||||||
|
* Remove module imports from framework headers (#2217) (Zorg)
|
||||||
|
* Update Portuguese localization (#2224) (Kent Sutherland)
|
||||||
|
* Update zh_TW localization (#2246) (Chiahong)
|
||||||
|
|
||||||
# 2.2.1
|
# 2.2.1
|
||||||
|
|
||||||
* Make scroll bar dark in dark theme for Release Notes by default (#2187) (Pavel Moiseenko)
|
* Make scroll bar dark in dark theme for Release Notes by default (#2187) (Pavel Moiseenko)
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{"1.27.1": "https://github.com/sparkle-project/Sparkle/releases/download/1.27.1/Sparkle-1.27.1.tar.xz", "2.0.0-beta.6": "https://github.com/sparkle-project/Sparkle/releases/download/2.0.0-beta.6/Sparkle-2.0.0-beta.6.tar.xz", "2.0.0-rc.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.0.0-rc.1/Sparkle-2.0.0-rc.1.tar.xz", "2.0.0": "https://github.com/sparkle-project/Sparkle/releases/download/2.0.0/Sparkle-2.0.0.tar.xz", "2.1.0-beta.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.1.0-beta.1/Sparkle-2.1.0-beta.1.tar.xz", "2.1.0-beta.2": "https://github.com/sparkle-project/Sparkle/releases/download/2.1.0-beta.2/Sparkle-2.1.0-beta.2.tar.xz", "2.1.0": "https://github.com/sparkle-project/Sparkle/releases/download/2.1.0/Sparkle-2.1.0.tar.xz", "2.2.0-beta.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.0-beta.1/Sparkle-2.2.0-beta.1.tar.xz", "2.2.0-beta.2": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.0-beta.2/Sparkle-2.2.0-beta.2.tar.xz", "2.2.0": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.0/Sparkle-2.2.0.tar.xz", "2.2.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.1/Sparkle-2.2.1.tar.xz"}
|
{"1.27.1": "https://github.com/sparkle-project/Sparkle/releases/download/1.27.1/Sparkle-1.27.1.tar.xz", "2.0.0-beta.6": "https://github.com/sparkle-project/Sparkle/releases/download/2.0.0-beta.6/Sparkle-2.0.0-beta.6.tar.xz", "2.0.0-rc.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.0.0-rc.1/Sparkle-2.0.0-rc.1.tar.xz", "2.0.0": "https://github.com/sparkle-project/Sparkle/releases/download/2.0.0/Sparkle-2.0.0.tar.xz", "2.1.0-beta.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.1.0-beta.1/Sparkle-2.1.0-beta.1.tar.xz", "2.1.0-beta.2": "https://github.com/sparkle-project/Sparkle/releases/download/2.1.0-beta.2/Sparkle-2.1.0-beta.2.tar.xz", "2.1.0": "https://github.com/sparkle-project/Sparkle/releases/download/2.1.0/Sparkle-2.1.0.tar.xz", "2.2.0-beta.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.0-beta.1/Sparkle-2.2.0-beta.1.tar.xz", "2.2.0-beta.2": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.0-beta.2/Sparkle-2.2.0-beta.2.tar.xz", "2.2.0": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.0/Sparkle-2.2.0.tar.xz", "2.2.1": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.1/Sparkle-2.2.1.tar.xz", "2.2.2": "https://github.com/sparkle-project/Sparkle/releases/download/2.2.2/Sparkle-2.2.2.tar.xz"}
|
||||||
@@ -43,12 +43,12 @@ SPARKLE_ICON_NAME = AppIcon
|
|||||||
// These variables must have a space after the '=' too
|
// These variables must have a space after the '=' too
|
||||||
SPARKLE_VERSION_MAJOR = 2
|
SPARKLE_VERSION_MAJOR = 2
|
||||||
SPARKLE_VERSION_MINOR = 2
|
SPARKLE_VERSION_MINOR = 2
|
||||||
SPARKLE_VERSION_PATCH = 1
|
SPARKLE_VERSION_PATCH = 2
|
||||||
|
|
||||||
// This should be in SemVer format or empty, ie. "-beta.1"
|
// This should be in SemVer format or empty, ie. "-beta.1"
|
||||||
// These variables must have a space after the '=' too
|
// These variables must have a space after the '=' too
|
||||||
SPARKLE_VERSION_SUFFIX =
|
SPARKLE_VERSION_SUFFIX =
|
||||||
CURRENT_PROJECT_VERSION = 2017
|
CURRENT_PROJECT_VERSION = 2017.1
|
||||||
|
|
||||||
MARKETING_VERSION = $(SPARKLE_VERSION_MAJOR).$(SPARKLE_VERSION_MINOR).$(SPARKLE_VERSION_PATCH)$(SPARKLE_VERSION_SUFFIX)
|
MARKETING_VERSION = $(SPARKLE_VERSION_MAJOR).$(SPARKLE_VERSION_MINOR).$(SPARKLE_VERSION_PATCH)$(SPARKLE_VERSION_SUFFIX)
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO
|
ALWAYS_SEARCH_USER_PATHS = NO
|
||||||
|
|||||||
+3
-3
@@ -2,10 +2,10 @@
|
|||||||
import PackageDescription
|
import PackageDescription
|
||||||
|
|
||||||
// Version is technically not required here, SPM doesn't check
|
// Version is technically not required here, SPM doesn't check
|
||||||
let version = "2.2.1"
|
let version = "2.2.2"
|
||||||
// Tag is required to point towards the right asset. SPM requires the tag to follow semantic versioning to be able to resolve it.
|
// Tag is required to point towards the right asset. SPM requires the tag to follow semantic versioning to be able to resolve it.
|
||||||
let tag = "2.2.1"
|
let tag = "2.2.2"
|
||||||
let checksum = "ce1e73dccebfd06c638ea9fc37451a690ea3137e1333406ec5dddb9e11b4e1b5"
|
let checksum = "aafce90805ca50d099c32e744636b2524a7382629f8f7e14ff21c84634125a44"
|
||||||
let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(tag)/Sparkle-for-Swift-Package-Manager.zip"
|
let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(tag)/Sparkle-for-Swift-Package-Manager.zip"
|
||||||
|
|
||||||
let package = Package(
|
let package = Package(
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "Sparkle"
|
s.name = "Sparkle"
|
||||||
s.version = "2.2.1"
|
s.version = "2.2.2"
|
||||||
s.summary = "A software update framework for macOS"
|
s.summary = "A software update framework for macOS"
|
||||||
s.description = "Sparkle is an easy-to-use software update framework for macOS."
|
s.description = "Sparkle is an easy-to-use software update framework for macOS."
|
||||||
s.homepage = "https://sparkle-project.org"
|
s.homepage = "https://sparkle-project.org"
|
||||||
|
|||||||
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2021 Sparkle Project. All rights reserved.
|
// Copyright © 2021 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BUILDING_SPARKLE_DOWNLOADER_SERVICE
|
#ifdef BUILDING_SPARKLE_DOWNLOADER_SERVICE
|
||||||
// Ignore incorrect warning
|
// Ignore incorrect warning
|
||||||
|
|||||||
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SPUUserDriver.h>
|
#import <Sparkle/SPUUserDriver.h>
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
|
|||||||
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright 2006 Andy Matuschak. All rights reserved.
|
// Copyright 2006 Andy Matuschak. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
#import <Sparkle/SPUUserDriver.h>
|
#import <Sparkle/SPUUserDriver.h>
|
||||||
|
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
#import <Sparkle/SPUUpdateCheck.h>
|
#import <Sparkle/SPUUpdateCheck.h>
|
||||||
|
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#import <Sparkle/SPUUserUpdateState.h>
|
#import <Sparkle/SPUUserUpdateState.h>
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|||||||
Vendored
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SPUUserUpdateState_h
|
#ifndef SPUUserUpdateState_h
|
||||||
#define SPUUserUpdateState_h
|
#define SPUUserUpdateState_h
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2021 Sparkle Project. All rights reserved.
|
// Copyright © 2021 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
|||||||
Vendored
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUAPPCAST_H
|
#ifndef SUAPPCAST_H
|
||||||
#define SUAPPCAST_H
|
#define SUAPPCAST_H
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|||||||
Vendored
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUAppcastItem_Private_h
|
#ifndef SUAppcastItem_Private_h
|
||||||
#define SUAppcastItem_Private_h
|
#define SUAppcastItem_Private_h
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
|||||||
Vendored
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUAPPCASTITEM_H
|
#ifndef SUAPPCASTITEM_H
|
||||||
#define SUAPPCASTITEM_H
|
#define SUAPPCASTITEM_H
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BUILDING_SPARKLE_TESTS
|
#ifdef BUILDING_SPARKLE_TESTS
|
||||||
// Ignore incorrect warning
|
// Ignore incorrect warning
|
||||||
|
|||||||
Vendored
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUERRORS_H
|
#ifndef SUERRORS_H
|
||||||
#define SUERRORS_H
|
#define SUERRORS_H
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(BUILDING_SPARKLE_TOOL) || defined(BUILDING_SPARKLE_TESTS)
|
#if defined(BUILDING_SPARKLE_TOOL) || defined(BUILDING_SPARKLE_TESTS)
|
||||||
// Ignore incorrect warning
|
// Ignore incorrect warning
|
||||||
|
|||||||
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUSTANDARDVERSIONCOMPARATOR_H
|
#ifndef SUSTANDARDVERSIONCOMPARATOR_H
|
||||||
#define SUSTANDARDVERSIONCOMPARATOR_H
|
#define SUSTANDARDVERSIONCOMPARATOR_H
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BUILDING_SPARKLE_TOOL
|
#ifdef BUILDING_SPARKLE_TOOL
|
||||||
// Ignore incorrect warning
|
// Ignore incorrect warning
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Vendored
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUUPDATER_H
|
#ifndef SUUPDATER_H
|
||||||
#define SUUPDATER_H
|
#define SUUPDATER_H
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
#import <Sparkle/SUVersionComparisonProtocol.h>
|
#import <Sparkle/SUVersionComparisonProtocol.h>
|
||||||
#import <Sparkle/SUVersionDisplayProtocol.h>
|
#import <Sparkle/SUVersionDisplayProtocol.h>
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright © 2016 Sparkle Project. All rights reserved.
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
@protocol SUVersionComparison, SUVersionDisplay;
|
@protocol SUVersionComparison, SUVersionDisplay;
|
||||||
|
|||||||
-7
@@ -9,14 +9,7 @@
|
|||||||
#ifndef SUVERSIONCOMPARISONPROTOCOL_H
|
#ifndef SUVERSIONCOMPARISONPROTOCOL_H
|
||||||
#define SUVERSIONCOMPARISONPROTOCOL_H
|
#define SUVERSIONCOMPARISONPROTOCOL_H
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BUILDING_SPARKLE_TOOL
|
#ifdef BUILDING_SPARKLE_TOOL
|
||||||
// Ignore incorrect warning
|
// Ignore incorrect warning
|
||||||
|
|||||||
Vendored
-7
@@ -6,14 +6,7 @@
|
|||||||
// Copyright 2009 Elgato Systems GmbH. All rights reserved.
|
// Copyright 2009 Elgato Systems GmbH. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if __has_feature(modules)
|
|
||||||
#if __has_warning("-Watimport-in-framework-header")
|
|
||||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
||||||
#endif
|
|
||||||
@import Foundation;
|
|
||||||
#else
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#endif
|
|
||||||
#import <Sparkle/SUExport.h>
|
#import <Sparkle/SUExport.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"%@ %@ is currently the newest version available." = "O %1$@ %2$@ é neste momento a versão mais recente disponível.";
|
"%@ %@ is currently the newest version available." = "O %1$@ %2$@ é neste momento a versão mais recente disponível.";
|
||||||
|
|
||||||
/* No comment provided by engineer. */
|
/* No comment provided by engineer. */
|
||||||
"%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "O %1$@ %2$@ é neste momento a versão mais recente disponível.\n(You are currently running version %3$@.)";
|
"%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "O %1$@ %2$@ é neste momento a versão mais recente disponível.\n(Neste momento está na versão %3$@.)";
|
||||||
|
|
||||||
/* Description text for SUUpdateAlert when the update is downloadable. */
|
/* Description text for SUUpdateAlert when the update is downloadable. */
|
||||||
"%@ %@ is now available—you have %@. Would you like to download it now?" = "O %1$@ %2$@ está agora disponível e tem a versão %3$@. Gostaria de o transferir agora?";
|
"%@ %@ is now available—you have %@. Would you like to download it now?" = "O %1$@ %2$@ está agora disponível e tem a versão %3$@. Gostaria de o transferir agora?";
|
||||||
|
|||||||
Vendored
+3
-3
@@ -2,7 +2,7 @@
|
|||||||
"%@ %@ is currently the newest version available." = "%1$@ %2$@ 已是目前最新的版本。";
|
"%@ %@ is currently the newest version available." = "%1$@ %2$@ 已是目前最新的版本。";
|
||||||
|
|
||||||
/* No comment provided by engineer. */
|
/* No comment provided by engineer. */
|
||||||
"%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "%1$@ %2$@ 已是目前最新的版本。\n(You are currently running version %3$@.)";
|
"%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "%1$@ %2$@ 已是目前最新的版本。\n(您正在執行的版本是 %3$@。)";
|
||||||
|
|
||||||
/* Description text for SUUpdateAlert when the update is downloadable. */
|
/* Description text for SUUpdateAlert when the update is downloadable. */
|
||||||
"%@ %@ is now available—you have %@. Would you like to download it now?" = "%1$@ %2$@ 現在已可取得,您的版本則是 %3$@。您要現在下載嗎?";
|
"%@ %@ is now available—you have %@. Would you like to download it now?" = "%1$@ %2$@ 現在已可取得,您的版本則是 %3$@。您要現在下載嗎?";
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
"Updating %@" = "正在更新 %@";
|
"Updating %@" = "正在更新 %@";
|
||||||
|
|
||||||
/* No comment provided by engineer. */
|
/* No comment provided by engineer. */
|
||||||
"Use Finder to copy %1$@ to the Applications folder, relaunch it from there, and try again." = "請將 %1$@ 移至您的“應用程式”檔案夾,從該處重新啟動,然後再試一次。";
|
"Use Finder to copy %1$@ to the Applications folder, relaunch it from there, and try again." = "請將 %1$@ 移至您的「應用程式」檔案夾,從該處重新啟動,然後再試一次。";
|
||||||
|
|
||||||
/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */
|
/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */
|
||||||
"You’re up-to-date!" = "你已有最新版本!";
|
"You’re up-to-date!" = "您已有最新版本!";
|
||||||
Reference in new issue
Block a user