Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude files or code from obfuscation #31

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
Change ignore-classes to ignore-files
  • Loading branch information
hadiidbouk committed Nov 7, 2018
commit b61ef7f194c30454a071bce60083f32fc102ca66
2 changes: 1 addition & 1 deletion swiftshield-Sources/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if automatic {
let modulesToIgnore = UserDefaults.standard.string(forKey: "ignore-modules")?.components(separatedBy: ",") ?? []
let excludedSuffixTag = UserDefaults.standard.string(forKey: "excluded-suffix-tag") ?? ""
let excludedPrefixTag = UserDefaults.standard.string(forKey: "excluded-prefix-tag") ?? ""
let filesToIgnore = UserDefaults.standard.string(forKey: "ignore-classes")?.components(separatedBy: ",") ?? []
let filesToIgnore = UserDefaults.standard.string(forKey: "ignore-files")?.components(separatedBy: ",") ?? []

protector = AutomaticSwiftShield(basePath: basePath, projectToBuild: projectToBuild, schemeToBuild: schemeToBuild, modulesToIgnore: Set(modulesToIgnore), classesToIgnore: Set(filesToIgnore), protectedClassNameSize: protectedClassNameSize, excludedPrefixTag: excludedPrefixTag, excludedSuffixTag: excludedSuffixTag)
} else {
Expand Down