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.
28 lines
722 B
Objective-C
28 lines
722 B
Objective-C
//
|
|
// SUDiskImageUnarchiver.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 6/16/08.
|
|
// Copyright 2008 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#ifndef SUDISKIMAGEUNARCHIVER_H
|
|
#define SUDISKIMAGEUNARCHIVER_H
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SUUnarchiverProtocol.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
SPU_OBJC_DIRECT_MEMBERS @interface SUDiskImageUnarchiver : NSObject <SUUnarchiverProtocol>
|
|
|
|
- (instancetype)initWithArchivePath:(NSString *)archivePath extractionDirectory:(NSString *)extractionDirectory extractionMountDirectory:(nullable NSString *)extractionMountDirectory decryptionPassword:(nullable NSString *)decryptionPassword;
|
|
|
|
+ (BOOL)canUnarchivePath:(NSString *)path;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif
|