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

How to run "SHOW=1 node epic-games" on a Windows CMD #314

Closed
ghost opened this issue Mar 29, 2024 · 5 comments
Closed

How to run "SHOW=1 node epic-games" on a Windows CMD #314

ghost opened this issue Mar 29, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation Windows

Comments

@ghost
Copy link

ghost commented Mar 29, 2024

It seems those "SHOW=1 node epic-games" and "EMAIL=[email protected] SHOW=1 node epic-games" works only on Linux/macOS OOTB.

Is there a workaround that will let me login with the browser under Windows CMD ?

image

@jaxparrow07
Copy link

CMD has a different syntax for environment variables.

The SHOW=1 goes like this ( have to run one by one )

set SHOW=1
set EMAIL=""
<node js command here>

If you want to execute them on a single line/execution. You'll have to append call before the calling function so the variables take effect.

set SHOW=1 && set EMAIL="" && call <node js command here>

@vogler vogler closed this as completed in 601e893 Jun 23, 2024
@vogler vogler added documentation Improvements or additions to documentation Windows labels Jun 23, 2024
@EnduringGuerila
Copy link

EnduringGuerila commented Jun 28, 2024

set SHOW=1
set EMAIL=""
<node js command here>

This worked just fine as 3 separate commands.

set SHOW=1 && set EMAIL="" && call <node js command here>

I couldn't get the single line to work in CMD or powershell

also, the email should not be in quotes as the quotes get pasted into the email field

@jaxparrow07
Copy link

set SHOW=1
set EMAIL=""
<node js command here>

This worked just fine as 3 separate commands.

set SHOW=1 && set EMAIL="" && call <node js command here>

I couldn't get the single line to work in CMD or powershell

also, the email should not be in quotes as the quotes get pasted into the email field

What's the output when you try the single-line command? And what windows version are you on.

I appreciate you for pointing out the quotes.

@nahuelranieri
Copy link

I'm commenting here so I don't open another request, but maybe it could help the rest:

set is a CMD-only command, so if you try to emulate it in Powershell (as I did) it won't work. I think it's important to point this out because Powershell doesn't return any error if you use set.

Anyway you can always create a config.env file inside the data folder and set your variables there.

@vogler
Copy link
Owner

vogler commented Sep 6, 2024

I linked this article in the Readme that explains how to set them for every OS/Terminal:

Options are set via [environment variables](https://kinsta.com/knowledgebase/what-is-an-environment-variable/) which allow for flexible configuration.

Specifically https://kinsta.com/knowledgebase/what-is-an-environment-variable/#how-to-work-with-environment-variables.
Maybe I should make that more prominent or add a FAQ section.

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

No branches or pull requests

4 participants