Auto Update with github api

This commit is contained in:
2025-11-05 21:53:17 +01:00
parent dce1fcc193
commit c98a85633d

View File

@@ -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)