diff --git a/src/Mockingbird.xcodeproj/project.pbxproj b/src/Mockingbird.xcodeproj/project.pbxproj index 45888ef..1982328 100644 --- a/src/Mockingbird.xcodeproj/project.pbxproj +++ b/src/Mockingbird.xcodeproj/project.pbxproj @@ -1292,7 +1292,7 @@ CODE_SIGN_ENTITLEMENTS = Mockingbird/Resources/mockingbird.entitlements; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 7; + CURRENT_PROJECT_VERSION = 8; ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -1305,7 +1305,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.13; - MARKETING_VERSION = 1.4.0; + MARKETING_VERSION = 1.5.0; OTHER_CODE_SIGN_FLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.farfetch.mockingbird; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1321,7 +1321,7 @@ CODE_SIGN_ENTITLEMENTS = Mockingbird/Resources/mockingbird.entitlements; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 7; + CURRENT_PROJECT_VERSION = 8; ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -1334,7 +1334,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.13; - MARKETING_VERSION = 1.4.0; + MARKETING_VERSION = 1.5.0; OTHER_CODE_SIGN_FLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.farfetch.mockingbird; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/src/Mockingbird/Store/Task/TaskReducer.swift b/src/Mockingbird/Store/Task/TaskReducer.swift index def9b20..fdef51d 100644 --- a/src/Mockingbird/Store/Task/TaskReducer.swift +++ b/src/Mockingbird/Store/Task/TaskReducer.swift @@ -70,7 +70,7 @@ private extension TaskReducer { let dataFolder = try Folder(path: Default.Folder.mitm) - if dataFolder.files.count() <= 0 { + if !dataFolder.containsFile(named: "mitmdump_mbv2") { if let fileURL = Bundle.main.url(forResource: "mitmdump_mb", withExtension: "zip"), let destURL = URL(string: Default.Folder.mitm) {