Kaynağa Gözat

build: localbuild

zhupei 1 yıl önce
ebeveyn
işleme
47c2533d99

+ 1 - 1
dist/assets/Agent-a7f48714.js → dist/assets/Agent-c1b6cee8.js

@@ -1 +1 @@
-import{a3 as t}from"./index-a7f4bb2f.js";function s(a){return t.get("/api/v1/canvas/list",{params:a})}function e(){return t.get("/api/v1/llm/distinct",{})}function n(a){return t.get("/api/v1/conversation/app_usage")}function o(a){return t.post("/api/v1/conversation/app_usage/rm",a)}export{n as a,e as b,o as d,s as q};
+import{a3 as t}from"./index-c77febe7.js";function s(a){return t.get("/api/v1/canvas/list",{params:a})}function e(){return t.get("/api/v1/llm/distinct",{})}function n(a){return t.get("/api/v1/conversation/app_usage")}function o(a){return t.post("/api/v1/conversation/app_usage/rm",a)}export{n as a,e as b,o as d,s as q};

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/Knowledge-3f34fbbb.js


+ 1 - 1
dist/assets/Login-0d61f47e.js → dist/assets/Login-9d01175e.js

@@ -1 +1 @@
-import{_ as g}from"./login-bd96354f.js";import{_ as f,m as w,z as i,A as k,B as v,C as n,D as a,y as V,r as p}from"./index-a7f4bb2f.js";const y=w({components:{},props:[],setup(){const{ajax:o,helper:e}=V("$global"),t=p(""),r=p("");return{login:async()=>{const l=await o.user.login(t.value,r.value);l&&(e.write("userName",l.nickname||l.username),e.write("token",l.access_token),e.goLink("/"))},username:t,password:r,goRegister:()=>{e.goLink("register")}}}});function _(o,e,t,r,u,d){const l=i("a-input"),m=i("a-input-password");return k(),v("main",null,[n("section",null,[e[6]||(e[6]=n("header",null,[n("img",{src:g}),n("p",null,"欢迎使用")],-1)),e[7]||(e[7]=n("p",null,"账号登录",-1)),n("section",null,[e[4]||(e[4]=n("p",null,"账号",-1)),n("div",null,[a(l,{placeholder:"请输入手机号",style:{width:"250px",height:"40px"},modelValue:o.username,"onUpdate:modelValue":e[0]||(e[0]=s=>o.username=s)},null,8,["modelValue"])])]),n("section",null,[e[5]||(e[5]=n("p",null,"密码",-1)),n("div",null,[a(m,{placeholder:"请输入手机号",style:{width:"250px",height:"40px"},modelValue:o.password,"onUpdate:modelValue":e[1]||(e[1]=s=>o.password=s)},null,8,["modelValue"])])]),n("section",null,[n("p",{style:{cursor:"pointer"},onClick:e[2]||(e[2]=(...s)=>o.goRegister&&o.goRegister(...s))},"去注册")]),n("div",{onClick:e[3]||(e[3]=(...s)=>o.login&&o.login(...s))},"登录")])])}const $=f(y,[["render",_],["__scopeId","data-v-aab30f8b"]]);export{$ as default};
+import{_ as g}from"./login-bd96354f.js";import{_ as f,m as w,z as i,A as k,B as v,C as n,D as a,y as V,r as p}from"./index-c77febe7.js";const y=w({components:{},props:[],setup(){const{ajax:o,helper:e}=V("$global"),t=p(""),r=p("");return{login:async()=>{const l=await o.user.login(t.value,r.value);l&&(e.write("userName",l.nickname||l.username),e.write("token",l.access_token),e.goLink("/"))},username:t,password:r,goRegister:()=>{e.goLink("register")}}}});function _(o,e,t,r,u,d){const l=i("a-input"),m=i("a-input-password");return k(),v("main",null,[n("section",null,[e[6]||(e[6]=n("header",null,[n("img",{src:g}),n("p",null,"欢迎使用")],-1)),e[7]||(e[7]=n("p",null,"账号登录",-1)),n("section",null,[e[4]||(e[4]=n("p",null,"账号",-1)),n("div",null,[a(l,{placeholder:"请输入手机号",style:{width:"250px",height:"40px"},modelValue:o.username,"onUpdate:modelValue":e[0]||(e[0]=s=>o.username=s)},null,8,["modelValue"])])]),n("section",null,[e[5]||(e[5]=n("p",null,"密码",-1)),n("div",null,[a(m,{placeholder:"请输入手机号",style:{width:"250px",height:"40px"},modelValue:o.password,"onUpdate:modelValue":e[1]||(e[1]=s=>o.password=s)},null,8,["modelValue"])])]),n("section",null,[n("p",{style:{cursor:"pointer"},onClick:e[2]||(e[2]=(...s)=>o.goRegister&&o.goRegister(...s))},"去注册")]),n("div",{onClick:e[3]||(e[3]=(...s)=>o.login&&o.login(...s))},"登录")])])}const $=f(y,[["render",_],["__scopeId","data-v-aab30f8b"]]);export{$ as default};

