nwutils/nw-builder

Windows builds fail with "resolve is not defined"

sysrage opened this issue · 1 comments

Issue Type

  • Bug Report
  • Feature Request
  • Other

Current/Missing Behaviour

Windows builds fail with this message:

[ WARN ] 2023-03-21T01:09:48.934Z Renaming EXE failed or unable to modify EXE. If it's the latter, ensure WINE is installed or build in Windows
[ WARN ] 2023-03-21T01:09:48.934Z Renaming EXE failed or unable to modify EXE. If it's the latter, ensure WINE is installed or build in Windows
[ ERROR ] 2023-03-21T01:09:48.935Z resolve is not defined
[ ERROR ] 2023-03-21T01:09:48.935Z resolve is not defined

This is because resolve was not imported in winCfg.js.

Expected/Proposed Behaviour

Import resolve before attempting to use it.

Additional Info

  • Package version: 4.1.1

Apparently you already fixed this but it's not in the published version...