-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Comments
CMD has a different syntax for environment variables. The 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 set SHOW=1 && set EMAIL="" && call <node js command here> |
This worked just fine as 3 separate commands.
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. |
I'm commenting here so I don't open another request, but maybe it could help the rest:
Anyway you can always create a |
I linked this article in the Readme that explains how to set them for every OS/Terminal: Line 64 in c8cf736
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. |
It's odd really, I can do it in Powershell as it displays the browser, on CMD it does not show it.
For Powershell # Setting the environment variable SHOW to "1"
$env:SHOW="1"
# Setting the environment variable EMAIL to an empty string
$env:EMAIL=""
# Call the Node.js command, example: node gog
node gog if you want only single line $env:SHOW = "1"; $env:EMAIL=""; node gog Also note that if you had already signed in with your accounts, you can safely not enter the |
It seems those "SHOW=1 node epic-games" and "EMAIL=foo@bar.baz 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 ?
The text was updated successfully, but these errors were encountered: