Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Architecture refactor #9

Closed
0xmachos opened this issue Aug 12, 2018 · 0 comments
Closed

Architecture refactor #9

0xmachos opened this issue Aug 12, 2018 · 0 comments
Labels
enhancement New feature or request research Requires in-depth research

Comments

@0xmachos
Copy link
Owner

Having a function for each setting is not ideal.

Each function only has three variables we actually need:

  1. title
  2. audit_command
  3. fix_command

For 99% of settings there's no logic inside their respective functions.

Reading the above variables from a configuration file would massively simplify the script.

Alternatively if it proves too inconvenient to parse a config file via bash I have started to rewrite mOSL in Objective-C. Currently the branch is a very early POC which only implements one audit command.

I'll provisionally add this to the v2.0.0 milestone however it will likely be pushed back and become v3.0.0.

@0xmachos 0xmachos added enhancement New feature or request research Requires in-depth research labels Aug 12, 2018
@0xmachos 0xmachos added this to the v2.0 Mojave Support milestone Aug 12, 2018
@0xmachos 0xmachos removed this from the v2.0 Mojave Support milestone Oct 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request research Requires in-depth research
Projects
None yet
Development

No branches or pull requests

1 participant