+ 1 - 1
dist/assets/Register-4c806d31.js → dist/assets/Register-f5744dc6.js

@@ -1 +1 @@
-import{_ as g}from"./login-bd96354f.js";import{_ as f,m as w,z as p,A as _,B as v,C as s,D as a,y as V,r as u}from"./index-a7f4bb2f.js";const y=w({components:{},props:[],setup(){const{ajax:n,helper:e}=V("$global"),l=u(""),t=u("");return{register:async()=>{const r=await n.user.register(l.value,t.value);r&&(e.write("userName",String(r.username)),e.goLink("/login"))},username:l,password:t}}});function $(n,e,l,t,i,r){const d=p("a-input"),m=p("a-input-password");return _(),v("main",null,[s("section",null,[e[5]||(e[5]=s("header",null,[s("img",{src:g}),s("p",null,"欢迎使用")],-1)),e[6]||(e[6]=s("p",null,"账号注册",-1)),s("section",null,[e[3]||(e[3]=s("p",null,"账号",-1)),s("div",null,[a(d,{placeholder:"请输入账号",style:{width:"250px",height:"40px"},modelValue:n.username,"onUpdate:modelValue":e[0]||(e[0]=o=>n.username=o)},null,8,["modelValue"])])]),s("section",null,[e[4]||(e[4]=s("p",null,"密码",-1)),s("div",null,[a(m,{type:"password",placeholder:"请输入密码",style:{width:"250px",height:"40px"},modelValue:n.password,"onUpdate:modelValue":e[1]||(e[1]=o=>n.password=o)},null,8,["modelValue"])])]),s("div",{onClick:e[2]||(e[2]=(...o)=>n.register&&n.register(...o))},"注册")])])}const B=f(y,[["render",$],["__scopeId","data-v-266cfe52"]]);export{B as default};
+import{_ as g}from"./login-bd96354f.js";import{_ as f,m as w,z as p,A as _,B as v,C as s,D as a,y as V,r as u}from"./index-c77febe7.js";const y=w({components:{},props:[],setup(){const{ajax:n,helper:e}=V("$global"),l=u(""),t=u("");return{register:async()=>{const r=await n.user.register(l.value,t.value);r&&(e.write("userName",String(r.username)),e.goLink("/login"))},username:l,password:t}}});function $(n,e,l,t,i,r){const d=p("a-input"),m=p("a-input-password");return _(),v("main",null,[s("section",null,[e[5]||(e[5]=s("header",null,[s("img",{src:g}),s("p",null,"欢迎使用")],-1)),e[6]||(e[6]=s("p",null,"账号注册",-1)),s("section",null,[e[3]||(e[3]=s("p",null,"账号",-1)),s("div",null,[a(d,{placeholder:"请输入账号",style:{width:"250px",height:"40px"},modelValue:n.username,"onUpdate:modelValue":e[0]||(e[0]=o=>n.username=o)},null,8,["modelValue"])])]),s("section",null,[e[4]||(e[4]=s("p",null,"密码",-1)),s("div",null,[a(m,{type:"password",placeholder:"请输入密码",style:{width:"250px",height:"40px"},modelValue:n.password,"onUpdate:modelValue":e[1]||(e[1]=o=>n.password=o)},null,8,["modelValue"])])]),s("div",{onClick:e[2]||(e[2]=(...o)=>n.register&&n.register(...o))},"注册")])])}const B=f(y,[["render",$],["__scopeId","data-v-266cfe52"]]);export{B as default};

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/authheader.vue_vue_type_script_setup_true_lang-abc35919.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/default-layout-b30f2dfa.js


