diff --git a/src/config.json b/src/config.json index 0316741..46e4e64 100644 --- a/src/config.json +++ b/src/config.json @@ -25,8 +25,12 @@ } } }, + "logging": { + "logPath": "/var/log/msda.log", + "verbose": false + }, "systemPaths": { - "launchServicesPlist": "/Library/Preferences/com.apple.LaunchServices/", + "launchServicesPlist": "/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist", "lsregister": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister", "userTemplate": "/Library/User Template/Non_localized/" } diff --git a/src/types/msda.ts b/src/types/msda.ts index 915af25..cb70022 100644 --- a/src/types/msda.ts +++ b/src/types/msda.ts @@ -33,6 +33,15 @@ export interface Config { | DefaultApp; }; + /** + * Configures how MSDA handles logging. + * + * */ + logging: { + logPath: string; + verbose: boolean; + }; + /** * Paths to system files and directories. *