jceb / dex

DesktopEntry Execution
Other
421 stars 33 forks source link

Add support for "additional application actions" #64

Closed J0J0 closed 1 month ago

J0J0 commented 1 year ago

As per the Desktop Entry Specification (since version 1.1), "entries of type Application can include one or more actions. An action represents an additional way to invoke the application."

These commits add support for displaying the supported actions (via the already existing --property option) and running a specific action from a desktop file (via the new --action option).

Some remarks:

mattalxndr commented 1 year ago

Whoops, I should have checked the list before opening PR #66. I like your approach, with a separate Action class. @J0J0