From 22c896e38ca3965fde70db8e1fe788b503d59597 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Tue, 10 Feb 2026 01:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/cmleonos/docs/.vuepress/dist/404.html | 8 ++-- ....html-BOGHr6mK.js => 404.html-ByTdGTSm.js} | 2 +- .../{app-C5LI_5xh.js => app-C1vKFkGc.js} | 2 +- ...-CrIc-G18.js => commands.html-DsR2axk8.js} | 16 ++++++-- ...0aDi3A.js => get-started.html-CfHiKCXZ.js} | 2 +- ...tml-BA3Blunq.js => index.html-BMbDjf_W.js} | 2 +- ....html-C0_eUbqL.js => lua.html-3_L4TJjQ.js} | 2 +- .../docs/.vuepress/dist/commands.html | 18 +++++++-- .../docs/.vuepress/dist/get-started.html | 8 ++-- docs/cmleonos/docs/.vuepress/dist/index.html | 6 +-- docs/cmleonos/docs/.vuepress/dist/lua.html | 6 +-- docs/cmleonos/docs/commands.md | 39 +++++++++++++++++++ 12 files changed, 85 insertions(+), 26 deletions(-) rename docs/cmleonos/docs/.vuepress/dist/assets/{404.html-BOGHr6mK.js => 404.html-ByTdGTSm.js} (82%) rename docs/cmleonos/docs/.vuepress/dist/assets/{app-C5LI_5xh.js => app-C1vKFkGc.js} (99%) rename docs/cmleonos/docs/.vuepress/dist/assets/{commands.html-CrIc-G18.js => commands.html-DsR2axk8.js} (91%) rename docs/cmleonos/docs/.vuepress/dist/assets/{get-started.html-BY0aDi3A.js => get-started.html-CfHiKCXZ.js} (71%) rename docs/cmleonos/docs/.vuepress/dist/assets/{index.html-BA3Blunq.js => index.html-BMbDjf_W.js} (96%) rename docs/cmleonos/docs/.vuepress/dist/assets/{lua.html-C0_eUbqL.js => lua.html-3_L4TJjQ.js} (99%) diff --git a/docs/cmleonos/docs/.vuepress/dist/404.html b/docs/cmleonos/docs/.vuepress/dist/404.html index 4dcb8e4..4c035a9 100644 --- a/docs/cmleonos/docs/.vuepress/dist/404.html +++ b/docs/cmleonos/docs/.vuepress/dist/404.html @@ -33,11 +33,11 @@ CMLeonOS官方文档站 - - + + -

404

That's a Four-Oh-Four.
Take me home
- +

404

