"use strict";(self.webpackChunkdocs_site=self.webpackChunkdocs_site||[]).push([[2572],{8453:(e,n,s)=>{s.d(n,{R:()=>r,x:()=>l});var t=s(6540);const o={},i=t.createContext(o);function r(e){const n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),t.createElement(i.Provider,{value:n},e.children)}},9001:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"usage/shutdown-and-uninstall","title":"Shutdown and Uninstall","description":"Stop the Service","source":"@site/i18n/en/docusaurus-plugin-content-docs/current/usage/shutdown-and-uninstall.md","sourceDirName":"usage","slug":"/usage/shutdown-and-uninstall","permalink":"/docs/en/usage/shutdown-and-uninstall","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":15,"frontMatter":{"sidebar_position":15},"sidebar":"tutorialSidebar","previous":{"title":"Updates and Agent Integration","permalink":"/docs/en/usage/update-and-mcp"},"next":{"title":"XXTLanControl Module","permalink":"/docs/en/XXTLanControl.lua/"}}');var o=s(4848),i=s(8453);const r={sidebar_position:15},l="Shutdown and Uninstall",d={},c=[{value:"Stop the Service",id:"stop-the-service",level:2},{value:"Back Up Before Uninstalling",id:"back-up-before-uninstalling",level:2},{value:"Uninstall Steps",id:"uninstall-steps",level:2},{value:"Common Data Directory Locations",id:"common-data-directory-locations",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"shutdown-and-uninstall",children:"Shutdown and Uninstall"})}),"\n",(0,o.jsx)(n.h2,{id:"stop-the-service",children:"Stop the Service"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["Tray mode: choose ",(0,o.jsx)(n.code,{children:"Exit"})," from the tray menu."]}),"\n",(0,o.jsxs)(n.li,{children:["Terminal mode: close the window launched by ",(0,o.jsx)(n.code,{children:"start-backend.cmd"}),", ",(0,o.jsx)(n.code,{children:"start-backend.command"}),", or ",(0,o.jsx)(n.code,{children:"start-backend.sh"}),", or stop the backend process directly."]}),"\n",(0,o.jsxs)(n.li,{children:["Docker mode: run ",(0,o.jsx)(n.code,{children:"docker compose down"}),"."]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"back-up-before-uninstalling",children:"Back Up Before Uninstalling"}),"\n",(0,o.jsx)(n.p,{children:"If you still need your scripts, resources, reports, or schedule history, back up the app data directory first. Common things worth keeping include:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"scripts/"}),": scripts and script packages"]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"files/"}),": resources, screenshots, installer packages, and other assets"]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.code,{children:"reports/"}),": batch authorization reports and exported schedule logs"]}),"\n",(0,o.jsx)(n.li,{children:"device lists, KVDB, TableDB, schedules, and other saved data"}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"uninstall-steps",children:"Uninstall Steps"}),"\n",(0,o.jsxs)(n.ol,{children:["\n",(0,o.jsx)(n.li,{children:"Stop the running service."}),"\n",(0,o.jsx)(n.li,{children:"Remove shortcuts and auto-start entries."}),"\n",(0,o.jsx)(n.li,{children:"Delete the extracted app directory."}),"\n",(0,o.jsx)(n.li,{children:"Delete the app data directory only if you no longer need the saved data."}),"\n",(0,o.jsxs)(n.li,{children:["If you used ",(0,o.jsx)(n.code,{children:"Settings \u2192 MCP Install"}),", it is recommended to remove those integrations before uninstalling the app."]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"common-data-directory-locations",children:"Common Data Directory Locations"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["macOS: ",(0,o.jsx)(n.code,{children:"~/Library/Application Support/XXTLanControl"})]}),"\n",(0,o.jsxs)(n.li,{children:["Windows: ",(0,o.jsx)(n.code,{children:"%APPDATA%/XXTLanControl"})]}),"\n",(0,o.jsxs)(n.li,{children:["Linux: ",(0,o.jsx)(n.code,{children:"$XDG_DATA_HOME/XXTLanControl"})," or ",(0,o.jsx)(n.code,{children:"~/.local/share/XXTLanControl"})]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}}}]);