# leanote-desktop-app **Repository Path**: DLGCY_Clone/leanote-desktop-app ## Basic Information - **Project Name**: leanote-desktop-app - **Description**: 蚂蚁笔记桌面客户端。Leanote Desktop App, based on Electron(前身是 atom-shell)。(克隆自:https://github.com/leanote/desktop-app) - **Primary Language**: JavaScript - **License**: GPL-2.0 - **Default Branch**: dlgcy - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-11-02 - **Last Updated**: 2026-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: 蚂蚁笔记 ## README # Leanote Desktop App [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/leanote/desktop-app?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Use Electron(atom-shell) to create leanote desktop app. ![preview.png](preview.png) ## Download Please see http://app.leanote.com ## How to develop it ### 1. Install Electron v12.0.2 See https://github.com/electron/electron/releases/tag/v12.0.2 ### 2. Run it with electron Download this project, and run ```shell # 1. install dependencies $> cd PATH-TO-LEANOTE-DESKTOP-APP $> npm i # 2. use gulp to parse less $> cd PATH-TO-LEANOTE-DESKTOP-APP/dev $> npm i $> gulp dev # 3. run with electron $> cd PATH-TO-LEANOTE-DESKTOP-APP $> electron . ``` ## Docs Please see https://github.com/leanote/desktop-app/wiki ## LICENSE [LICENSE](https://github.com/leanote/desktop-app/blob/master/LICENSE) ``` LEANOTE - NOT JUST A NOTEPAD! Copyright by the contributors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Leanote destop app is licensed under the GPL v2. ``` # 新版 ## 问题解决 ### 'gulp' 不是内部或外部命令,也不是可运行的程序 [Copilot] 你的系统提示 "'gulp' 不是内部或外部命令,也不是可运行的程序",这说明你的电脑没有全局安装 gulp,或者没有将 gulp 的可执行文件路径加入到环境变量中。 解决方法如下: 1. 在项目根目录(app 目录)下安装 gulp 及其 CLI(推荐本地安装): ```powershell npm install --save-dev gulp gulp-cli ``` 2. 之后可以用 npx 运行 gulp(无需全局安装): ```powershell cd dev npx gulp ``` 如果你希望全局安装 gulp-cli(可选): ```powershell npm install -g gulp-cli ``` 建议优先使用 npx 方式,避免全局依赖冲突。请在你的项目根目录下执行上述命令即可解决问题。 ## 登录页改进(自建服务) - 在自建服务登录页提供“记住服务地址 / 用户名 / 密码”的勾选项,勾选后点击登录会保存到本地,下次切换到“登录自建服务”将自动填充。 - 本地保存位置:浏览器 localStorage(键:`loginRememberHost|Username|Password` 和 `loginHost|Username|Password`)。 - 安全提示:密码以明文保存在本地存储,如在共享电脑上使用,请谨慎勾选“记住密码”。如需更安全的方式(Windows Credential Manager / macOS Keychain),可后续增强。