mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 01:36:16 +00:00
Refactor bot startup process to auto-create configuration files, enhance update system, and add historical stats endpoints
- Updated README.md to reflect new bot setup and configuration process. - Removed outdated installer README and integrated update logic directly into the bot. - Implemented smart update for example configuration files, ensuring user files are not overwritten. - Added FileBootstrap class to handle automatic creation of configuration files on first run. - Enhanced BotController to manage stop requests and ensure graceful shutdown. - Introduced new stats management features, including historical stats and activity breakdown endpoints. - Updated API routes to include new statistics retrieval functionalities.
This commit is contained in:
10
README.md
10
README.md
@@ -25,14 +25,18 @@
|
||||
git clone https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
|
||||
cd Microsoft-Rewards-Bot
|
||||
|
||||
# 2. Setup accounts
|
||||
cp src/accounts.example.jsonc src/accounts.jsonc
|
||||
# 2. Run the bot (auto-creates config files on first run)
|
||||
npm start
|
||||
|
||||
# 3. Configure your accounts
|
||||
# Edit src/accounts.jsonc with your Microsoft account(s)
|
||||
|
||||
# 3. Run
|
||||
# 4. Run again
|
||||
npm start
|
||||
```
|
||||
|
||||
**Note:** Configuration files (`config.jsonc` and `accounts.jsonc`) are automatically created from `.example.jsonc` templates on first run.
|
||||
|
||||
## Features
|
||||
|
||||
| Feature | Description |
|
||||
|
||||
Reference in New Issue
Block a user