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

Installer: Provide a shell.open.command (& icon). #19

Open
Spammed opened this issue Dec 21, 2020 · 1 comment
Open

Installer: Provide a shell.open.command (& icon). #19

Spammed opened this issue Dec 21, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Spammed
Copy link

Spammed commented Dec 21, 2020

The installer(s) may provide execution of *.lua with a shell.open.command.
E.g.:

[HKEY_CLASSES_ROOT\Lua.Script\Shell\Open\Command]
@="\"C:\\Program Files (x86)\\WinLua\\Lua\\5.3\\bin\\lua.exe\" \"%1\" %*"

The last %* is essential to allow Lua-Script to recieve command arguments.

@RussellHaley
Copy link
Collaborator

Hey, thanks for that. That little tidbit would have been really handy two years ago! The installer has been quite a journey. There is some code in there that used to run the LuaRocks install script but I could never get any command line parameters passed. I was trying to embed paths in in a batch file (ugh). I wanted to try embedding Lua in an installer so that's why I went down the neolua road, but it's very non-portable so I will keep this in mind. Thanks!

@RussellHaley RussellHaley added the enhancement New feature or request label Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants