Module: Akaer::ApplicationMethods::System
- Defined in:
- lib/akaer/application.rb
Overview
System management methods.
Instance Method Summary collapse
-
#action_add ⇒ Boolean
Adds aliases to the interface.
-
#action_install ⇒ Boolean
Installs the application into the autolaunch.
-
#action_remove ⇒ Boolean
Removes aliases from the interface.
-
#action_uninstall ⇒ Boolean
Uninstalls the application from the autolaunch.
Instance Method Details
#action_add ⇒ Boolean
Adds aliases to the interface.
128 129 130 |
# File 'lib/akaer/application.rb', line 128 def action_add manage_action(:add, i18n.add_empty, config.quiet) end |
#action_install ⇒ Boolean
Installs the application into the autolaunch.
142 143 144 |
# File 'lib/akaer/application.rb', line 142 def action_install manage_agent(launch_agent_path, :create_agent, :load_agent, config.quiet) end |
#action_remove ⇒ Boolean
Removes aliases from the interface.
135 136 137 |
# File 'lib/akaer/application.rb', line 135 def action_remove manage_action(:remove, i18n.remove_empty, config.quiet) end |
#action_uninstall ⇒ Boolean
Uninstalls the application from the autolaunch.
149 150 151 |
# File 'lib/akaer/application.rb', line 149 def action_uninstall manage_agent(launch_agent_path, :unload_agent, :delete_agent, config.quiet) end |