import{_ as a,i as e,h as t,r as n,o as s,b as o,g as u,a as c,w as l,p as h,f as i}from"./index-ea5b20ee.js";const d={data:()=>({autoLaunchChecked:!1}),mounted(){this.init()},methods:{init(){e.invoke(t.autoLaunch,"check").then((a=>{console.log("[ipcRenderer] [autoLaunch] result:",a),this.autoLaunchChecked=a.status}))},autoLaunchChange(a){console.log("[ipcRenderer] [autoLaunch] self.autoLaunchChecked:",this.autoLaunchChecked)}}},r=a=>(h("data-v-1b008e01"),a=a(),i(),a),m={id:"app-base-system-launch"},C={class:"one-block-2"},L=r((()=>u("a",null,"启动",-1))),k=r((()=>u("span",null," 开机自动启动 ",-1)));const p=a(d,[["render",function(a,e,t,h,i,d){const r=n("a-list-item-meta"),p=n("a-switch"),f=n("a-list-item"),g=n("a-list");return s(),o("div",m,[u("div",C,[c(g,{class:"set-auto",itemLayout:"horizontal"},{default:l((()=>[c(f,{style:{"text-align":"left"}},{actions:l((()=>[c(p,{modelValue:i.autoLaunchChecked,"onUpdate:modelValue":e[0]||(e[0]=a=>i.autoLaunchChecked=a),checkedChildren:"开",unCheckedChildren:"关",onChange:e[1]||(e[1]=a=>d.autoLaunchChange())},null,8,["modelValue"])])),default:l((()=>[c(r,null,{title:l((()=>[L])),description:l((()=>[k])),_:1})])),_:1})])),_:1})])])}],["__scopeId","data-v-1b008e01"]]);export{p as default};
