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

C:\Program Files (x86)\Geany\Geany.lnk should not have "Start in:" set #1183

Closed
gigadude opened this issue Aug 19, 2016 · 3 comments
Closed
Assignees
Labels

Comments

@gigadude
Copy link

Invoking C:\Program Files (x86)\Geany\Geany foo.txt for some existing file foo.txt in your current dir (or at any relative path) fails because the link has a "Start in:" value set; leaving this empty makes it work as expected.

@gigadude gigadude changed the title C:\Program Files (x86)\Geany\Geany.lnk shoudl not have "Start in:" set C:\Program Files (x86)\Geany\Geany.lnk should not have "Start in:" set Aug 19, 2016
@codebrainz
Copy link
Member

I don't know much about NSIS, but I think this is where the shortcut is created, and according to the docs it seems to be set automatically to $OUTDIR, if I understand correctly. Maybe it's possible to use SetOutPath with an empty argument to clear $OUTDIR, then use CreateShortCut to create the shortcut, then set $OUTDIR back to $INSTDIR afterwards? I really have no clue.

@kugel-
Copy link
Member

kugel- commented Aug 28, 2016

The link is not meant to be used from the command line. It was put there for compatibility when the actual binary was moved to the bin subir.

So please use the actual binary, as in C:\Program Files (x86)\Geany\bin\geany foo.txt. This is not a bug to me.

@eht16 eht16 added the windows label Aug 28, 2016
@eht16 eht16 self-assigned this Aug 28, 2016
@eht16
Copy link
Member

eht16 commented Aug 28, 2016

I agree with @kugel- and he already provided the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants