diff --git a/Reveil.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Reveil.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 62aa386..e67681f 100644 --- a/Reveil.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Reveil.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,12 +1,13 @@ { + "originHash" : "a29c992afcf56d36a4d1bf2075cfa31e1b057b95896935cd41fea7f1fc56f465", "pins" : [ { "identity" : "colorfulx", "kind" : "remoteSourceControl", "location" : "https://github.com/Lakr233/ColorfulX.git", "state" : { - "revision" : "082f35954737a78389baa65300a1090ae4371a4e", - "version" : "2.3.2" + "revision" : "d858d5cd91b5717910d40cb2e02ae55e891c640b", + "version" : "2.6.2" } }, { @@ -32,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-argument-parser.git", "state" : { - "revision" : "c8ed701b513cf5177118a175d85fbbbcd707ab41", - "version" : "1.3.0" + "revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b", + "version" : "1.4.0" } }, { @@ -41,8 +42,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { - "revision" : "d029d9d39c87bed85b1c50adee7c41795261a192", - "version" : "1.0.6" + "revision" : "ee97538f5b81ae89698fd95938896dec5217b148", + "version" : "1.1.1" } }, { @@ -50,10 +51,10 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/weichsel/ZIPFoundation.git", "state" : { - "revision" : "b979e8b52c7ae7f3f39fa0182e738e9e7257eb78", - "version" : "0.9.18" + "revision" : "02b6abe5f6eef7e3cbd5f247c5cc24e246efcfe0", + "version" : "0.9.19" } } ], - "version" : 2 + "version" : 3 } diff --git a/Reveil/DataModels/Presets/SecurityPresets.swift b/Reveil/DataModels/Presets/SecurityPresets.swift index 7705a61..47cb8e1 100644 --- a/Reveil/DataModels/Presets/SecurityPresets.swift +++ b/Reveil/DataModels/Presets/SecurityPresets.swift @@ -372,9 +372,9 @@ struct SecurityPresets: Codable { URLSchemeItem(scheme: "ssh://", description: "SSH"), URLSchemeItem(scheme: "santander://", description: "Santander"), // Santander File Manager (https://github.com/NSAntoine/Santander) URLSchemeItem(scheme: "filza://", description: "Filza"), - URLSchemeItem(scheme: "db-lmvo0l08204d0a0://", description: "Filza"), - URLSchemeItem(scheme: "boxsdk-810yk37nbrpwaee5907xc4iz8c1ay3my://", description: "Filza"), - URLSchemeItem(scheme: "com.googleusercontent.apps.802910049260-0hf6uv6nsj21itl94v66tphcqnfl172r://", description: "Filza"), + URLSchemeItem(scheme: "db-lmvo0l08204d0a0://", description: "Filza (Dropbox)"), + URLSchemeItem(scheme: "boxsdk-810yk37nbrpwaee5907xc4iz8c1ay3my://", description: "Filza (Dropbox SDK)"), + URLSchemeItem(scheme: "com.googleusercontent.apps.802910049260-0hf6uv6nsj21itl94v66tphcqnfl172r://", description: "Filza (Google Drive)"), URLSchemeItem(scheme: "activator://", description: "Activator"), ] diff --git a/Reveil/DataModels/Presets/URLSchemeItem.swift b/Reveil/DataModels/Presets/URLSchemeItem.swift index 08c6cbf..731fa94 100644 --- a/Reveil/DataModels/Presets/URLSchemeItem.swift +++ b/Reveil/DataModels/Presets/URLSchemeItem.swift @@ -7,7 +7,11 @@ import Foundation -struct URLSchemeItem: Codable { +struct URLSchemeItem: Comparable, Codable, Hashable { + static func < (lhs: URLSchemeItem, rhs: URLSchemeItem) -> Bool { + lhs.description < rhs.description + } + let scheme: String let description: String } diff --git a/Reveil/SecuritySuite/JailbreakChecker.swift b/Reveil/SecuritySuite/JailbreakChecker.swift index 9de4e46..18fba33 100644 --- a/Reveil/SecuritySuite/JailbreakChecker.swift +++ b/Reveil/SecuritySuite/JailbreakChecker.swift @@ -12,6 +12,7 @@ import Foundation import MachO // dyld import ObjectiveC // NSObject and Selector import UIKit +import OrderedCollections enum JailbreakChecker { struct JailbreakStatus: Codable { @@ -97,6 +98,7 @@ enum JailbreakChecker { } return false } + .sorted() } // "cydia://" URL scheme has been removed. Turns out there is app in the official App Store