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 support windows #496

Closed
axetroy opened this issue Jun 17, 2019 · 0 comments
Closed

installer support windows #496

axetroy opened this issue Jun 17, 2019 · 0 comments

Comments

@axetroy
Copy link
Contributor

axetroy commented Jun 17, 2019

current install only supports Linux/osx

We can refer to the npm executable

Because it is a sh file, it does not have cross-platform capabilities.

It should be changed to the deno executable

https://github.com/denoland/deno_std/blob/aa628cb926078375c3164711e49af1bd71825983/installer/mod.ts#L209-L214

#!/usr/bin/env deno run --allow-run

But there is a problem here.

#!/usr/bin/env deno run --allow-run The parameters can be passed correctly under osx, but not work on Windows

ref: why-does-passing-arguments-to-the-command-in-an-env-invocation-not-work

@axetroy axetroy closed this as completed Jun 17, 2019
inverted-capital pushed a commit to dreamcatcher-tech/napps that referenced this issue Oct 24, 2024
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

1 participant