mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26:17 +00:00
Auto Update with github api
This commit is contained in:
@@ -149,11 +149,14 @@
|
||||
|
||||
// Updates
|
||||
"update": {
|
||||
"git": true,
|
||||
"docker": false,
|
||||
"enabled": true, // Enable automatic updates (default: true)
|
||||
"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",
|
||||
"autoUpdateConfig": true,
|
||||
"autoUpdateAccounts": false
|
||||
"autoUpdateConfig": false, // Update config.jsonc from remote (keeps your settings if false)
|
||||
"autoUpdateAccounts": false // Update accounts file from remote (NEVER recommended, keeps your accounts)
|
||||
},
|
||||
|
||||
// Scheduling (automatic task scheduling)
|
||||
|
||||
Reference in New Issue
Block a user