0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
A Ruby gem for macOS machines to report on Applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.2.33
= 5.18.1
>= 11.2.2
 Project Readme

CookieDough

Note: This has not been fully tested since macOS 10.14 but is working as of Ventura 13.4.1

A Ruby gem for macOS clients to report about items in the Applications folder.

Installation

Add this line to your application's Gemfile:

gem 'cookiedough'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cookiedough

Usage

To see a list of availible options for CookieDough, require 'CookieDough' in file then type:
puts CookieDough.options

output should be similar to this:


- all_app_versions
- app_version
- dock_apps
- dock_bundles
- list_apps
- options
- receipts
- user_installed_apps

Examples:

To get all applications versions: puts CookieDough.all_app_versions

To get a single application versions: puts CookieDough.app_version("pathtoapplication")

To get what applications are in the dock of the current user: puts CookieDough.dock_apps

To specify a user add their username as an argument, this must be run as root: puts CookieDough.dock_apps("username")

To get what bundleid's are in the dock of the current user: puts CookieDough.dock_bundles

To specify a user add their username as an argument, this must be run as root: puts CookieDough.dock_bundles("username")

To get what's currently in Applications folder: puts CookieDough.list_apps

To get what's been installed with installer recipets: puts CookieDough.receipts

To get what's been installed by the user. This removes base apps that ship with macOS: puts CookieDough.user_installed_apps

License

The gem is available as open source under the terms of the MIT License.