From 62a667758dfc9951745a169a802c9cbdfdd24806 Mon Sep 17 00:00:00 2001 From: yusing Date: Sun, 21 Sep 2025 13:19:27 +0800 Subject: [PATCH] docs(README): add section for updating and uninstalling system agent --- README.md | 15 +++++++++++++++ README_CHT.md | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/README.md b/README.md index c976ccda..9cfde4c2 100755 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Have questions? Ask [ChatGPT](https://chatgpt.com/g/g-6825390374b481919ad482f2e4 - [Prerequisites](#prerequisites) - [Setup](#setup) - [How does GoDoxy work](#how-does-godoxy-work) +- [Update / Uninstall system agent](#update--uninstall-system-agent) - [Screenshots](#screenshots) - [idlesleeper](#idlesleeper) - [Metrics and Logs](#metrics-and-logs) @@ -128,6 +129,20 @@ Configure Wildcard DNS Record(s) to point to machine running `GoDoxy`, e.g. > > For example, with the label `proxy.aliases: qbt` you can access your app via `qbt.domain.com`. +## Update / Uninstall system agent + +Update: + +```bash +bash -c "$(curl -fsSL https://github.com/yusing/godoxy/raw/refs/heads/main/scripts/install-agent.sh)" -- update +``` + +Uninstall: + +```bash +bash -c "$(curl -fsSL https://github.com/yusing/godoxy/raw/refs/heads/main/scripts/install-agent.sh)" -- uninstall +``` + ## Screenshots ### idlesleeper diff --git a/README_CHT.md b/README_CHT.md index 8af7f84f..e7193abc 100644 --- a/README_CHT.md +++ b/README_CHT.md @@ -34,6 +34,7 @@ - [安裝](#安裝) - [手動安裝](#手動安裝) - [資料夾結構](#資料夾結構) +- [更新 / 卸載系統代理 (System Agent)](#更新--卸載系統代理-system-agent) - [截圖](#截圖) - [閒置休眠](#閒置休眠) - [監控](#監控) @@ -144,6 +145,20 @@ └── .env ``` +## 更新 / 卸載系統代理 (System Agent) + +更新: + +```bash +bash -c "$(curl -fsSL https://github.com/yusing/godoxy/raw/refs/heads/main/scripts/install-agent.sh)" -- update +``` + +卸載: + +```bash +bash -c "$(curl -fsSL https://github.com/yusing/godoxy/raw/refs/heads/main/scripts/install-agent.sh)" -- uninstall +``` + ## 截圖 ### 閒置休眠