Closed blunden closed 4 years ago
Hmm, I'll double check if I missed any files tomorrow. Don't have the computer in question here at the moment. Not sure why it would complain about Network.h though. Seems unrelated.
Yeah, no other changes were needed to build it. Tests must've been broken already. :)
To be honest, I'm not sure why trimming whitespace from the bundleIdentifier received from the system is necessary as I would assume whitespace characters wouldn't be allowed but testing showed otherwise.
A compiled version for those who want to test it without setting up a build environment:
https://blunden.se/com.nablac0d3.sslkillswitch2_0.13-pr-65.deb
This was released as part of v0.14. Thanks again!
While filtering the process the tweak is injected in using SSLKillSwitch2.plist is possible, it only allows you to add bundles it should inject into, not ones to exclude. In other words, you'd have to remove the very general rules used by default and then manually specify every single app to inject into. This pull request adds a way to explicitly include certain apps (bundleIds) instead.
Note that the UI is rudimentary at best, but it gets the job done for now.