Skip to content

Packaging for Arch Linux #25

@w568w

Description

@w568w

Thanks for your app! I wasn't sure which category this issue belongs to, so I'm using the blank issue template.

I'd like to help make your application more accessible to Linux desktop users, so I've packaged it and published it in the AUR (Arch User Repository): https://aur.archlinux.org/packages/dataset-editor

This means that, users of Arch Linux and its derivatives can now install the program with a single command:

$ [yay|paru] -S dataset-editor

This also provides them with the correct application shortcuts, etc.

Image

I'm opening this issue to request two things:

  1. Could you please add this AUR installation method to the README? You can refer to other projects for examples of how to do this: Example. Another Example

  2. I noticed that while the app runs perfectly fine on Linux, it seems to always try to write to C:\ProgramData\dataset-editor on startup. For example, when run from /home/user, it creates a directory structure like /home/user/'C:\ProgramData'/dataset-editor. There might be an issue with the path-selection logic, as it seems to assume the process.resourcesPath directory always exists, which is not true on Linux:

? app.getAppPath()
: existsSync(join(process.resourcesPath, 'tagger'))
? process.resourcesPath
: join(process.env.PROGRAMDATA || 'C:\\ProgramData', 'dataset-editor');

Perhaps you could consider a more platform-agnostic approach for path selection? Typically, the expected locations on Linux are:

  • For configuration files: ~/.config/dataset-editor
  • For state files (e.g., history): ~/.local/state/dataset-editor
  • For other data files: ~/.local/share/dataset-editor
  • For cache files: ~/.cache/dataset-editor

Thanks again for this great app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ElectronRequires changes in the electron side

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions