Skip to content

Commit

Permalink
Merge pull request #162 from jackblk/master
Browse files Browse the repository at this point in the history
fix: claimed game notification, add changelog link
  • Loading branch information
Revadike authored Dec 13, 2021
2 parents 4e3dd58 + 6de19e8 commit 17222e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 81 deletions.
81 changes: 1 addition & 80 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,87 +32,8 @@ Also, this is a good alternative, in case you don't like using Epic's client or
To which I will say, why not? Most of these games are actually outstanding games! Even if you don't like Epic and their shenanigans, you will be pleased to know that Epic actually funds all the free copies that are given away: ["But we actually found it was more economical to pay developers [a lump sum] to distribute their game free for two weeks..."](https://arstechnica.com/gaming/2019/03/epic-ceo-youre-going-to-see-lower-prices-on-epic-games-store/)

## Changelog
### V1.5.7
* Fixed breaking bug that occured with new offer type: edition (#159)
* Merged Apprise image to main for docker (#157)

### V1.5.6
* Added optional Apprise notifications (#143)
* Improved update checking (#155)
* Improved docker integration

### V1.5.5
* Fixed testing (#137)
* Fixed getting slug (for addons) (#134 #135 #136)

### V1.5.4
* Create data directory to improve k8s convenience (#123)
* Added optional Pushbullet notifications, if `pushbulletApiKey` option is present in `config.json` (#131)

### V1.5.3
* Fixed missing history.json

### V1.5.2
* Fixed a looping issue

### V1.5.1
* Added docker support (#105)
* Fixed getting wrong offer (#107 #108)
* No longer logs in to check for new freebies (#109)
* Keep track of claimed freebies history (#110)

### V1.5.0
* Fixed login
* Fixed purchase (claiming)
* Removed ownership check (broken)
* Removed unneeded dependencies
* Code restyling

### V1.4.1
* Removed the need for graphql query

### V1.4.0
* Added two factor authentication (2fa) support while EpicGames changed policy (#17 #19 #21)
* Added update checker (#20)

### V1.3.0
* Changed method of obtaining free games list (#13)
* Added better logger (#14)

### V1.2.3
* Small bugfix

### V1.2.2
* Added looping feature a.k.a. run forever* (#2)
* Added multi-account support*

*Please update your config accordingly

### V1.2.1
* Makes `rememberLastSession` optional in config or launch parameter (#8)
* Added ESLint linter

### V1.2.0
* Now allows web login, if normal login fails, e.g. due to captcha (#3)

*Please run `npm install` again, to install `epicgames-client-login-adapter`, required to utilize this new feature

### V1.1.2
* Enables `rememberLastSession` by default* (#4)

*Please run `npm update` to update `epicgames-client`, required to utilize this new feature

### V1.1.1
* Ensured all search results for all namespaces are purchased

### V1.1.0
* Added support for email/password arguments
* Moved saved credentials to config.json
* Ensured all search results are returned
* Fixed program not exiting

### V1.0.0
* Initial release
[Full changelog in Wiki](https://github.com/Revadike/epicgames-freebies-claimer/releases)

## Happy Freebie Claiming!
![image](https://user-images.githubusercontent.com/4411977/122922274-bb263b00-d363-11eb-8b82-8a3ed6e7e29d.png)
2 changes: 1 addition & 1 deletion claimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function sleep(delay) {
let purchased = await client.purchase(offer, 1);
if (purchased) {
Logger.info(`Successfully claimed ${offer.title} (${purchased})`);
newlyClaimedPromos.push(offer);
newlyClaimedPromos.push(offer.title);
} else {
Logger.warn(`${offer.title} was already claimed for this account`);
}
Expand Down

0 comments on commit 17222e8

Please sign in to comment.