(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e524c"],{"92da":function(n,s,t){"use strict";t.r(s);var _=function(){var n=this;n._self._c;return n._m(0)},e=[function(){var n=this,s=n._self._c;return s("div",[s("h1",[n._v("客户端")]),s("p",[n._v("本项目也提供了客户端版本，使用"),s("a",{attrs:{href:"https://www.electronjs.org/"}},[n._v("Electron")]),n._v("开发。支持"),s("code",[n._v("Windows")]),n._v("、"),s("code",[n._v("Mac")]),n._v("及"),s("code",[n._v("Linux")]),n._v("。")]),s("p",[n._v("目前功能比较简单：")]),s("p",[n._v("1.支持新建、打开文件进行编辑；")]),s("p",[n._v("2.支持查看最近编辑文件列表；")]),s("p",[n._v("3.支持文件的复制、删除、重命名；")]),s("h2",[n._v("下载")]),s("blockquote",[s("p",[n._v("客户端版本会落后于在线版本，要尝试新功能请优先使用在线版。")])]),s("p",[n._v("你可以直接下载对应的客户端安装使用，提供了两个下载地址：")]),s("p",[n._v("Github："),s("a",{attrs:{href:"https://github.com/wanglin2/mind-map/releases"}},[n._v("releases")]),n._v("。")]),s("p",[n._v("百度云盘："),s("a",{attrs:{href:"https://pan.baidu.com/s/1huasEbKsGNH2Af68dvWiOg?pwd=3bp3"}},[n._v("地址")]),n._v("。")]),s("h2",[n._v("开发")]),s("p",[n._v("如果有需要，你也可以进行二次开发。")]),s("h3",[n._v("clone")]),s("pre",{staticClass:"hljs"},[s("code",[n._v("git "),s("span",{staticClass:"hljs-built_in"},[n._v("clone")]),n._v(" https://github.com/wanglin2/mind-map.git\n"),s("span",{staticClass:"hljs-built_in"},[n._v("cd")]),n._v(" mind-map\ngit checkout electron\n")])]),s("h3",[n._v("启动服务")]),s("p",[n._v("在项目根目录下执行：")]),s("pre",{staticClass:"hljs"},[s("code",[s("span",{staticClass:"hljs-built_in"},[n._v("cd")]),n._v(" simple-mind-map\nnpm i\nnpm link\n"),s("span",{staticClass:"hljs-built_in"},[n._v("cd")]),n._v(" ..\n"),s("span",{staticClass:"hljs-built_in"},[n._v("cd")]),n._v(" web\nnpm i\nnpm link simple-mind-map\nnpm run electron:serve\n")])]),s("h3",[n._v("打包客户端")]),s("p",[n._v("你至少需要两台电脑，一台"),s("code",[n._v("Windows")]),n._v("和一台"),s("code",[n._v("Mac")]),n._v("。")]),s("p",[n._v("打包"),s("code",[n._v("Windows")]),n._v("应用：")]),s("pre",{staticClass:"hljs"},[s("code",[n._v("npm run electron:build-win\n")])]),s("p",[n._v("打包"),s("code",[n._v("Mac")]),n._v("应用：")]),s("pre",{staticClass:"hljs"},[s("code",[n._v("npm run electron:build-mac\n")])]),s("p",[n._v("打包"),s("code",[n._v("Linux")]),n._v("应用：")]),s("pre",{staticClass:"hljs"},[s("code",[n._v("npm run electron:build-linux\n")])]),s("p",[n._v("打包全部应用：")]),s("pre",{staticClass:"hljs"},[s("code",[n._v("npm run electron:build-all\n")])]),s("p",[n._v("根据你的电脑系统自动打包：")]),s("pre",{staticClass:"hljs"},[s("code",[n._v("npm run electron:build\n")])])])}],v={},l=v,i=t("2877"),c=Object(i["a"])(l,_,e,!1,null,null,null);s["default"]=c.exports}}]);