# electron-scrolltext **Repository Path**: kjbu2/electron-scrolltext ## Basic Information - **Project Name**: electron-scrolltext - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-28 - **Last Updated**: 2021-10-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 安装前先需要安装 node-gyp:https://www.npmjs.com/package/node-gyp 安装依赖过程中electron会下载比较慢,使用下面方法 首先需要将npm的包下载地址改为淘宝镜像地址: npm config set registry https://npm.taobao.org/mirrors/node 下载node源码加速: npm config set disturl https://npm.taobao.org/mirrors/node 然后将electron包下载地址注册位淘宝的镜像: npm config set ELECTRON_MIRROR https://npm.taobao.org/mirrors/electron/ 本项目使用模板:https://github.com/KangJun-KJ/electron-react 运行命令 ` npm run dev:ui 注:渲染进程 npm run dev:main 注:主进程 ` 打包 ` npm run release:dev 测试环境 npm run release:prod 生产环境 `