From 4047074395581e9aae93c6f88487759ad75cb3ac Mon Sep 17 00:00:00 2001 From: CAtlas0784 Date: Fri, 30 Oct 2026 21:12:01 +0700 Subject: [PATCH] fix(readme): fix mermaid diagram syntax for Gitea ELK renderer --- README.md | 52 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0a5d1f3..cdb9166 100644 --- a/README.md +++ b/README.md @@ -55,36 +55,48 @@ Built with **Go**, **Wails v3**, **React 19**, and **Tailwind CSS v4**. ```mermaid flowchart TD subgraph Frontend["Frontend (React 19 + TypeScript + Vite)"] - UI["UI Pages & Modals
(Launcher, Diff, Language, Analysis, Tools)"] + UI["UI Pages & Modals"] Router["TanStack Router"] - Store["Zustand Stores
(Launcher, Settings, Modal, Diff)"] - I18n["i18next (EN, TH, JA, KO, VI, ZH)"] - Bindings["@bindings/g-launcher/*"] - UI --> Router --> Store --> Bindings + Store["Zustand Stores"] + I18n["i18next Locales"] + Bindings["TypeScript Bindings (@bindings/*)"] + UI --> Router + Router --> Store + Store --> Bindings UI --> I18n end - subgraph IPC["Wails v3 IPC & Event Gateway"] - IPCBridge["Bidirectional Events & Go Service Bindings"] - Bindings <--> IPCBridge + subgraph IPC["Wails v3 IPC Gateway"] + IPCBridge["Bidirectional Events & RPC Bindings"] end subgraph Backend["Backend (Go 1.24+)"] - AppSvc["AppService
(Window Controls & App Version)"] - FSSvc["FSService
(Process Management & Persistent Storage)"] - GitSvc["GitService
(Self-Update, Proxy/Server, MinGit)"] - DiffSvc["DiffService
(HDiffPatch, Zift, Chunk Protobuf)"] - LangSvc["LanguageService
(ExcelData Binary & Thai Mod)"] - IPCBridge <--> AppSvc & FSSvc & GitSvc & DiffSvc & LangSvc + AppSvc["AppService (Window Controls)"] + FSSvc["FSService (Process & Storage)"] + GitSvc["GitService (Update & MinGit)"] + DiffSvc["DiffService (HDiff & Zift)"] + LangSvc["LanguageService (Excel & Mod)"] end - subgraph OS["Windows System / Game Files"] - GameExe["StarRail.exe / Game Process"] - GameFiles["Game Assets / .backup / .zon"] - Config["%APPDATA%/g-launcher"] - Tools["bin/ (7za, hpatchz, zift, MinGit)"] - FSSvc & GitSvc & DiffSvc & LangSvc --> OS + subgraph System["Windows OS & Game Files"] + GameExe["Game Process (StarRail.exe)"] + GameFiles["Game Assets & Backup Files"] + Config["User Config (%APPDATA%/g-launcher)"] + Tools["Tools (MinGit, 7za, Zift)"] end + + Bindings <--> IPCBridge + IPCBridge <--> AppSvc + IPCBridge <--> FSSvc + IPCBridge <--> GitSvc + IPCBridge <--> DiffSvc + IPCBridge <--> LangSvc + + FSSvc --> GameExe + FSSvc --> Config + GitSvc --> Tools + DiffSvc --> GameFiles + LangSvc --> GameFiles ``` ---