Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(debian): auto-add an Exec arg (field code) in the .desktop file #256

Merged
merged 4 commits into from
Jul 2, 2024

Commits on Jun 29, 2024

  1. feat(debian): auto-add an Exec arg (field code) in the .desktop file

    This change adds an `{exec_arg}` field to the default `main.desktop` template.
    This field is populated by handlebars with a sane default value,
    which is based on whether `deep_link_protocols` or `file_associations`
    in the `Config` struct have been specified.
    
    This allows an installed Debian package to be invoked by other applications
    with URLs or files as arguments, as expected.
    
    The `main.desktop` template previously did not automatically include
    an Exec field code even if `deep_link_protocols` or `file_associations`
    were set, which would confuse new users who incorrectly expected that
    the Debian package would automatically handle links and file associations
    upon installation. This change now ensures their expectations are met.
    kevinaboos committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    1535b88 View commit details
    Browse the repository at this point in the history
  2. Add change file

    kevinaboos committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    b6a3b1c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Update crates/packager/src/config/mod.rs

    Co-authored-by: Amr Bashir <[email protected]>
    kevinaboos and amr-crabnebula authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    361cd0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c2e91b View commit details
    Browse the repository at this point in the history