Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm no Javascript expert but would you be interested in a PR that tries to upgrade nw-builder to the latest version
4.13.7
and possibly NW.js tov0.94.0
?Tried to follow the migration path for nw-builder described here:
https://github.com/nwutils/nw-builder/tree/v4.0.3?tab=readme-ov-file#migration-to-v4
Couple of questions:
platform
property, would you consider removing the dependency on nw-builder get platform name from the gulp task? Or am I seeing things wrong?https://github.com/nwutils/nw-builder?tab=readme-ov-file#api-reference
nw-builder first moved the file again to
src/util/platform.js
nwutils/nw-builder@v3.8.10...v4.0.7#diff-4dbd0a6d4d2f9999a53e0fe28c45f303bac69dbfb3aba774962443725234cf9d
I've tried to import it with
But I'm getting an error that I don't know if it's possible to solve, since the function is not exported.
Could copy the file to the vendor folder and move on, which I did in order to progress the build.
nw-builder moved platform.js again in
https://github.com/nwutils/nw-builder/pull/910/files#diff-ded7d82adc6eea35c2e80c2cf91ea002bd00db3073decc2812add012d5872efcR33
nwutils/nw-builder#1331
My end goal is to build opensubtitles-uploader with https://dl.nwjs.io/v0.94.0/nwjs-v0.94.0-osx-arm64.zip