Skip to content

Better Linux re-packaging compatibility #554

Open
@tinywrkb

Description

@tinywrkb

There are a few issues that prevent re-packaging and distributing Arduino Create Agent through repositories instead of the current binary installer.

There are blocking issues that prevent re-packaging:

  • No tarball release.
    The binary installer, even with the --mode unattended still tries to run Arduino_Create_Bridge after the installation and it does not respect --prefix.
  • Executable and config in the same folder limitation.
    The app should look for the config at $XDG_CONFIG_HOME/arduino-create/ with $HOME/.config/arduino-create/ as a fallback if $XDG_CONFIG_HOME is unset or empty. See XDG Base Directory Specification

Would be nice to have:

  • Instead of $HOME/.arduino-create/ use $XDG_DATA_HOME/arduino-create/ with $HOME/.local/share/arduino-create/ as a fallback if $XDG_DATA_HOME is unset or empty.
  • In case that config.ini does not exist in the config folder, create a default config file.
  • A single app for both Chrome and Firefox. The current Linux installers are actually the same for both Chrome and Firefox, I don't know if this is intentional.

For my own needs, and as a POC, I packaged the Create Agent as a Flatpak here. Notice the ugly workaround in the startup script, copying the executable to the config folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions