Skip to content

Node.js Compiler v1.4.0

Compare
Choose a tag to compare
@pmq20 pmq20 released this 21 Jul 02:58
· 151 commits to master since this release
  • upgrade Node.js runtime to v8.2.0
  • fix bad package names for product.wxs when generating MSI installers
  • upgrade to libsquash v0.7.0
    • test ifndef __USE_XOPEN_EXTENDED
  • upgrade to libautoupdate v0.2.0
    • Auto-update shall only run once in every 24 hours with help of the file ~/.libautoupdate
    • add argument force to autoupdate() in order to force an auto-update check
    • add CI to test autoupdate()
    • fix failures to replace itself when TMPDIR and current file is not on the same volume
  • remove node_main.obj before compiling to avoid a MS toolchain bug
  • make nodec version part of the tmpdir namings
  • use only the master CI
  • remove node/deps/npm

Download: http://enclose.io/nodec

Translations in Chinese:

  • 将编译器的 Node.js 运行时升级到了 v8.2.0
  • 修复 MSI 生成时包的名字出错;名字是动态替换进去的,有些包的名字里包含@和减号等特殊字符
  • 将 libsquash 升级到 v0.7.0
    • 提前测试是否定义了 __USE_XOPEN_EXTENDED
  • 将 libautoupdate 升级到 v0.2.0
    • 每次启动都检查更新会导致启动速度变慢,现改成了在用户主目录下记录 .libautoupdate 文件来限制 24 小时内只检查一次
    • autoupdate() 添加 force 参数来强制自动更新
    • 在 CI 中添加对 autoupdate() 的测试
    • Windows 下自动更新夸卷无法替换自身,现采取直接拿当前目录做临时目录的办法解决了这个问题
      • 例如在 D:\1\2.exe 下的文件直接拿 D:\1 来做临时目录,而不再取用 C 盘
      • #42
  • 每次编译之前都清理 node_main.obj 文件来避免遇到微软工具链的 bug 导致此文件过期
  • 让 nodec 的版本号也成为临时目录命名的一部分,实现了更安全的 nodec 自我自动更新
  • 简化 CI,今后只使用 master CI
  • 丢弃 node/deps/npm,降低了 nodec 的分发大小

下载地址: http://enclose.io/nodec