background picture of the home page

黎明之前总有一段时间特别黑。

electron 问题

electron 打包出错 • Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+ ⨯ Exit code: 1. Command failed: whic

thumbnail of the cover of the post

NSIS中系统特殊路径变量基础知识(修正)

前言 在多年交流 NSIS 技术中,发现很多用户对 Windows 系统特殊文件夹路径方面的知识点还比较欠缺。大多用户只了解几个常用路径,比如 $INSTDIR、$WINDOWS、$DESKTOP、$SMPROGRAMS 等文件夹,对于其他不常用的路径就无从所知了,通常会采用截取和拼接字符串的方式来

thumbnail of the cover of the post

node 相关配置

Node配置全局和缓存路径 # 设置全局模块的安装路径到 "node_global" 文件夹 npm config set prefix "E:\other\fnm\catch\node_global" # 设置缓存到"node\_cache"文件夹 npm config set cac

thumbnail of the cover of the post

node常用命令

node 删除文件 第一种(好用的在后面) 1.使用rimraf: //使用rimraf可以完全删除目标文件夹(包括目录和文件),比普通的rm -rf node_modules/ 更可靠。 npm install -g rimraf rimraf node_modules 2.使用npx: npm

thumbnail of the cover of the post