File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -1096,7 +1096,7 @@ endif
1096
1096
$(MACOSOUTDIR)/dist/npm/usr/local/lib/node_modules
1097
1097
unlink $(MACOSOUTDIR)/dist/node/usr/local/bin/npm
1098
1098
unlink $(MACOSOUTDIR)/dist/node/usr/local/bin/npx
1099
- $(NODE) tools/license2rtf.js < LICENSE > \
1099
+ $(NODE) tools/license2rtf.mjs < LICENSE > \
1100
1100
$(MACOSOUTDIR)/installer/productbuild/Resources/license.rtf
1101
1101
cp doc/osx_installer_logo.png $(MACOSOUTDIR)/installer/productbuild/Resources
1102
1102
pkgbuild --version $(FULLVERSION) \
Original file line number Diff line number Diff line change 1
- 'use strict' ;
2
-
3
- const assert = require ( 'assert' ) ;
4
- const Stream = require ( 'stream' ) ;
1
+ import assert from 'node:assert' ;
2
+ import Stream from 'node:stream' ;
3
+ import process from 'node:process' ;
5
4
6
5
7
6
/*
Original file line number Diff line number Diff line change @@ -420,9 +420,9 @@ if "%use_x64_node_exe%"=="true" (
420
420
set exit_code = 1
421
421
goto exit
422
422
)
423
- %x64_node_exe% tools\license2rtf.js < LICENSE > %config% \license.rtf
423
+ %x64_node_exe% tools\license2rtf.mjs < LICENSE > %config% \license.rtf
424
424
) else (
425
- %node_exe% tools\license2rtf.js < LICENSE > %config% \license.rtf
425
+ %node_exe% tools\license2rtf.mjs < LICENSE > %config% \license.rtf
426
426
)
427
427
428
428
if errorlevel 1 echo Failed to generate license.rtf& goto exit
You can’t perform that action at this time.
0 commit comments