Closed Florian-Mahlberg closed 3 years ago
The wiki is a better place for this. I linked to a section about running it as service via NSSM. I like your Windows Scheduler version too. Maybe put both methods in a separate page about running it as a service. Please, try to keep it nice and clean, use markdown.
You go to line 109 and change the line
Logger.info(
Waiting ${delay} minutes);
toprocess.exit(0);
You should simply change the loop
option in the config to false
...
And if you, Revadike, are seeing this, it would be grat if you change the README.md a bit so everyone can see there is a option to run this on the start of the pc.
Again wiki. The wiki is also linked in README.md.
Well happy to hear it comes to the wiki. Sorry for the markdown ^^ and yes, you could just change the loop.
Anyone can edit the wiki
Didn't know, i'll do that in a couple of days
Hi, I know, we are all lazy so, here is a tutorial for all WINDOWS 10 Users, to start this programm on startup.
First install like the Documentations says. I downloaded it in
D:\EpicGamesClaimer
so please change all directorys!We need to edit the config.json file a bit, so we have no terminal on our screen.
The loop line should be
"loop": false
and not"loop": true
.Press WIN + R and a window will open. Enter
taskschd.msc
and press enter.In the bar at the top select
Create Task
.Name it whatever you want and if you want to add a description. Tap on
Change User or Group...
and enterSystem
in the big box. And pressOK
Check the Box
Run with highest privileges
Check, if you have it like this:
Go to triggers and create a new: Change the dropdown
Begin the task:
toAt log on
ActivateStop task if it runs longer than:
and enter the time of 30 minutesCompate it with the image to be sure, you dont forget anything:
Save with
OK
Now we are going to the Actions tab and click on
New..
The Action should be
Start a program
by default.In the Box
Program/script:
we enter the location of the npm command. By default it is"C:\Program Files\nodejs\npm.cmd"
As arguments we use to the location where you copied your files!!
--prefix <path> run start
ChangeWe are checking again:
And closing this window by pressing
OK
.Now just checking conditions for a sec:
And edit in the settings tab a few things:
And if everything is correct (by me and by you), we are now the laziest people I have ever seen. I hope I could help you out a bit.
Some other stuff:
If something is gone wrong, just comment, I should answer in a couple of days.
If someone wants me to do a UNIX (Linux / MacOS tutorial please put it in the comments too ;) )