Files
Sparkle/Sparkle/SUTextViewReleaseNotesView.h
T
Zorg 736b331dd6 Improve extracting signed markdown content (#2828)
This strips the beginning sparkle sign warning comment (if present) in the release notes downloader driver rather than the user driver. The comment is also stripped (if present) in generate_appcast when inserting embedded release notes.

Also improve markdown compatibility with sparkle-cli and alternative user driver in Sparkle Test App.
2026-01-03 19:43:12 -08:00

30 lines
750 B
Objective-C

//
// SUTextViewReleaseNotesView.h
// Sparkle
//
// Created on 9/11/22.
// Copyright © 2022 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import <Foundation/Foundation.h>
#import "SUReleaseNotesView.h"
@protocol SPUStandardUserDriverDelegate;
@class SUAppcastItem;
@class SUHost;
NS_ASSUME_NONNULL_BEGIN
SPU_OBJC_DIRECT_MEMBERS @interface SUTextViewReleaseNotesView : NSObject <SUReleaseNotesView>
- (instancetype)initWithFontPointSize:(int)fontPointSize appcastItem:(SUAppcastItem *)appcastItem host:(SUHost *)host delegate:(id<SPUStandardUserDriverDelegate>)delegate prefersMarkdown:(BOOL)prefersMarkdown customAllowedURLSchemes:(NSArray<NSString *> *)customAllowedURLSchemes;
@end
NS_ASSUME_NONNULL_END
#endif