import{d as k,M as E,r as H,i as F,b as m,w as i,e as s,g as o,t as l,h as e,f as t,q as C,m as g,v as h,a as b,Q as D,a1 as M}from"./index-BrhME0Dw.js";import{_ as S}from"./telegram-CMZE59Yh.js";import{m as v}from"./mdi-CAFVvJZe.js";import{_ as N}from"./SimplePage.vue_vue_type_script_setup_true_lang-CxFFd9iP.js";import{_ as z}from"./ChangeLogDialog.vue_vue_type_script_setup_true_lang-D90HUM69.js";/* empty css                                                        */import{o as r}from"./common-CvoIC5ir.js";import{m as L}from"./markdown-BS2QN_WF.js";import{u as P}from"./ConfigStore-CbbrHyuM.js";import{V as Z,b as x,c as d}from"./VCard-DgPOJonh.js";import{V as X}from"./VDivider-CRnuQWb1.js";import{V as I}from"./VSpacer-Cyb0OpTp.js";import{V as p}from"./VBtn-W2di21BR.js";import{g as B,V as w}from"./index-W86lZ1ks.js";import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./dimensions-g-Hg75km.js";import"./DialogTitle-Cs_RafDF.js";import"./VDialog-B4tiv73S.js";import"./forwardRefs-YZME3Z-4.js";import"./scopeId-Bb-xzR7W.js";import"./VAvatar-BvBVx7K7.js";import"./VProgressCircular-jw_3a1Fn.js";import"./resizeObserver-BLxqKstE.js";const V="data:image/webp;base64, ",G=["innerHTML"],J={class:"info-block"},W={class:"line-group"},Q={class:"line-item-icon"},T={class:"line-item"},j={class:"info-block"},q={class:"line-group"},O={class:"line-item",style:{}},K={class:"line-item"},_={class:"info-block"},$={class:"line-item-icon"},AA={class:"line-item"},tA=["onClick"],sA=k({__name:"about",setup(iA){const c=E(),f=P();let y=[{name:"Yuzu",link:"https://github.com/yuzu-emu/yuzu",description:"Yuzu 模拟器"},{name:"Ryujinx",link:"https://ryujinx.app/",description:"Ryujinx 模拟器"},{name:"Suyu",link:"https://git.suyu.dev/suyu/suyu",description:"Suyu 模拟器"},{name:"hactool",link:"https://github.com/SciresM/hactool",description:"NS 固件解析"},{name:"nsz",link:"https://github.com/nicoboss/nsz",description:"NS 固件解析"},{name:"aria2",link:"https://github.com/aria2/aria2",description:"aria2 下载器"},{name:"Github 镜像源",link:"https://github.com/XIU2/UserScript/blob/master/GithubEnhanced-High-Speed-Download.user.js",description:"来自 X.I.U 大佬的 Github 增强脚本"},{name:"pineappleEA",link:"https://github.com/pineappleEA/pineapple-src",description:"Yuzu EA 版本来源"},{name:"THZoria/NX_Firmware",link:"https://github.com/THZoria/NX_Firmware",description:"NS 固件来源"},{name:"darthsternie.net",link:"https://darthsternie.net/switch-firmwares/",description:"NS 固件来源"}],a=H("<p>加载中...</p>");function R(){window.eel.load_change_log()(u=>{u.code===0?a.value=L.parse(u.data):a.value="<p>加载失败。</p>"})}return(u,A)=>(m(),F(N,null,{default:i(()=>[s(Z,null,{default:i(()=>[s(x,{class:"text-h4 text-primary"},{default:i(()=>A[4]||(A[4]=[o("Ns Emu Tools")])),_:1}),s(X),s(I),s(d,{class:"text-h6"},{default:i(()=>A[5]||(A[5]=[o(" 一个用于安装/更新 NS 模拟器的工具 ")])),_:1}),s(d,{class:"text-h6"},{default:i(()=>[o(" 当前版本：v"+l(e(f).currentVersion)+" ",1),s(p,{color:"primary",variant:"outlined",onClick:A[0]||(A[0]=n=>e(f).checkUpdate(!0))},{default:i(()=>A[6]||(A[6]=[o(" 检测新版本 ")])),_:1}),s(z,null,{activator:i(({props:n})=>[s(p,C({color:"info"},n,{onClick:R,variant:"outlined",style:{"margin-left":"10px"}}),{default:i(()=>A[7]||(A[7]=[o(" 更新日志 ")])),_:2},1040)]),content:i(()=>[t("div",{innerHTML:e(a)},null,8,G)]),_:1}),s(p,{color:"success",variant:"outlined",style:{"margin-left":"10px"},onClick:A[1]||(A[1]=n=>e(r)("https://github.com/triwinds/ns-emu-tools/blob/main/LICENSE"))},{default:i(()=>A[8]||(A[8]=[o(" License ")])),_:1})]),_:1}),s(d,{class:"text-h6 text--primary"},{default:i(()=>[t("div",J,[A[10]||(A[10]=t("p",{class:"text-h5 text-accent",style:{"padding-bottom":"5px"}},"项目地址",-1)),t("div",W,[t("div",Q,[s(B,{size:"24"},{default:i(()=>[o(l(e(v)),1)]),_:1})]),t("div",T,[A[9]||(A[9]=o("GitHub：")),t("a",{class:"text-error",onClick:A[2]||(A[2]=n=>e(r)("https://github.com/triwinds/ns-emu-tools"))}," triwinds/ns-emu-tools")])]),A[11]||(A[11]=t("span",null,"如果您觉得这个软件好用, 可以在 GitHub 上点个 star",-1)),A[12]||(A[12]=t("br",null,null,-1)),A[13]||(A[13]=t("span",null,"这是对我最大的鼓励。",-1))]),t("div",j,[A[15]||(A[15]=t("p",{class:"text-h5 text-success"},"讨论组",-1)),t("div",q,[t("div",O,[g(s(w,{src:S,height:"20",width:"20"},null,512),[[h,e(c).global.name.value==="dark"]]),g(s(w,{src:V,height:"20",width:"20"},null,512),[[h,e(c).global.name.value!=="dark"]])]),t("div",K,[A[14]||(A[14]=o("Telegram： ")),t("a",{class:"text-secondary",onClick:A[3]||(A[3]=n=>e(r)("https://t.me/+mxI34BRClLUwZDcx"))},"Telegram 讨论组")])])]),t("div",_,[A[16]||(A[16]=t("p",{class:"text-h5 text-warning"},"Credits",-1)),(m(!0),b(D,null,M(e(y),(n,Y)=>(m(),b("div",{class:"line-group",key:Y},[t("div",$,[s(B,{size:"24"},{default:i(()=>[o(l(e(v)),1)]),_:1})]),t("div",AA,[t("a",{class:"text-secondary",onClick:eA=>e(r)(n.link)},l(n.name),9,tA),o(" - "+l(n.description),1)])]))),128))])]),_:1})]),_:1})]),_:1}))}}),FA=U(sA,[["__scopeId","data-v-99ecbddd"]]);export{FA as default};
