10BC0 when configuration is a symlink, the link is overwritten · Issue #935 · linearmouse/linearmouse · GitHub
[go: up one dir, main page]

Skip to content

when configuration is a symlink, the link is overwritten #935

@mstarodub

Description

@mstarodub

OS

macos 15.5

LinearMouse

0.10.0

Describe the bug

With some setups (nix, dotfile managers) configuration files are symlinked to another location.
(e.g. ~/.config/linearmouse/linearmouse.json -> ~/cfg/linearmouse/linearmouse.json)
In the presence of such a setup, linearmouse overwrites the symlink with a fresh configuration file (e.g. when changing settings in the gui).

Thank you

To reproduce

No response

Expected behavior

Follow the symlink and modify the original file instead, do not overwrite it.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0