mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-22 04:30:47 +00:00
This change adopts using diskutil for dmg extraction on macOS 27.2+ where hdiutil has been deprecated.
26 lines
1.0 KiB
Objective-C
26 lines
1.0 KiB
Objective-C
//
|
|
// SUUnarchiver.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 3/16/06.
|
|
// Copyright 2006 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SUUnarchiverProtocol;
|
|
|
|
SPU_OBJC_DIRECT_MEMBERS @interface SUUnarchiver : NSObject
|
|
|
|
+ (nullable id <SUUnarchiverProtocol>)unarchiverForPath:(NSString *)path extractionDirectory:(NSString *)extractionDirectory extractionMountDirectory:(nullable NSString *)extractionMountDirectory updatingHostBundlePath:(nullable NSString *)hostPath decryptionPassword:(nullable NSString *)decryptionPassword expectingInstallationType:(NSString *)installationType;
|
|
|
|
// Returns YES if unarchiving path can take advantage of an extraction mount directory being provided to -unarchiverForPath:extractionDirectory:extractionMountDirectory:updatingHostBundlePath:decryptionPassword:expectingInstallationType:
|
|
// Callers should provide an extraction mount directory when this returns YES
|
|
+ (BOOL)canUseExtractionMountDirectory:(NSString *)path;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|