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

.lnk parsing for absolute targets is unreliable #6

Open
jlu5 opened this issue Aug 4, 2017 · 1 comment
Open

.lnk parsing for absolute targets is unreliable #6

jlu5 opened this issue Aug 4, 2017 · 1 comment
Labels
bug bug report or bug fix looking for ideas

Comments

@jlu5
Copy link
Contributor

jlu5 commented Aug 4, 2017

Many Windows shortcuts (and all that link to a different partition) use absolute paths. These links are broken 90% of the time because the partition mapping in ~/.wine/dosdevices/ rarely ends up matching a Windows configuration without prior configuration. Also, requiring a Wine prefix to already exist when thumbnailing is unreliable, especially when it isn't documented everywhere.

Unfortunately, I don't see a great fix for this because the path system on *nix and Windows are so inherently different...

@jlu5 jlu5 added bug bug report or bug fix help wanted looking for ideas labels Aug 4, 2017
@katakombi
Copy link

katakombi commented Dec 9, 2018

Please have a look at a script of mine which I use to find the executables unix path for all installed .lnk files in a wine installation.
You can convert between windows and unix paths using winepath
https://github.com/dolmades-docker/base/blob/e1d9bcd741e8206b787d0d311386dca2ff69feeb/targetLauncher#L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug report or bug fix looking for ideas
Projects
None yet
Development

No branches or pull requests

2 participants