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

What should happen on first run? #4

Closed
telemachus opened this issue May 23, 2016 · 1 comment
Closed

What should happen on first run? #4

telemachus opened this issue May 23, 2016 · 1 comment

Comments

@telemachus
Copy link

telemachus commented May 23, 2016

Hi,

As things stand, if the user downloads and runs anything, including ./luavm help, luavm tries to install all its default working directories (~/.luavm etc.).

I'm not sure I think that this is the best procedure. I think it would be better to install those only when a user runs a command that requires them.

Beyond that, the installation commands have a problem. This is what the user sees when running ./luavm help

$ ./luavm help
usage: mkdir [-pv] [-m mode] directory ...
Unable to execute following command:
mkdir 
Exiting
@DhavalKapil
Copy link
Owner

Ideally, the user should have installed luavm as given in the README. The directories that are created in ./luavm are just for making sure the user didn't delete any of these. I don't think it matters much to include them in every run.

And yes that is a bug that happens when the user didn't install it and directly ran ./luavm. I'll fix it.

Thanks!

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

No branches or pull requests

2 participants