Skip to content

Commit

Permalink
Add back node to ppm/bin directory
Browse files Browse the repository at this point in the history
(Less than ideal! This puts a `node` executable in a directory on a Windows user’s PATH, so hopefully it's later in their PATH than wherever they've got Node installed!)
  • Loading branch information
savetheclocktower committed Nov 2, 2024
1 parent fd155ed commit 9511a88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/electron-builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ let options = {
// it on Windows, and it might even be consumed in WSL or Cygwin
// environments.
{ from: 'ppm/bin/ppm', to: `app/ppm/bin/${ppmBaseName}` },
{ from: 'ppm/bin/node', to: `app/ppm/bin/node` },
{ from: ICONS.png, to: 'pulsar.png' },
{ from: 'LICENSE.md', to: 'LICENSE.md' }
],
Expand Down Expand Up @@ -296,6 +297,7 @@ let options = {
// Copy `ppm.cmd` to the `ppm/bin` directory, possibly renaming it
// `ppm-next.cmd` depending on release channel.
{ from: 'ppm/bin/ppm.cmd', to: `app/ppm/bin/${ppmBaseName}.cmd` },
{ from: 'ppm/bin/node.exe', to: `app/ppm/bin/node.exe` },
],
target: [
{ target: 'nsis' },
Expand Down

0 comments on commit 9511a88

Please sign in to comment.