mirror of
https://github.com/munki/munki.git
synced 2026-05-24 15:18:36 -05:00
use the managedInstallsDir() function to generate the db path
This commit is contained in:
@@ -9,9 +9,7 @@ import Foundation
|
||||
|
||||
func appUsageDBPath() -> String {
|
||||
// returns path to our appusage DB
|
||||
// let dbDir = pref("ManagedInstallDir") as? String ?? DEFAULT_MANAGED_INSTALLS_DIR
|
||||
let dbDir = "/tmp"
|
||||
return (dbDir as NSString).appendingPathComponent("application_usage.sqlite")
|
||||
return managedInstallsDir(subpath: "application_usage.sqlite")
|
||||
}
|
||||
|
||||
class ApplicationUsageRecorder {
|
||||
|
||||
Reference in New Issue
Block a user