# note **Repository Path**: James-Xao/note ## Basic Information - **Project Name**: note - **Description**: 简单笔记单机用 - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-24 - **Last Updated**: 2022-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 简单笔记 ## 简介 - 打包NBuilder - 项目主要用到是nw.js - 参考 [网址](https://nwjs.org.cn/doc/user/Advanced/Use-Native-Node-Modules.html) 安装sqlite3依赖 - 要用window cmd ~~~bat npm install -g nw-gyp set PYTHON=C:\Python27\python.exe set npm_config_target=0.52.2 set npm_config_arch=x64 set npm_config_runtime=node-webkit set npm_config_build_from_source=true set npm_config_node_gyp=C:\Users\Administrator\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js npm install --msvs_version=2015 npm install sqlite3 --save ~~~ - 把nw.js配制到环境变量中 - 在根目录 nw . 打包 ~~~ npm run dist # 打包后的文件在dist下 ~~~ Inno Setup 用这个软件可以打包成window安装包