mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
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.
30 lines
750 B
Objective-C
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
|