Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set correct directory for shortcut #112

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Feb 17, 2025

The working directory of the shell link was set to the executable path. When inspecting the properties of the link and going to the details tab, the explorer complains that the directory doesn't exist. I hope the directory is correct now - it takes anything until the last / or \ (e.g. C:\foo\bar\bazC:\foo\bar).

Would love to use std::filesystem::path here, but that's C++ 17 😦.

Fixes #63.

@8thony
Copy link

8thony commented Feb 22, 2025

Fixes #63

@mohabouje mohabouje merged commit 1c841d3 into mohabouje:master Feb 22, 2025
3 checks passed
@Nerixyz Nerixyz deleted the fix/shortcut-dir branch February 22, 2025 18:37
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.

Shortcut working directory is set to exe
3 participants