+ 1 - 1
dist/assets/index-2818827c.js → dist/assets/index-11914589.js

@@ -1 +1 @@
-import{d as r}from"./index-a7f4bb2f.js";const s=r("shareModel",{persist:!0,state:()=>({hrefUrl:""}),getters:{getkbObj(e){return{...e}}},actions:{getHrefUrl(e){this.hrefUrl=e}}});export{s as u};
+import{d as r}from"./index-c77febe7.js";const s=r("shareModel",{persist:!0,state:()=>({hrefUrl:""}),getters:{getkbObj(e){return{...e}}},actions:{getHrefUrl(e){this.hrefUrl=e}}});export{s as u};

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-20215679.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-33871c52.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-4bcca4ef.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-54254159.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-57fbfc8c.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-5cfa3cdb.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-7377dbd0.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-88e4d89a.js


+ 1 - 1
dist/assets/index-6b0f0df7.js → dist/assets/index-90e1351b.js

@@ -1,4 +1,4 @@
-import{a2 as qk,a3 as Ks,m as Of,r as Zt,a4 as Ta,T as t1,b as _h,U as bg,A as zr,B as Fn,C as or,u as Ti,I as _s,J as lc,K as xa,Q as r1,_ as zu,l as Iu,a5 as n1,f as wA,w as i1,z as vn,D as Qr,E as Fr,F as Ya,a6 as Ig,P as qs,Y as mu,M as ys,n as XI,G as Ma,H as Ca,L as wh,N as Bh,a7 as Wk,a8 as Kk,a9 as X5,aa as zk,ab as Vk}from"./index-a7f4bb2f.js";import{a as U5,d as Zk,q as Xk}from"./Agent-a7f48714.js";import{p as $k}from"./icon-chart-38e5438e.js";import{a as JI}from"./auth-54229761.js";import{a as xB,u as e9}from"./index-7a356aa9.js";import{u as $5}from"./index-2818827c.js";import"./settings-9367c272.js";const SB="/assets/icon-user-007bea0f.jpg",Vp="/assets/icon-picture-144a065f.png";var t9=Object.defineProperty,r9=(D,U,K)=>U in D?t9(D,U,{enumerable:!0,configurable:!0,writable:!0,value:K}):D[U]=K,PI=(D,U,K)=>r9(D,typeof U!="symbol"?U+"":U,K);class j5 extends Error{constructor(U,K){super(U),PI(this,"type"),PI(this,"field"),PI(this,"value"),PI(this,"line"),this.name="ParseError",this.type=K.type,this.field=K.field,this.value=K.value,this.line=K.line}}function dB(D){}function n9(D){const{onEvent:U=dB,onError:K=dB,onRetry:ee=dB,onComment:ge}=D;let Ue="",ht=!0,ut,_t="",Jt="";function ar(sr){const Ir=ht?sr.replace(/^\xEF\xBB\xBF/,""):sr,[hn,Oe]=i9(`${Ue}${Ir}`);for(const Et of hn)Tt(Et);Ue=Oe,ht=!1}function Tt(sr){if(sr===""){yr();return}if(sr.startsWith(":")){ge&&ge(sr.slice(sr.startsWith(": ")?2:1));return}const Ir=sr.indexOf(":");if(Ir!==-1){const hn=sr.slice(0,Ir),Oe=sr[Ir+1]===" "?2:1,Et=sr.slice(Ir+Oe);Fe(hn,Et,sr);return}Fe(sr,"",sr)}function Fe(sr,Ir,hn){switch(sr){case"event":Jt=Ir;break;case"data":_t=`${_t}${Ir}
+import{a2 as qk,a3 as Ks,m as Of,r as Zt,a4 as Ta,T as t1,b as _h,U as bg,A as zr,B as Fn,C as or,u as Ti,I as _s,J as lc,K as xa,Q as r1,_ as zu,l as Iu,a5 as n1,f as wA,w as i1,z as vn,D as Qr,E as Fr,F as Ya,a6 as Ig,P as qs,Y as mu,M as ys,n as XI,G as Ma,H as Ca,L as wh,N as Bh,a7 as Wk,a8 as Kk,a9 as X5,aa as zk,ab as Vk}from"./index-c77febe7.js";import{a as U5,d as Zk,q as Xk}from"./Agent-c1b6cee8.js";import{p as $k}from"./icon-chart-38e5438e.js";import{a as JI}from"./auth-54229761.js";import{a as xB,u as e9}from"./index-33871c52.js";import{u as $5}from"./index-11914589.js";import"./settings-9367c272.js";const SB="/assets/icon-user-007bea0f.jpg",Vp="/assets/icon-picture-144a065f.png";var t9=Object.defineProperty,r9=(D,U,K)=>U in D?t9(D,U,{enumerable:!0,configurable:!0,writable:!0,value:K}):D[U]=K,PI=(D,U,K)=>r9(D,typeof U!="symbol"?U+"":U,K);class j5 extends Error{constructor(U,K){super(U),PI(this,"type"),PI(this,"field"),PI(this,"value"),PI(this,"line"),this.name="ParseError",this.type=K.type,this.field=K.field,this.value=K.value,this.line=K.line}}function dB(D){}function n9(D){const{onEvent:U=dB,onError:K=dB,onRetry:ee=dB,onComment:ge}=D;let Ue="",ht=!0,ut,_t="",Jt="";function ar(sr){const Ir=ht?sr.replace(/^\xEF\xBB\xBF/,""):sr,[hn,Oe]=i9(`${Ue}${Ir}`);for(const Et of hn)Tt(Et);Ue=Oe,ht=!1}function Tt(sr){if(sr===""){yr();return}if(sr.startsWith(":")){ge&&ge(sr.slice(sr.startsWith(": ")?2:1));return}const Ir=sr.indexOf(":");if(Ir!==-1){const hn=sr.slice(0,Ir),Oe=sr[Ir+1]===" "?2:1,Et=sr.slice(Ir+Oe);Fe(hn,Et,sr);return}Fe(sr,"",sr)}function Fe(sr,Ir,hn){switch(sr){case"event":Jt=Ir;break;case"data":_t=`${_t}${Ir}
 `;break;case"id":ut=Ir.includes("\0")?void 0:Ir;break;case"retry":/^\d+$/.test(Ir)?ee(parseInt(Ir,10)):K(new j5(`Invalid \`retry\` value: "${Ir}"`,{type:"invalid-retry",value:Ir,line:hn}));break;default:K(new j5(`Unknown field "${sr.length>20?`${sr.slice(0,20)}…`:sr}"`,{type:"unknown-field",field:sr,value:Ir,line:hn}));break}}function yr(){_t.length>0&&U({id:ut,event:Jt||void 0,data:_t.endsWith(`
 `)?_t.slice(0,-1):_t}),ut=void 0,_t="",Jt=""}function Le(sr={}){Ue&&sr.consume&&Tt(Ue),ut=void 0,_t="",Jt="",Ue=""}return{feed:ar,reset:Le}}function i9(D){const U=[];let K="";const ee=D.length;for(let ge=0;ge<ee;ge++){const Ue=D[ge];Ue==="\r"&&D[ge+1]===`
 `?(U.push(K),K="",ge++):Ue==="\r"||Ue===`

+ 1 - 1
dist/assets/index-3a10cf4e.js → dist/assets/index-91726984.js

@@ -1 +1 @@
-import{d as s}from"./settings-9367c272.js";import{m as a,r as n,T as r,z as c,A as _,B as d,D as i,C as o,_ as l}from"./index-a7f4bb2f.js";const m={class:"container"},u={class:"iframe-box"},f=["src"],p={name:"Agent"},h=a({...p,setup(v){const e=n("");return r(()=>{e.value=`${s.RAGFlowUrl}/flow?${localStorage.Authorization}`}),(x,B)=>{const t=c("Breadcrumb");return _(),d("div",m,[i(t,{items:["Agent","配置"]}),o("div",u,[o("iframe",{src:e.value,height:"100%",width:"100%",frameborder:"0"},null,8,f)])])}}});const A=l(h,[["__scopeId","data-v-76d1b38c"]]);export{A as default};
+import{d as s}from"./settings-9367c272.js";import{m as a,r as n,T as r,z as c,A as _,B as d,D as i,C as o,_ as l}from"./index-c77febe7.js";const m={class:"container"},u={class:"iframe-box"},f=["src"],p={name:"Agent"},h=a({...p,setup(v){const e=n("");return r(()=>{e.value=`${s.RAGFlowUrl}/flow?${localStorage.Authorization}`}),(x,B)=>{const t=c("Breadcrumb");return _(),d("div",m,[i(t,{items:["Agent","配置"]}),o("div",u,[o("iframe",{src:e.value,height:"100%",width:"100%",frameborder:"0"},null,8,f)])])}}});const A=l(h,[["__scopeId","data-v-76d1b38c"]]);export{A as default};

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-c77febe7.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-c9477c8f.js


+ 1 - 1
dist/assets/loading-a0111db0.js → dist/assets/loading-386e2a90.js

@@ -1 +1 @@
-import{r as a}from"./index-a7f4bb2f.js";function l(e=!1){const o=a(e);return{loading:o,setLoading:t=>{o.value=t},toggle:()=>{o.value=!o.value}}}export{l as u};
+import{r as a}from"./index-c77febe7.js";function l(e=!1){const o=a(e);return{loading:o,setLoading:t=>{o.value=t},toggle:()=>{o.value=!o.value}}}export{l as u};

+ 2 - 2
dist/index.html

@@ -6,8 +6,8 @@
         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
         <title>大模型系统</title>
         <script src="/config.js"></script>
-      <script type="module" crossorigin src="/assets/index-a7f4bb2f.js"></script>
-      <link rel="stylesheet" href="/assets/index-760ad62d.css">
+      <script type="module" crossorigin src="/assets/index-c77febe7.js"></script>
+      <link rel="stylesheet" href="/assets/index-54254159.css">
     </head>
     <body>
         <div id="app"></div>

+ 61 - 1
package-lock.json

@@ -52,7 +52,8 @@
         "@vitejs/plugin-vue": "^5.0.5",
         "sass": "^1.78.0",
         "shelljs": "^0.8.5",
-        "vite": "^4.3.7"
+        "vite": "^4.3.7",
+        "zip-lib": "^1.0.5"
       }
     },
     "node_modules/@ampproject/remapping": {
@@ -2403,6 +2404,15 @@
         "ieee754": "^1.1.13"
       }
     },
+    "node_modules/buffer-crc32": {
+      "version": "0.2.13",
+      "resolved": "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+      "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+      "dev": true,
+      "engines": {
+        "node": "*"
+      }
+    },
     "node_modules/c12": {
       "version": "2.0.1",
       "resolved": "https://registry.npmmirror.com/c12/-/c12-2.0.1.tgz",
@@ -5288,6 +5298,12 @@
         "node": "^18.12.0 || >= 20.9.0"
       }
     },
+    "node_modules/pend": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmmirror.com/pend/-/pend-1.2.0.tgz",
+      "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
+      "dev": true
+    },
     "node_modules/perfect-debounce": {
       "version": "1.0.0",
       "resolved": "https://registry.npmmirror.com/perfect-debounce/-/perfect-debounce-1.0.0.tgz",
@@ -6936,6 +6952,50 @@
       "engines": {
         "node": ">= 14"
       }
+    },
+    "node_modules/yauzl": {
+      "version": "3.2.0",
+      "resolved": "https://registry.npmmirror.com/yauzl/-/yauzl-3.2.0.tgz",
+      "integrity": "sha512-Ow9nuGZE+qp1u4JIPvg+uCiUr7xGQWdff7JQSk5VGYTAZMDe2q8lxJ10ygv10qmSj031Ty/6FNJpLO4o1Sgc+w==",
+      "dev": true,
+      "dependencies": {
+        "buffer-crc32": "~0.2.3",
+        "pend": "~1.2.0"
+      },
+      "engines": {
+        "node": ">=12"
+      }
+    },
+    "node_modules/yazl": {
+      "version": "3.3.1",
+      "resolved": "https://registry.npmmirror.com/yazl/-/yazl-3.3.1.tgz",
+      "integrity": "sha512-BbETDVWG+VcMUle37k5Fqp//7SDOK2/1+T7X8TD96M3D9G8jK5VLUdQVdVjGi8im7FGkazX7kk5hkU8X4L5Bng==",
+      "dev": true,
+      "dependencies": {
+        "buffer-crc32": "^1.0.0"
+      }
+    },
+    "node_modules/yazl/node_modules/buffer-crc32": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-1.0.0.tgz",
+      "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==",
+      "dev": true,
+      "engines": {
+        "node": ">=8.0.0"
+      }
+    },
+    "node_modules/zip-lib": {
+      "version": "1.0.5",
+      "resolved": "https://registry.npmmirror.com/zip-lib/-/zip-lib-1.0.5.tgz",
+      "integrity": "sha512-8ZW2f9v5ZrPtzAkEcGvzY987EPqR4ULKNvmnK+cmAzHHb2iaZMwO3PZJnyMYPSdB+hlCfCVJnEdczijQR2QEzw==",
+      "dev": true,
+      "dependencies": {
+        "yauzl": "^3.2.0",
+        "yazl": "^3.2.1"
+      },
+      "engines": {
+        "node": ">=12"
+      }
     }
   }
 }

+ 2 - 1
package.json

@@ -55,6 +55,7 @@
     "@vitejs/plugin-vue": "^5.0.5",
     "sass": "^1.78.0",
     "shelljs": "^0.8.5",
-    "vite": "^4.3.7"
+    "vite": "^4.3.7",
+    "zip-lib": "^1.0.5"
   }
 }

+ 18 - 7
scripts/build.cjs

@@ -1,5 +1,5 @@
 const path = require('path');
-
+const zl = require("zip-lib");
 const shell = require('shelljs');
 
 const work_dir = path.join(__dirname, '..');
@@ -20,13 +20,24 @@ function pack() {
     const zip_name = `${folder_name}.zip`
     const release_dir = '~/Desktop/';
     shell.cp('-R', './dist', folder_name);
-    shell.exec(`zip -q -r ${zip_name} ${folder_name}`);
-    shell.rm('-rf', folder_name);
-    shell.mv(zip_name, release_dir);
-    '-'.repeat(32).split('').forEach((item, index, val) => {
-        if (index <= 3) console.log(val.join(''));
+    // shell.exec(`zip -q -r ${zip_name} ${folder_name}`);
+    // shell.rm('-rf', folder_name);
+    // shell.mv(zip_name, release_dir);
+    // '-'.repeat(32).split('').forEach((item, index, val) => {
+    //     if (index <= 3) console.log(val.join(''));
+    // });
+    // console.log(`Target File Path:${release_dir}${zip_name}`);
+    zl.archiveFolder(folder_name, zip_name).then(function () {
+        console.log('打包::已完成');
+        shell.rm('-rf', folder_name);
+        shell.mv(zip_name, release_dir);
+        '-'.repeat(32).split('').forEach((item, index, val) => {
+            if (index <= 3) console.log(val.join(''));
+        });
+        console.log(`Target File Path:${release_dir}${zip_name}`);
+    }, function (err) {
+        console.log(err);
     });
-    console.log(`Target File Path:${release_dir}${zip_name}`);
 }
 
 function genFileName() {

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor