-
-
Notifications
You must be signed in to change notification settings - Fork 359
Running EpicGames Freebies Claimer
- Holding the Shift key, right-click on an empty background space inside of your EpicGames Freebies Claimer folder and choose Open PowerShell window here
- Type npm start to start EpicGames Freebies Claimer
- Can be edited with a text editor such as Notepad. As of V1.5.0, options include;
"appriseUrl": "discord://webhook_id/webhook_token",
This is the Apprise-url to wich a message will be sent when claiming a game.
"delay": 1440,
This is the number (in minutes) which the script will check again for free games.
"loop": true,
If set to false, the script will only run once.
"notifyIfNoUnclaimedFreebies": true
If set to true, a message will be sent when there are no unclaimed freebies.
Note: In V1.5.4,
config.json
has been moved to data folder.
- Open notepad and paste the following;
@ECHO OFF
CD /D %~dp0
:start
REM cls
call npm start
pause
GOTO start
- Save as run.bat and place inside of your extracted EpicGames Freebies Claimer folder
- Open run.bat
- If the console says there is an update available, see the Updating EpicGames Freebies Claimer page.
This allows Epic Games Freebies Claimer to run in the background when Windows starts.
-
IMPORTANT: Since you will no longer see the console and the Claimer does not currently auto-update, it is recommended you ☆ Star this project to receive e-mail notifications on new releases, just in case Epic changes something that breaks functionality. The console's log is accessible by opening the claimer.log file in your EpicGames Freebies Claimer folder.
-
Download NSSM and extract it to a folder (example: C:\Users\Tim Sweeney\Downloads\NSSM)
-
Open this folder and navigate to the win32 folder inside of it
-
Open your Start Menu and type cmd , then right-click on Command Prompt and Run As Administrator
-
Copy the following (with quotes), replacing the directory path with your own above path and press Enter;
In the following example, EpicGamesFreebiesClaimer will be the name of the service. If you change the name from EpicGamesFreebiesClaimer to something else, do not include any spaces in the name.
"C:\Users\Tim Sweeney\Downloads\NSSM\win32\nssm.exe" install EpicGamesFreebiesClaimer
- IMPORTANT: Before proceeding, ensure your Epic Games Freebies Claimer folder is in the location you wish for it to run from all the time. Consider creating it's own folder (ex: "C:\Program Files (x86)\Epic Games Freebies Claimer"). You may not want to keep it in your "Downloads" folder, as the service and script will no longer run if the Epic Games Freebies Claimer folder is renamed, deleted or moved.
- In the "Application" tab, click the … button to the right of Path:
- Navigate to your Epic Games Freebies Claimer folder and select run.bat
- Press Install service (then press Yes if prompted from User Account Control)
- Restart your PC
- To check if the service was created properly or is currently running, launch "Services" from your Windows Start Menu and scroll down to what you named your service (ex: EpicGamesFreebiesClaimer)
- IMPORTANT: Deleting your the Epic Games Freebies Claimer folder will not remove the service. Windows will still try to launch run.bat from your chosen location on Windows startup, even if that folder is deleted, until you remove the service using NSSM.
- Download NSSM and extract it to a folder (example: C:\Users\Tim Sweeney\Downloads\NSSM)
- Open this folder and navigate to the win32 folder inside of it
- Open your Start Menu and type cmd , then right-click on Command Prompt and Run As Administrator
- Copy the following line (with quotes), replacing the directory path with your own above path and press Enter;
"C:\Users\Tim Sweeney\Downloads\NSSM\win32\nssm.exe" remove EpicGamesFreebiesClaimer
- Select "Yes" to remove the service