There's nothing here.
Take me home
+ diff --git a/docs/cmleonos/docs/.vuepress/dist/assets/404.html-BOGHr6mK.js b/docs/cmleonos/docs/.vuepress/dist/assets/404.html-ByTdGTSm.js similarity index 82% rename from docs/cmleonos/docs/.vuepress/dist/assets/404.html-BOGHr6mK.js rename to docs/cmleonos/docs/.vuepress/dist/assets/404.html-ByTdGTSm.js index c6f26fe..93f5dbd 100644 --- a/docs/cmleonos/docs/.vuepress/dist/assets/404.html-BOGHr6mK.js +++ b/docs/cmleonos/docs/.vuepress/dist/assets/404.html-ByTdGTSm.js @@ -1 +1 @@ -import{_ as e,c as o,b as a,o as n}from"./app-C5LI_5xh.js";const l={};function r(s,t){return n(),o("div",null,[...t[0]||(t[0]=[a("p",null,"404 Not Found",-1)])])}const _=e(l,[["render",r]]),d=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,d as data}; +import{_ as e,c as o,b as a,o as n}from"./app-C1vKFkGc.js";const l={};function r(s,t){return n(),o("div",null,[...t[0]||(t[0]=[a("p",null,"404 Not Found",-1)])])}const _=e(l,[["render",r]]),d=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,d as data}; diff --git a/docs/cmleonos/docs/.vuepress/dist/assets/app-C5LI_5xh.js b/docs/cmleonos/docs/.vuepress/dist/assets/app-C1vKFkGc.js similarity index 99% rename from docs/cmleonos/docs/.vuepress/dist/assets/app-C5LI_5xh.js rename to docs/cmleonos/docs/.vuepress/dist/assets/app-C1vKFkGc.js index b163ddc..daec7f2 100644 --- a/docs/cmleonos/docs/.vuepress/dist/assets/app-C5LI_5xh.js +++ b/docs/cmleonos/docs/.vuepress/dist/assets/app-C1vKFkGc.js @@ -16,7 +16,7 @@ * @vue/runtime-dom v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Xo;const ai=typeof window<"u"&&window.trustedTypes;if(ai)try{Xo=ai.createPolicy("vue",{createHTML:e=>e})}catch{}const Ta=Xo?e=>Xo.createHTML(e):e=>e,Cf="http://www.w3.org/2000/svg",Tf="http://www.w3.org/1998/Math/MathML",Rt=typeof document<"u"?document:null,ci=Rt&&Rt.createElement("template"),Af={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Rt.createElementNS(Cf,e):t==="mathml"?Rt.createElementNS(Tf,e):n?Rt.createElement(e,{is:n}):Rt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Rt.createTextNode(e),createComment:e=>Rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ci.innerHTML=Ta(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ci.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zt="transition",Bn="animation",lr=Symbol("_vtc"),Aa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},xf=Me({},ql,Aa),Lf=e=>(e.displayName="Transition",e.props=xf,e),bs=Lf((e,{slots:t})=>Q(_u,Rf(e),t)),rn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},ui=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function Rf(e){const t={};for(const E in e)E in Aa||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=Of(o),_=v&&v[0],S=v&&v[1],{onBeforeEnter:C,onEnter:T,onEnterCancelled:g,onLeave:b,onLeaveCancelled:H,onBeforeAppear:J=C,onAppear:$=T,onAppearCancelled:w=g}=t,R=(E,M,D,j)=>{E._enterCancelled=j,on(E,M?u:l),on(E,M?c:i),D&&D()},k=(E,M)=>{E._isLeaving=!1,on(E,f),on(E,p),on(E,h),M&&M()},z=E=>(M,D)=>{const j=E?$:T,L=()=>R(M,E,D);rn(j,[M,L]),fi(()=>{on(M,E?a:s),Tt(M,E?u:l),ui(j)||di(M,r,_,L)})};return Me(t,{onBeforeEnter(E){rn(C,[E]),Tt(E,s),Tt(E,i)},onBeforeAppear(E){rn(J,[E]),Tt(E,a),Tt(E,c)},onEnter:z(!1),onAppear:z(!0),onLeave(E,M){E._isLeaving=!0;const D=()=>k(E,M);Tt(E,f),E._enterCancelled?(Tt(E,h),mi(E)):(mi(E),Tt(E,h)),fi(()=>{E._isLeaving&&(on(E,f),Tt(E,p),ui(b)||di(E,r,S,D))}),rn(b,[E,D])},onEnterCancelled(E){R(E,!1,void 0,!0),rn(g,[E])},onAppearCancelled(E){R(E,!0,void 0,!0),rn(w,[E])},onLeaveCancelled(E){k(E),rn(H,[E])}})}function Of(e){if(e==null)return null;if(Ee(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return Cc(e)}function Tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[lr]||(e[lr]=new Set)).add(t)}function on(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[lr];n&&(n.delete(t),n.size||(e[lr]=void 0))}function fi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pf=0;function di(e,t,n,r){const o=e._endId=++Pf,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=If(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,h),s()},h=p=>{p.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[v]||"").split(", "),o=r(`${zt}Delay`),s=r(`${zt}Duration`),i=hi(o,s),l=r(`${Bn}Delay`),a=r(`${Bn}Duration`),c=hi(l,a);let u=null,f=0,h=0;t===zt?i>0&&(u=zt,f=i,h=s.length):t===Bn?c>0&&(u=Bn,f=c,h=a.length):(f=Math.max(i,c),u=f>0?i>c?zt:Bn:null,h=u?u===zt?s.length:a.length:0);const p=u===zt&&/\b(?:transform|all)(?:,|$)/.test(r(`${zt}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:p}}function hi(e,t){for(;e.lengthpi(n)+pi(e[r])))}function pi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function mi(e){return(e?e.ownerDocument:document).body.offsetHeight}function kf(e,t,n){const r=e[lr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zr=Symbol("_vod"),xa=Symbol("_vsh"),eo={name:"show",beforeMount(e,{value:t},{transition:n}){e[Zr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):jn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),jn(e,!0),r.enter(e)):r.leave(e,()=>{jn(e,!1)}):jn(e,t))},beforeUnmount(e,{value:t}){jn(e,t)}};function jn(e,t){e.style.display=t?e[Zr]:"none",e[xa]=!t}const Nf=Symbol(""),Mf=/(?:^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=Oe(n);let s=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Br(r,l,"")}else for(const i in t)n[i]==null&&Br(r,i,"");for(const i in n)i==="display"&&(s=!0),Br(r,i,n[i])}else if(o){if(t!==n){const i=r[Nf];i&&(n+=";"+i),r.cssText=n,s=Mf.test(n)}}else t&&e.removeAttribute("style");Zr in e&&(e[Zr]=s?r.display:"",e[xa]&&(r.display="none"))}const gi=/\s*!important$/;function Br(e,t,n){if(re(n))n.forEach(r=>Br(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$f(e,t);gi.test(n)?e.setProperty(en(r),n.replace(gi,""),"important"):e[r]=n}}const vi=["Webkit","Moz","ms"],ko={};function $f(e,t){const n=ko[t];if(n)return n;let r=tt(t);if(r!=="filter"&&r in e)return ko[t]=r;r=dr(r);for(let o=0;oNo||(Vf.then(()=>No=0),No=Date.now());function Uf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gt(Wf(r,n.value),t,5,[r])};return n.value=e,n.attached=zf(),n}function Wf(e,t){if(re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gf=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?kf(e,r,i):t==="style"?Df(e,n,r):fr(t)?is(t)||Bf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kf(e,t,r,i))?(yi(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&_i(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?yi(e,tt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),_i(e,t,r,i))};function Kf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&wi(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return wi(t)&&Oe(n)?!1:t in e}const qf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=en(o.key);if(t.some(i=>i===s||qf[i]===s))return e(o)})},Jf=Me({patchProp:Gf},Af);let Mo,Ci=!1;function Qf(){return Mo=Ci?Mo:lf(Jf),Ci=!0,Mo}const Xf=(...e)=>{const t=Qf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ed(r);if(o)return n(o,!0,Zf(o))},t};function Zf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ed(e){return Oe(e)?document.querySelector(e):e}var br=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),td=/.md((\?|#).*)?$/,nd=(e,t="/")=>br(e)||e.startsWith("/")&&!e.startsWith(t)&&!td.test(e),_r=e=>/^(https?:)?\/\//.test(e),Ti=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},rd="http://.",od=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Ti(new URL(`${n}/${e}`,rd).pathname)}return Ti(e)},sd=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},id=/(#|\?)/,La=e=>{const[t,...n]=e.split(id);return{pathname:t,hashAndQueries:n.join("")}},ld=["link","meta","script","style","noscript","template"],ad=["title","base"],cd=([e,t,n])=>ad.includes(e)?e:ld.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,ud=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=cd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},fd=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Ra=e=>e.endsWith("/")?e.slice(0,-1):e,Oa=e=>e.startsWith("/")?e.slice(1):e,_s=e=>Object.prototype.toString.call(e)==="[object Object]",pt=e=>typeof e=="string";const dd="modulepreload",hd=function(e){return"/"+e},Ai={},Vn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(a=>{if(a=hd(a),a in Ai)return;Ai[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":dd,c||(f.as="script"),f.crossOrigin="",f.href=a,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((h,p)=>{f.addEventListener("load",h),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})},pd=JSON.parse("{}"),md=Object.fromEntries([["/commands.html",{loader:()=>Vn(()=>import("./commands.html-CrIc-G18.js"),[]),meta:{title:"命令列表"}}],["/get-started.html",{loader:()=>Vn(()=>import("./get-started.html-BY0aDi3A.js"),[]),meta:{title:"配置教程"}}],["/lua.html",{loader:()=>Vn(()=>import("./lua.html-C0_eUbqL.js"),[]),meta:{title:"CMLeonOS Lua API 文档"}}],["/",{loader:()=>Vn(()=>import("./index.html-BA3Blunq.js"),[]),meta:{title:"主页"}}],["/404.html",{loader:()=>Vn(()=>import("./404.html-BOGHr6mK.js"),[]),meta:{title:""}}]]);/*! +**/let Xo;const ai=typeof window<"u"&&window.trustedTypes;if(ai)try{Xo=ai.createPolicy("vue",{createHTML:e=>e})}catch{}const Ta=Xo?e=>Xo.createHTML(e):e=>e,Cf="http://www.w3.org/2000/svg",Tf="http://www.w3.org/1998/Math/MathML",Rt=typeof document<"u"?document:null,ci=Rt&&Rt.createElement("template"),Af={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Rt.createElementNS(Cf,e):t==="mathml"?Rt.createElementNS(Tf,e):n?Rt.createElement(e,{is:n}):Rt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Rt.createTextNode(e),createComment:e=>Rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ci.innerHTML=Ta(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ci.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zt="transition",Bn="animation",lr=Symbol("_vtc"),Aa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},xf=Me({},ql,Aa),Lf=e=>(e.displayName="Transition",e.props=xf,e),bs=Lf((e,{slots:t})=>Q(_u,Rf(e),t)),rn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},ui=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function Rf(e){const t={};for(const E in e)E in Aa||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=Of(o),_=v&&v[0],S=v&&v[1],{onBeforeEnter:C,onEnter:T,onEnterCancelled:g,onLeave:b,onLeaveCancelled:H,onBeforeAppear:J=C,onAppear:$=T,onAppearCancelled:w=g}=t,R=(E,M,D,j)=>{E._enterCancelled=j,on(E,M?u:l),on(E,M?c:i),D&&D()},k=(E,M)=>{E._isLeaving=!1,on(E,f),on(E,p),on(E,h),M&&M()},z=E=>(M,D)=>{const j=E?$:T,L=()=>R(M,E,D);rn(j,[M,L]),fi(()=>{on(M,E?a:s),Tt(M,E?u:l),ui(j)||di(M,r,_,L)})};return Me(t,{onBeforeEnter(E){rn(C,[E]),Tt(E,s),Tt(E,i)},onBeforeAppear(E){rn(J,[E]),Tt(E,a),Tt(E,c)},onEnter:z(!1),onAppear:z(!0),onLeave(E,M){E._isLeaving=!0;const D=()=>k(E,M);Tt(E,f),E._enterCancelled?(Tt(E,h),mi(E)):(mi(E),Tt(E,h)),fi(()=>{E._isLeaving&&(on(E,f),Tt(E,p),ui(b)||di(E,r,S,D))}),rn(b,[E,D])},onEnterCancelled(E){R(E,!1,void 0,!0),rn(g,[E])},onAppearCancelled(E){R(E,!0,void 0,!0),rn(w,[E])},onLeaveCancelled(E){k(E),rn(H,[E])}})}function Of(e){if(e==null)return null;if(Ee(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return Cc(e)}function Tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[lr]||(e[lr]=new Set)).add(t)}function on(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[lr];n&&(n.delete(t),n.size||(e[lr]=void 0))}function fi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pf=0;function di(e,t,n,r){const o=e._endId=++Pf,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=If(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,h),s()},h=p=>{p.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[v]||"").split(", "),o=r(`${zt}Delay`),s=r(`${zt}Duration`),i=hi(o,s),l=r(`${Bn}Delay`),a=r(`${Bn}Duration`),c=hi(l,a);let u=null,f=0,h=0;t===zt?i>0&&(u=zt,f=i,h=s.length):t===Bn?c>0&&(u=Bn,f=c,h=a.length):(f=Math.max(i,c),u=f>0?i>c?zt:Bn:null,h=u?u===zt?s.length:a.length:0);const p=u===zt&&/\b(?:transform|all)(?:,|$)/.test(r(`${zt}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:p}}function hi(e,t){for(;e.lengthpi(n)+pi(e[r])))}function pi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function mi(e){return(e?e.ownerDocument:document).body.offsetHeight}function kf(e,t,n){const r=e[lr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zr=Symbol("_vod"),xa=Symbol("_vsh"),eo={name:"show",beforeMount(e,{value:t},{transition:n}){e[Zr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):jn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),jn(e,!0),r.enter(e)):r.leave(e,()=>{jn(e,!1)}):jn(e,t))},beforeUnmount(e,{value:t}){jn(e,t)}};function jn(e,t){e.style.display=t?e[Zr]:"none",e[xa]=!t}const Nf=Symbol(""),Mf=/(?:^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=Oe(n);let s=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Br(r,l,"")}else for(const i in t)n[i]==null&&Br(r,i,"");for(const i in n)i==="display"&&(s=!0),Br(r,i,n[i])}else if(o){if(t!==n){const i=r[Nf];i&&(n+=";"+i),r.cssText=n,s=Mf.test(n)}}else t&&e.removeAttribute("style");Zr in e&&(e[Zr]=s?r.display:"",e[xa]&&(r.display="none"))}const gi=/\s*!important$/;function Br(e,t,n){if(re(n))n.forEach(r=>Br(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$f(e,t);gi.test(n)?e.setProperty(en(r),n.replace(gi,""),"important"):e[r]=n}}const vi=["Webkit","Moz","ms"],ko={};function $f(e,t){const n=ko[t];if(n)return n;let r=tt(t);if(r!=="filter"&&r in e)return ko[t]=r;r=dr(r);for(let o=0;oNo||(Vf.then(()=>No=0),No=Date.now());function Uf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gt(Wf(r,n.value),t,5,[r])};return n.value=e,n.attached=zf(),n}function Wf(e,t){if(re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gf=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?kf(e,r,i):t==="style"?Df(e,n,r):fr(t)?is(t)||Bf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kf(e,t,r,i))?(yi(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&_i(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?yi(e,tt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),_i(e,t,r,i))};function Kf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&wi(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return wi(t)&&Oe(n)?!1:t in e}const qf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=en(o.key);if(t.some(i=>i===s||qf[i]===s))return e(o)})},Jf=Me({patchProp:Gf},Af);let Mo,Ci=!1;function Qf(){return Mo=Ci?Mo:lf(Jf),Ci=!0,Mo}const Xf=(...e)=>{const t=Qf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ed(r);if(o)return n(o,!0,Zf(o))},t};function Zf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ed(e){return Oe(e)?document.querySelector(e):e}var br=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),td=/.md((\?|#).*)?$/,nd=(e,t="/")=>br(e)||e.startsWith("/")&&!e.startsWith(t)&&!td.test(e),_r=e=>/^(https?:)?\/\//.test(e),Ti=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},rd="http://.",od=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Ti(new URL(`${n}/${e}`,rd).pathname)}return Ti(e)},sd=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},id=/(#|\?)/,La=e=>{const[t,...n]=e.split(id);return{pathname:t,hashAndQueries:n.join("")}},ld=["link","meta","script","style","noscript","template"],ad=["title","base"],cd=([e,t,n])=>ad.includes(e)?e:ld.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,ud=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=cd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},fd=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Ra=e=>e.endsWith("/")?e.slice(0,-1):e,Oa=e=>e.startsWith("/")?e.slice(1):e,_s=e=>Object.prototype.toString.call(e)==="[object Object]",pt=e=>typeof e=="string";const dd="modulepreload",hd=function(e){return"/"+e},Ai={},Vn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(a=>{if(a=hd(a),a in Ai)return;Ai[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":dd,c||(f.as="script"),f.crossOrigin="",f.href=a,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((h,p)=>{f.addEventListener("load",h),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})},pd=JSON.parse("{}"),md=Object.fromEntries([["/commands.html",{loader:()=>Vn(()=>import("./commands.html-DsR2axk8.js"),[]),meta:{title:"命令列表"}}],["/get-started.html",{loader:()=>Vn(()=>import("./get-started.html-CfHiKCXZ.js"),[]),meta:{title:"配置教程"}}],["/lua.html",{loader:()=>Vn(()=>import("./lua.html-3_L4TJjQ.js"),[]),meta:{title:"CMLeonOS Lua API 文档"}}],["/",{loader:()=>Vn(()=>import("./index.html-BMbDjf_W.js"),[]),meta:{title:"主页"}}],["/404.html",{loader:()=>Vn(()=>import("./404.html-ByTdGTSm.js"),[]),meta:{title:""}}]]);/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT diff --git a/docs/cmleonos/docs/.vuepress/dist/assets/commands.html-CrIc-G18.js b/docs/cmleonos/docs/.vuepress/dist/assets/commands.html-DsR2axk8.js similarity index 91% rename from docs/cmleonos/docs/.vuepress/dist/assets/commands.html-CrIc-G18.js rename to docs/cmleonos/docs/.vuepress/dist/assets/commands.html-DsR2axk8.js index f3e7ae3..bab72f2 100644 --- a/docs/cmleonos/docs/.vuepress/dist/assets/commands.html-CrIc-G18.js +++ b/docs/cmleonos/docs/.vuepress/dist/assets/commands.html-DsR2axk8.js @@ -1,4 +1,4 @@ -import{_ as e,c as n,a,o as l}from"./app-C5LI_5xh.js";const i={};function r(t,s){return l(),n("div",null,[...s[0]||(s[0]=[a(`

命令列表

CMLeonOS 提供了丰富的命令行工具,以下是所有可用命令的详细说明。

系统命令

echo

输出文本到控制台。

用法:

echo <text>
+import{_ as e,c as n,a,o as l}from"./app-C1vKFkGc.js";const i={};function r(t,s){return l(),n("div",null,[...s[0]||(s[0]=[a(`

命令列表

CMLeonOS 提供了丰富的命令行工具,以下是所有可用命令的详细说明。

系统命令

echo

输出文本到控制台。

用法:

echo <text>
 

示例:

echo Hello World
 

clear / cls

清空控制台屏幕。

用法:

clear
 # 或
@@ -104,7 +104,17 @@ import{_ as e,c as n,a,o as l}from"./app-C5LI_5xh.js";const i={};function r(t,s)
 base64 decode <text>    # 解码
 

示例:

base64 encode "Hello World"
 base64 decode "SGVsbG8gV29ybGQ="
-

alias

创建命令别名。

用法:

alias                      # 列出所有别名
+

matrix

显示黑客帝国矩阵效果。

用法:

matrix
+

说明:

  • 显示《黑客帝国》风格的矩阵雨效果
  • 绿色字符在黑色背景上显示
  • 随机字符和下落速度
  • 按 ESC 或 Q 键退出

app

应用程序管理器。

用法:

app list              # 列出所有可用应用
+app install <name>    # 安装应用
+app uninstall <name>  # 卸载应用
+app installed         # 列出已安装应用
+app help             # 显示帮助信息
+

示例:

app list
+app install helloworld.lua
+app uninstall helloworld.lua
+app installed
+

说明:

  • 应用存储在嵌入资源中
  • 安装的应用保存在 0:\\apps 目录
  • 安装的应用可以使用 lua 命令运行

alias

创建命令别名。

用法:

alias                      # 列出所有别名
 alias <name> <command>     # 创建新别名
 

示例:

alias ll 'ls -l'
 alias home 'cd /home'
@@ -140,4 +150,4 @@ import{_ as e,c as n,a,o as l}from"./app-C5LI_5xh.js";const i={};function r(t,s)
 

示例:

env
 env PATH
 env MYVAR hello
-

注意事项

  1. 所有命令不区分大小写
  2. 使用 help 命令可以查看所有可用命令
  3. 使用 help <command> 可以查看特定命令的详细帮助
  4. 文件路径使用反斜杠 \\ 或正斜杠 / 均可
  5. 支持相对路径和绝对路径
`,366)])])}const d=e(i,[["render",r]]),c=JSON.parse('{"path":"/commands.html","title":"命令列表","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"系统命令","slug":"系统命令","link":"#系统命令","children":[{"level":3,"title":"echo","slug":"echo","link":"#echo","children":[]},{"level":3,"title":"clear / cls","slug":"clear-cls","link":"#clear-cls","children":[]},{"level":3,"title":"time","slug":"time","link":"#time","children":[]},{"level":3,"title":"date","slug":"date","link":"#date","children":[]},{"level":3,"title":"uptime","slug":"uptime","link":"#uptime","children":[]},{"level":3,"title":"whoami","slug":"whoami","link":"#whoami","children":[]},{"level":3,"title":"sleep","slug":"sleep","link":"#sleep","children":[]}]},{"level":2,"title":"文件系统命令","slug":"文件系统命令","link":"#文件系统命令","children":[{"level":3,"title":"ls","slug":"ls","link":"#ls","children":[]},{"level":3,"title":"cd","slug":"cd","link":"#cd","children":[]},{"level":3,"title":"pwd","slug":"pwd","link":"#pwd","children":[]},{"level":3,"title":"mkdir","slug":"mkdir","link":"#mkdir","children":[]},{"level":3,"title":"rm","slug":"rm","link":"#rm","children":[]},{"level":3,"title":"rmdir","slug":"rmdir","link":"#rmdir","children":[]},{"level":3,"title":"cat","slug":"cat","link":"#cat","children":[]},{"level":3,"title":"touch","slug":"touch","link":"#touch","children":[]},{"level":3,"title":"cp","slug":"cp","link":"#cp","children":[]},{"level":3,"title":"mv","slug":"mv","link":"#mv","children":[]},{"level":3,"title":"rename","slug":"rename","link":"#rename","children":[]},{"level":3,"title":"find","slug":"find","link":"#find","children":[]},{"level":3,"title":"tree","slug":"tree","link":"#tree","children":[]},{"level":3,"title":"head","slug":"head","link":"#head","children":[]},{"level":3,"title":"tail","slug":"tail","link":"#tail","children":[]},{"level":3,"title":"wc","slug":"wc","link":"#wc","children":[]},{"level":3,"title":"grep","slug":"grep","link":"#grep","children":[]},{"level":3,"title":"getdisk","slug":"getdisk","link":"#getdisk","children":[]}]},{"level":2,"title":"编辑器命令","slug":"编辑器命令","link":"#编辑器命令","children":[{"level":3,"title":"edit","slug":"edit","link":"#edit","children":[]},{"level":3,"title":"nano","slug":"nano","link":"#nano","children":[]}]},{"level":2,"title":"用户管理命令","slug":"用户管理命令","link":"#用户管理命令","children":[{"level":3,"title":"user","slug":"user","link":"#user","children":[]},{"level":3,"title":"cpass","slug":"cpass","link":"#cpass","children":[]},{"level":3,"title":"hostname","slug":"hostname","link":"#hostname","children":[]}]},{"level":2,"title":"网络命令","slug":"网络命令","link":"#网络命令","children":[{"level":3,"title":"ipconfig","slug":"ipconfig","link":"#ipconfig","children":[]},{"level":3,"title":"setdns","slug":"setdns","link":"#setdns","children":[]},{"level":3,"title":"setgateway","slug":"setgateway","link":"#setgateway","children":[]},{"level":3,"title":"nslookup","slug":"nslookup","link":"#nslookup","children":[]},{"level":3,"title":"ping","slug":"ping","link":"#ping","children":[]},{"level":3,"title":"wget","slug":"wget","link":"#wget","children":[]},{"level":3,"title":"ftp","slug":"ftp","link":"#ftp","children":[]},{"level":3,"title":"tcpserver","slug":"tcpserver","link":"#tcpserver","children":[]},{"level":3,"title":"tcpclient","slug":"tcpclient","link":"#tcpclient","children":[]}]},{"level":2,"title":"脚本命令","slug":"脚本命令","link":"#脚本命令","children":[{"level":3,"title":"lua","slug":"lua","link":"#lua","children":[]},{"level":3,"title":"com","slug":"com","link":"#com","children":[]},{"level":3,"title":"branswe","slug":"branswe","link":"#branswe","children":[]}]},{"level":2,"title":"实用工具命令","slug":"实用工具命令","link":"#实用工具命令","children":[{"level":3,"title":"calc","slug":"calc","link":"#calc","children":[]},{"level":3,"title":"history","slug":"history","link":"#history","children":[]},{"level":3,"title":"prompt","slug":"prompt","link":"#prompt","children":[]},{"level":3,"title":"background","slug":"background","link":"#background","children":[]},{"level":3,"title":"beep","slug":"beep","link":"#beep","children":[]},{"level":3,"title":"cal","slug":"cal","link":"#cal","children":[]},{"level":3,"title":"base64","slug":"base64","link":"#base64","children":[]},{"level":3,"title":"alias","slug":"alias","link":"#alias","children":[]},{"level":3,"title":"unalias","slug":"unalias","link":"#unalias","children":[]}]},{"level":2,"title":"系统信息命令","slug":"系统信息命令","link":"#系统信息命令","children":[{"level":3,"title":"version","slug":"version","link":"#version","children":[]},{"level":3,"title":"settings","slug":"settings","link":"#settings","children":[]},{"level":3,"title":"about","slug":"about","link":"#about","children":[]},{"level":3,"title":"help","slug":"help","link":"#help","children":[]}]},{"level":2,"title":"系统控制命令","slug":"系统控制命令","link":"#系统控制命令","children":[{"level":3,"title":"restart","slug":"restart","link":"#restart","children":[]},{"level":3,"title":"shutdown","slug":"shutdown","link":"#shutdown","children":[]}]},{"level":2,"title":"备份与恢复命令","slug":"备份与恢复命令","link":"#备份与恢复命令","children":[{"level":3,"title":"backup","slug":"backup","link":"#backup","children":[]},{"level":3,"title":"restore","slug":"restore","link":"#restore","children":[]}]},{"level":2,"title":"测试命令","slug":"测试命令","link":"#测试命令","children":[{"level":3,"title":"cuitest","slug":"cuitest","link":"#cuitest","children":[]},{"level":3,"title":"testgui","slug":"testgui","link":"#testgui","children":[]},{"level":3,"title":"labyrinth","slug":"labyrinth","link":"#labyrinth","children":[]},{"level":3,"title":"diff","slug":"diff","link":"#diff","children":[]}]},{"level":2,"title":"环境变量命令","slug":"环境变量命令","link":"#环境变量命令","children":[{"level":3,"title":"env","slug":"env","link":"#env","children":[]}]},{"level":2,"title":"注意事项","slug":"注意事项","link":"#注意事项","children":[]}],"git":{"updatedTime":1770370212000,"contributors":[{"name":"Leonmmcoset","username":"Leonmmcoset","email":"testmod@qq.com","commits":3,"url":"https://github.com/Leonmmcoset"}],"changelog":[{"hash":"361931c091130e507b2c98379ff0a45609505257","time":1770370212000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"update"},{"hash":"b715d32556869be728358d6f42c0062b5abb8318","time":1770365910000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"文档"},{"hash":"4384578fdb936483c76ffe61512a6530b54cf9ce","time":1770300033000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"update"}]},"filePathRelative":"commands.md"}');export{d as comp,c as data}; +

注意事项

  1. 所有命令不区分大小写
  2. 使用 help 命令可以查看所有可用命令
  3. 使用 help <command> 可以查看特定命令的详细帮助
  4. 文件路径使用反斜杠 \\ 或正斜杠 / 均可
  5. 支持相对路径和绝对路径
`,380)])])}const d=e(i,[["render",r]]),c=JSON.parse('{"path":"/commands.html","title":"命令列表","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"系统命令","slug":"系统命令","link":"#系统命令","children":[{"level":3,"title":"echo","slug":"echo","link":"#echo","children":[]},{"level":3,"title":"clear / cls","slug":"clear-cls","link":"#clear-cls","children":[]},{"level":3,"title":"time","slug":"time","link":"#time","children":[]},{"level":3,"title":"date","slug":"date","link":"#date","children":[]},{"level":3,"title":"uptime","slug":"uptime","link":"#uptime","children":[]},{"level":3,"title":"whoami","slug":"whoami","link":"#whoami","children":[]},{"level":3,"title":"sleep","slug":"sleep","link":"#sleep","children":[]}]},{"level":2,"title":"文件系统命令","slug":"文件系统命令","link":"#文件系统命令","children":[{"level":3,"title":"ls","slug":"ls","link":"#ls","children":[]},{"level":3,"title":"cd","slug":"cd","link":"#cd","children":[]},{"level":3,"title":"pwd","slug":"pwd","link":"#pwd","children":[]},{"level":3,"title":"mkdir","slug":"mkdir","link":"#mkdir","children":[]},{"level":3,"title":"rm","slug":"rm","link":"#rm","children":[]},{"level":3,"title":"rmdir","slug":"rmdir","link":"#rmdir","children":[]},{"level":3,"title":"cat","slug":"cat","link":"#cat","children":[]},{"level":3,"title":"touch","slug":"touch","link":"#touch","children":[]},{"level":3,"title":"cp","slug":"cp","link":"#cp","children":[]},{"level":3,"title":"mv","slug":"mv","link":"#mv","children":[]},{"level":3,"title":"rename","slug":"rename","link":"#rename","children":[]},{"level":3,"title":"find","slug":"find","link":"#find","children":[]},{"level":3,"title":"tree","slug":"tree","link":"#tree","children":[]},{"level":3,"title":"head","slug":"head","link":"#head","children":[]},{"level":3,"title":"tail","slug":"tail","link":"#tail","children":[]},{"level":3,"title":"wc","slug":"wc","link":"#wc","children":[]},{"level":3,"title":"grep","slug":"grep","link":"#grep","children":[]},{"level":3,"title":"getdisk","slug":"getdisk","link":"#getdisk","children":[]}]},{"level":2,"title":"编辑器命令","slug":"编辑器命令","link":"#编辑器命令","children":[{"level":3,"title":"edit","slug":"edit","link":"#edit","children":[]},{"level":3,"title":"nano","slug":"nano","link":"#nano","children":[]}]},{"level":2,"title":"用户管理命令","slug":"用户管理命令","link":"#用户管理命令","children":[{"level":3,"title":"user","slug":"user","link":"#user","children":[]},{"level":3,"title":"cpass","slug":"cpass","link":"#cpass","children":[]},{"level":3,"title":"hostname","slug":"hostname","link":"#hostname","children":[]}]},{"level":2,"title":"网络命令","slug":"网络命令","link":"#网络命令","children":[{"level":3,"title":"ipconfig","slug":"ipconfig","link":"#ipconfig","children":[]},{"level":3,"title":"setdns","slug":"setdns","link":"#setdns","children":[]},{"level":3,"title":"setgateway","slug":"setgateway","link":"#setgateway","children":[]},{"level":3,"title":"nslookup","slug":"nslookup","link":"#nslookup","children":[]},{"level":3,"title":"ping","slug":"ping","link":"#ping","children":[]},{"level":3,"title":"wget","slug":"wget","link":"#wget","children":[]},{"level":3,"title":"ftp","slug":"ftp","link":"#ftp","children":[]},{"level":3,"title":"tcpserver","slug":"tcpserver","link":"#tcpserver","children":[]},{"level":3,"title":"tcpclient","slug":"tcpclient","link":"#tcpclient","children":[]}]},{"level":2,"title":"脚本命令","slug":"脚本命令","link":"#脚本命令","children":[{"level":3,"title":"lua","slug":"lua","link":"#lua","children":[]},{"level":3,"title":"com","slug":"com","link":"#com","children":[]},{"level":3,"title":"branswe","slug":"branswe","link":"#branswe","children":[]}]},{"level":2,"title":"实用工具命令","slug":"实用工具命令","link":"#实用工具命令","children":[{"level":3,"title":"calc","slug":"calc","link":"#calc","children":[]},{"level":3,"title":"history","slug":"history","link":"#history","children":[]},{"level":3,"title":"prompt","slug":"prompt","link":"#prompt","children":[]},{"level":3,"title":"background","slug":"background","link":"#background","children":[]},{"level":3,"title":"beep","slug":"beep","link":"#beep","children":[]},{"level":3,"title":"cal","slug":"cal","link":"#cal","children":[]},{"level":3,"title":"base64","slug":"base64","link":"#base64","children":[]},{"level":3,"title":"matrix","slug":"matrix","link":"#matrix","children":[]},{"level":3,"title":"app","slug":"app","link":"#app","children":[]},{"level":3,"title":"alias","slug":"alias","link":"#alias","children":[]},{"level":3,"title":"unalias","slug":"unalias","link":"#unalias","children":[]}]},{"level":2,"title":"系统信息命令","slug":"系统信息命令","link":"#系统信息命令","children":[{"level":3,"title":"version","slug":"version","link":"#version","children":[]},{"level":3,"title":"settings","slug":"settings","link":"#settings","children":[]},{"level":3,"title":"about","slug":"about","link":"#about","children":[]},{"level":3,"title":"help","slug":"help","link":"#help","children":[]}]},{"level":2,"title":"系统控制命令","slug":"系统控制命令","link":"#系统控制命令","children":[{"level":3,"title":"restart","slug":"restart","link":"#restart","children":[]},{"level":3,"title":"shutdown","slug":"shutdown","link":"#shutdown","children":[]}]},{"level":2,"title":"备份与恢复命令","slug":"备份与恢复命令","link":"#备份与恢复命令","children":[{"level":3,"title":"backup","slug":"backup","link":"#backup","children":[]},{"level":3,"title":"restore","slug":"restore","link":"#restore","children":[]}]},{"level":2,"title":"测试命令","slug":"测试命令","link":"#测试命令","children":[{"level":3,"title":"cuitest","slug":"cuitest","link":"#cuitest","children":[]},{"level":3,"title":"testgui","slug":"testgui","link":"#testgui","children":[]},{"level":3,"title":"labyrinth","slug":"labyrinth","link":"#labyrinth","children":[]},{"level":3,"title":"diff","slug":"diff","link":"#diff","children":[]}]},{"level":2,"title":"环境变量命令","slug":"环境变量命令","link":"#环境变量命令","children":[{"level":3,"title":"env","slug":"env","link":"#env","children":[]}]},{"level":2,"title":"注意事项","slug":"注意事项","link":"#注意事项","children":[]}],"git":{"updatedTime":1770370212000,"contributors":[{"name":"Leonmmcoset","username":"Leonmmcoset","email":"testmod@qq.com","commits":3,"url":"https://github.com/Leonmmcoset"}],"changelog":[{"hash":"361931c091130e507b2c98379ff0a45609505257","time":1770370212000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"update"},{"hash":"b715d32556869be728358d6f42c0062b5abb8318","time":1770365910000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"文档"},{"hash":"4384578fdb936483c76ffe61512a6530b54cf9ce","time":1770300033000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"update"}]},"filePathRelative":"commands.md"}');export{d as comp,c as data}; diff --git a/docs/cmleonos/docs/.vuepress/dist/assets/get-started.html-BY0aDi3A.js b/docs/cmleonos/docs/.vuepress/dist/assets/get-started.html-CfHiKCXZ.js similarity index 71% rename from docs/cmleonos/docs/.vuepress/dist/assets/get-started.html-BY0aDi3A.js rename to docs/cmleonos/docs/.vuepress/dist/assets/get-started.html-CfHiKCXZ.js index 5774c86..8a51a62 100644 --- a/docs/cmleonos/docs/.vuepress/dist/assets/get-started.html-BY0aDi3A.js +++ b/docs/cmleonos/docs/.vuepress/dist/assets/get-started.html-CfHiKCXZ.js @@ -1 +1 @@ -import{_ as t,c as a,a as l,o as s}from"./app-C5LI_5xh.js";const n={};function o(i,e){return s(),a("div",null,[...e[0]||(e[0]=[l('

配置教程

准备工作

首先,准备一台实体机/虚拟机,确保这台机器等于或大于以下配置:

  • 处理器:一核以上
  • 内存:512MB以上
  • 硬盘:512MB以上
  • 一个键盘
  • 一个蜂鸣器或音频输出设备
  • 建议装上AMD驱动的网卡(Intel驱动的网卡似乎无法运行)

配置硬盘

注:在准备发布的 1.0.0 PreRelease 2 版本中,不需要再执行这一步骤。 系统会在启动时自动检测硬盘是否格式化,如果未格式化,会提示用户并自动格式化硬盘。

使用PE或其它工具格式化硬盘(注意只分一个区,文件系统选择FAT32)

安装CMLeonOS

将CMLeonOS的ISO文件挂载到虚拟机或实体机上,启动后按照提示进行 First time setup。

在 First time setup 中,系统会让你配置用户名、密码、主机名,配置完后会进行重启,重启之后正常登陆系统,然后就可以开始使用CMLeonOS了。

',10)])])}const r=t(n,[["render",o]]),m=JSON.parse('{"path":"/get-started.html","title":"配置教程","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"准备工作","slug":"准备工作","link":"#准备工作","children":[]},{"level":2,"title":"配置硬盘","slug":"配置硬盘","link":"#配置硬盘","children":[]},{"level":2,"title":"安装CMLeonOS","slug":"安装cmleonos","link":"#安装cmleonos","children":[]}],"git":{"updatedTime":1770190333000,"contributors":[{"name":"Leonmmcoset","username":"Leonmmcoset","email":"testmod@qq.com","commits":1,"url":"https://github.com/Leonmmcoset"}],"changelog":[{"hash":"33510365f48beba3a56b2dc6afd4c54b1fbdab60","time":1770190333000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"docs&Lua input()"}]},"filePathRelative":"get-started.md"}');export{r as comp,m as data}; +import{_ as t,c as a,a as s,o as l}from"./app-C1vKFkGc.js";const o={};function n(i,e){return l(),a("div",null,[...e[0]||(e[0]=[s('

配置教程

准备工作

首先,准备一台实体机/虚拟机,确保这台机器等于或大于以下配置:

  • 处理器:一核以上
  • 内存:512MB以上
  • 硬盘:512MB以上
  • 一个键盘
  • 一个蜂鸣器或音频输出设备
  • 建议装上AMD驱动的网卡(Intel驱动的网卡似乎无法运行)

配置硬盘

注:在准备发布的 1.0.0 PreRelease 2 版本中,不需要再执行这一步骤。 系统会在启动时自动检测硬盘是否格式化,如果未格式化,会提示用户并自动格式化硬盘。

使用PE或其它工具格式化硬盘(注意只分一个区,文件系统选择FAT32)

安装CMLeonOS

将CMLeonOS的ISO文件挂载到虚拟机或实体机上,启动后按照提示进行 First time setup。

在 First time setup 中,系统会让你配置用户名、密码、主机名,配置完后会进行重启,重启之后正常登陆系统,然后就可以开始使用CMLeonOS了。

',10)])])}const m=t(o,[["render",n]]),r=JSON.parse('{"path":"/get-started.html","title":"配置教程","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"准备工作","slug":"准备工作","link":"#准备工作","children":[]},{"level":2,"title":"配置硬盘","slug":"配置硬盘","link":"#配置硬盘","children":[]},{"level":2,"title":"安装CMLeonOS","slug":"安装cmleonos","link":"#安装cmleonos","children":[]}],"git":{"updatedTime":1770548716000,"contributors":[{"name":"Leonmmcoset","username":"Leonmmcoset","email":"testmod@qq.com","commits":2,"url":"https://github.com/Leonmmcoset"}],"changelog":[{"hash":"ce90efeb3e81e83c7cfb468685933c2eabadf789","time":1770548716000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"文档更新"},{"hash":"33510365f48beba3a56b2dc6afd4c54b1fbdab60","time":1770190333000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"docs&Lua input()"}]},"filePathRelative":"get-started.md"}');export{m as comp,r as data}; diff --git a/docs/cmleonos/docs/.vuepress/dist/assets/index.html-BA3Blunq.js b/docs/cmleonos/docs/.vuepress/dist/assets/index.html-BMbDjf_W.js similarity index 96% rename from docs/cmleonos/docs/.vuepress/dist/assets/index.html-BA3Blunq.js rename to docs/cmleonos/docs/.vuepress/dist/assets/index.html-BMbDjf_W.js index dcb4130..8db2742 100644 --- a/docs/cmleonos/docs/.vuepress/dist/assets/index.html-BA3Blunq.js +++ b/docs/cmleonos/docs/.vuepress/dist/assets/index.html-BMbDjf_W.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./app-C5LI_5xh.js";const o={};function m(s,i){return a(),t("div")}const c=e(o,[["render",m]]),l=JSON.parse('{"path":"/","title":"主页","lang":"zh-CN","frontmatter":{"home":true,"title":"主页","actions":[{"text":"开始配置","link":"/get-started.html","type":"primary"},{"text":"Lua 文档","link":"/lua.html","type":"secondary"},{"text":"命令列表","link":"/commands.html","type":"secondary"}],"features":[{"title":"安全用户系统","details":"用户系统是直接绑定在内核下的,通过 SHA-256 密码哈希算法对用户密码进行加密存储,确保用户密码的安全性。"},{"title":"Lua 脚本支持","details":"CMLeonOS支持 Lua 脚本,用户可以通过 Lua 脚本实现自定义功能。"},{"title":"网络","details":"CMLeonOS支持 TCP/IP 协议栈,用户可以通过网络连接到其他设备。"},{"title":"FTP 服务器","details":"CMLeonOS支持 FTP 服务器,用户可以通过 FTP 协议上传下载文件。"},{"title":"内置编辑器","details":"CMLeonOS支持内置编辑器,用户可以直接在CMLeonOS中编辑文件。"},{"title":"硬盘存储","details":"CMLeonOS支持硬盘存储,用户可以将文件持久存储在硬盘中。"},{"title":"命令别名","details":"CMLeonOS支持命令别名功能,用户可以创建自定义命令快捷方式。"}]},"headers":[],"git":{"updatedTime":1770300033000,"contributors":[{"name":"Leonmmcoset","username":"Leonmmcoset","email":"testmod@qq.com","commits":2,"url":"https://github.com/Leonmmcoset"}],"changelog":[{"hash":"4384578fdb936483c76ffe61512a6530b54cf9ce","time":1770300033000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"update"},{"hash":"33510365f48beba3a56b2dc6afd4c54b1fbdab60","time":1770190333000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"docs&Lua input()"}]},"filePathRelative":"README.md"}');export{c as comp,l as data}; +import{_ as e,c as t,o as a}from"./app-C1vKFkGc.js";const o={};function m(s,i){return a(),t("div")}const c=e(o,[["render",m]]),l=JSON.parse('{"path":"/","title":"主页","lang":"zh-CN","frontmatter":{"home":true,"title":"主页","actions":[{"text":"开始配置","link":"/get-started.html","type":"primary"},{"text":"Lua 文档","link":"/lua.html","type":"secondary"},{"text":"命令列表","link":"/commands.html","type":"secondary"}],"features":[{"title":"安全用户系统","details":"用户系统是直接绑定在内核下的,通过 SHA-256 密码哈希算法对用户密码进行加密存储,确保用户密码的安全性。"},{"title":"Lua 脚本支持","details":"CMLeonOS支持 Lua 脚本,用户可以通过 Lua 脚本实现自定义功能。"},{"title":"网络","details":"CMLeonOS支持 TCP/IP 协议栈,用户可以通过网络连接到其他设备。"},{"title":"FTP 服务器","details":"CMLeonOS支持 FTP 服务器,用户可以通过 FTP 协议上传下载文件。"},{"title":"内置编辑器","details":"CMLeonOS支持内置编辑器,用户可以直接在CMLeonOS中编辑文件。"},{"title":"硬盘存储","details":"CMLeonOS支持硬盘存储,用户可以将文件持久存储在硬盘中。"},{"title":"命令别名","details":"CMLeonOS支持命令别名功能,用户可以创建自定义命令快捷方式。"}]},"headers":[],"git":{"updatedTime":1770300033000,"contributors":[{"name":"Leonmmcoset","username":"Leonmmcoset","email":"testmod@qq.com","commits":2,"url":"https://github.com/Leonmmcoset"}],"changelog":[{"hash":"4384578fdb936483c76ffe61512a6530b54cf9ce","time":1770300033000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"update"},{"hash":"33510365f48beba3a56b2dc6afd4c54b1fbdab60","time":1770190333000,"email":"testmod@qq.com","author":"Leonmmcoset","message":"docs&Lua input()"}]},"filePathRelative":"README.md"}');export{c as comp,l as data}; diff --git a/docs/cmleonos/docs/.vuepress/dist/assets/lua.html-C0_eUbqL.js b/docs/cmleonos/docs/.vuepress/dist/assets/lua.html-3_L4TJjQ.js similarity index 99% rename from docs/cmleonos/docs/.vuepress/dist/assets/lua.html-C0_eUbqL.js rename to docs/cmleonos/docs/.vuepress/dist/assets/lua.html-3_L4TJjQ.js index 0c40de5..5f080d6 100644 --- a/docs/cmleonos/docs/.vuepress/dist/assets/lua.html-C0_eUbqL.js +++ b/docs/cmleonos/docs/.vuepress/dist/assets/lua.html-3_L4TJjQ.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,a as e,o as t}from"./app-C5LI_5xh.js";const p={};function l(i,n){return t(),a("div",null,[...n[0]||(n[0]=[e(`

CMLeonOS Lua API 文档

本文档记录了 CMLeonOS 中 Lua 支持的所有函数和库。

基础库 (base)

assert(v [, message])

如果 v 为 false 或 nil,则抛出错误。可选参数 message 为错误信息。

assert(true, "This should be true")
+import{_ as s,c as a,a as e,o as t}from"./app-C1vKFkGc.js";const p={};function l(i,n){return t(),a("div",null,[...n[0]||(n[0]=[e(`

CMLeonOS Lua API 文档

本文档记录了 CMLeonOS 中 Lua 支持的所有函数和库。

基础库 (base)

assert(v [, message])

如果 v 为 false 或 nil,则抛出错误。可选参数 message 为错误信息。

assert(true, "This should be true")
 assert(false, "This is false")
 

collectgarbage([opt])

垃圾回收控制。支持以下选项:

  • "collect" - 执行垃圾回收
  • "count" - 返回当前内存使用量(千字节)
  • "step" - 执行一步垃圾回收
  • "isrunning" - 返回垃圾回收器是否在运行
collectgarbage("collect")
 collectgarbage("count")
diff --git a/docs/cmleonos/docs/.vuepress/dist/commands.html b/docs/cmleonos/docs/.vuepress/dist/commands.html
index ad69305..1983504 100644
--- a/docs/cmleonos/docs/.vuepress/dist/commands.html
+++ b/docs/cmleonos/docs/.vuepress/dist/commands.html
@@ -33,8 +33,8 @@
     
     命令列表 | CMLeonOS官方文档站
     
-    
-    
+    
+    
   
   
     
- + diff --git a/docs/cmleonos/docs/.vuepress/dist/get-started.html b/docs/cmleonos/docs/.vuepress/dist/get-started.html index d11d009..88cd115 100644 --- a/docs/cmleonos/docs/.vuepress/dist/get-started.html +++ b/docs/cmleonos/docs/.vuepress/dist/get-started.html @@ -33,11 +33,11 @@ 配置教程 | CMLeonOS官方文档站 - - + + -
- +
+ diff --git a/docs/cmleonos/docs/.vuepress/dist/index.html b/docs/cmleonos/docs/.vuepress/dist/index.html index 5a1bef0..40cdfb6 100644 --- a/docs/cmleonos/docs/.vuepress/dist/index.html +++ b/docs/cmleonos/docs/.vuepress/dist/index.html @@ -33,11 +33,11 @@ 主页 | CMLeonOS官方文档站 - - + +
- + diff --git a/docs/cmleonos/docs/.vuepress/dist/lua.html b/docs/cmleonos/docs/.vuepress/dist/lua.html index b1ba1f8..f93227f 100644 --- a/docs/cmleonos/docs/.vuepress/dist/lua.html +++ b/docs/cmleonos/docs/.vuepress/dist/lua.html @@ -33,8 +33,8 @@ CMLeonOS Lua API 文档 | CMLeonOS官方文档站 - - + +
- + diff --git a/docs/cmleonos/docs/commands.md b/docs/cmleonos/docs/commands.md index aea7105..da3ae94 100644 --- a/docs/cmleonos/docs/commands.md +++ b/docs/cmleonos/docs/commands.md @@ -613,6 +613,45 @@ base64 encode "Hello World" base64 decode "SGVsbG8gV29ybGQ=" ``` +### matrix +显示黑客帝国矩阵效果。 + +**用法:** +```bash +matrix +``` + +**说明:** +- 显示《黑客帝国》风格的矩阵雨效果 +- 绿色字符在黑色背景上显示 +- 随机字符和下落速度 +- 按 ESC 或 Q 键退出 + +### app +应用程序管理器。 + +**用法:** +```bash +app list # 列出所有可用应用 +app install # 安装应用 +app uninstall # 卸载应用 +app installed # 列出已安装应用 +app help # 显示帮助信息 +``` + +**示例:** +```bash +app list +app install helloworld.lua +app uninstall helloworld.lua +app installed +``` + +**说明:** +- 应用存储在嵌入资源中 +- 安装的应用保存在 `0:\apps` 目录 +- 安装的应用可以使用 `lua` 命令运行 + ### alias 创建命令别名。