mirror of
https://github.com/sparkle-project/Sparkle.git
synced 2025-11-01 15:34:38 +00:00
The InstallerLauncher code now tries to locate these tools inside Contents/MacOS/ or inside the Resources directory. The installer launcher XPC service now has a copy of the tools included in its bundle. This may seem like wasting space but it enables eg, the XPC service not trusting a sandboxed application. A developer could always remove the tools from the Sparkle framework if necessary (we can't because the XPC services are optional..) Using the XPC service allows the developer to sign the installer executable (Autoupdate.app). The agent app can be moved and signed into the MacOS executables directory as well. We don't do that automatically because Xcode's tooling doesn't play nice with attempting that, although that could be looked at later.
18 lines
401 B
Objective-C
18 lines
401 B
Objective-C
//
|
|
// SUInstallerLauncherStatus.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 7/18/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
typedef NS_ENUM(NSUInteger, SUInstallerLauncherStatus)
|
|
{
|
|
SUInstallerLauncherSuccess = 0,
|
|
SUInstallerLauncherCanceled = 1,
|
|
SUInstallerLauncherAuthorizeLater = 3,
|
|
SUInstallerLauncherFailure = 4
|
|
};
|