mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 01:36:16 +00:00
Auto Update with github api
This commit is contained in:
@@ -149,11 +149,14 @@
|
|||||||
|
|
||||||
// Updates
|
// Updates
|
||||||
"update": {
|
"update": {
|
||||||
"git": true,
|
"enabled": true, // Enable automatic updates (default: true)
|
||||||
"docker": false,
|
"method": "github-api", // Update method: "git" or "github-api" (recommended: "github-api")
|
||||||
|
// "git" = Uses Git commands (requires Git installed, can have conflicts)
|
||||||
|
// "github-api" = Downloads ZIP from GitHub (no Git needed, no conflicts, recommended)
|
||||||
|
"docker": false, // Update Docker containers if using Docker
|
||||||
"scriptPath": "setup/update/update.mjs",
|
"scriptPath": "setup/update/update.mjs",
|
||||||
"autoUpdateConfig": true,
|
"autoUpdateConfig": false, // Update config.jsonc from remote (keeps your settings if false)
|
||||||
"autoUpdateAccounts": false
|
"autoUpdateAccounts": false // Update accounts file from remote (NEVER recommended, keeps your accounts)
|
||||||
},
|
},
|
||||||
|
|
||||||
// Scheduling (automatic task scheduling)
|
// Scheduling (automatic task scheduling)
|
||||||
|
|||||||
Reference in New Issue
Block a user