develar / app-builder

Generic helper tool to build app in a distributable format
MIT License
122 stars 62 forks source link

fix: cannot find module(archiver-utils) #143

Closed beyondkmp closed 1 month ago

beyondkmp commented 1 month ago

fix https://github.com/electron-userland/electron-builder/issues/8503

Using strings.HasPrefix for direct comparison is problematic. For example, with "archiver" and "archiver-utils", their paths are "node_modules/archiver" and "node_modules/archiver-utils" respectively. They are not in a parent-child path relationship. This incorrect assessment resulted in archiver-utils not being placed at the top.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: e3fea1ab5fc2e759afd1c230a94b6ac277d42202

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | app-builder-bin | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR