Open luckman212 opened 3 years ago
@objective-see I also noticed the rules are stored in a binary plist
/Library/Objective-See/BlockBlock/rules.plist
I wonder about being able to back up and restore rules, or distribute default rules among several Macs. Is it possible to parse this file in any meaningful way?
plutil -p /Library/Objective-See/BlockBlock/rules.plist
is not safe for humans
@pwardle Is there a better or more preferred way to ask questions like this about your tools? A public forum etc? I just want to make sure you've seen them (also #18 and #20)
& Thank you 🙏
@objective-see seems this is coming up again in #27
Aloha @luckman212
I've added "View Rules" button to the main preferences pane:
...this is (now) similar to other Obj-See's tools (e.g. LuLu), and hopefully make accessing the rules simpler.
In terms of the rules file, for efficiency reasons its contains serialized Rule objects (that can be directly loaded back into initialized Rules objects when BlockBlock (re)loads, etc). I do understand that the downside to this approach is its not human readable per se. However at this point, that's probably not going to change (as that would mean having to support multiple rule file formats ...which would be rather a PITA).
@objective-see Thanks, I will check it out now that 2.x is out. I stopped using BlockBlock for a bit in between when 1.x went stagnant and Big Sur came out.
As for the rules format & efficiency, I understand what you're saying to the extent that my pea-sized brain allows.
But what about adding an Export/Import function so at least we could back up our rules or replicate them among groups of machines? Would that be impossible?
@objective-see Hello again, since 2.0.5 came out (thanks) I'm using BlockBlock again
Any thoughts on this? I would really love to keep my rules in sync among several Macs.
Since the Rules editor and the mode/update check/prefs window both seem to share the same controlling process (BlockBlock Helper.app) I wonder if you'd considered putting a Rules button in the toolbar:
This would make it easier to get to than hunting for a (possibly invisible) menubar item. It would be especially helpful since the helper app can be launched directly from Spotlight...