From c98a85633d88134e246e9b55158ffac83245e583 Mon Sep 17 00:00:00 2001 From: LightZirconite Date: Wed, 5 Nov 2025 21:53:17 +0100 Subject: [PATCH] Auto Update with github api --- src/config.jsonc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/config.jsonc b/src/config.jsonc index 4c53db6..5e2570f 100644 --- a/src/config.jsonc +++ b/src/config.jsonc @@ -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)