Skip to content

🔨 remove the symlink before creating a new one - #2389

Merged
AucaCoyan merged 2 commits into
devfrom
rm-symlink-before-creating-one
Jul 18, 2025
Merged

AucaCoyan merged 2 commits into
devfrom
rm-symlink-before-creating-one

Conversation

@AucaCoyan

Copy link
Copy Markdown
Collaborator

When you

sudo ./Espanso.AppImage env-path register

it errors with

Unable to add 'espanso' command to PATH: symlink error: `File exists (os error 17)`

That is because the link exists, and espanso never checks if it exists before creating one. So I added some lines to remove it if it founds one before creating a different one

link to the discord issue

@AucaCoyan
AucaCoyan merged commit 1faf6cd into dev Jul 18, 2025
@AucaCoyan
AucaCoyan deleted the rm-symlink-before-creating-one branch July 18, 2025 17:07
sboldt1978 pushed a commit to sboldt1978/espanso that referenced this pull request Feb 11, 2026
* 🔨 remove the symlink before creating a new one

* 🐛 add the missing import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant