mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fix SUCodeSigningVerifierTest on macOS 10.15
Pre-installed apps, such as Calculator, are now installed under the System folder
This commit is contained in:
1 file changed
+5
@@ -12,7 +12,12 @@
|
||||
#import "SUAdHocCodeSigning.h"
|
||||
#import "SUFileManager.h"
|
||||
|
||||
#if defined(__MAC_10_15)
|
||||
// In macOS 10.15 and later, pre-installed apps are installed under the System folder
|
||||
#define CALCULATOR_PATH @"/System/Applications/Calculator.app"
|
||||
#else
|
||||
#define CALCULATOR_PATH @"/Applications/Calculator.app"
|
||||
#endif
|
||||
|
||||
@interface SUCodeSigningVerifierTest : XCTestCase
|
||||
|
||||
|
||||
Reference in new issue
Block a user