Skip to content

Installer should respect XDG_USER_DIRS on Linux #157

@modelmat

Description

@modelmat

On Linux the installer installs to ~/Desktop always. https://github.com/wpilibsuite/WPILibInstaller-Avalonia/blob/master/WPILibInstaller-Avalonia/ViewModels/InstallPageViewModel.cs#L742

If xdg-user-dirs is used to place it somewhere else, the installer creates the ~/Desktop directory and puts it in there. Ideally it should use xdg-user-dir DESKTOP to find the location of the desktop, then default to ~/Desktop. (note that the environment variables are not always set and may need to be fetched from ~/.config/user-dirs.dirs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions