Skip to content

Commit

Permalink
Merge pull request #60 from feross/master
Browse files Browse the repository at this point in the history
Add `setupExe` option
  • Loading branch information
kevinsawicki committed Apr 5, 2016
2 parents 3d70e4c + 72d87c1 commit 2e5f09a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ There are several configuration settings supported:
| `signWithParams` | No | Params to pass to signtool. Overrides `certificateFile` and `certificatePassword`. |
| `iconUrl` | No | A URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features). Defaults to the Atom icon. |
| `setupIcon` | No | The ICO file to use as the icon for the generated Setup.exe |
| `setupExe` | No | The name to use for the generated Setup.exe file |
| `noMsi` | No | Should Squirrel.Windows create an MSI installer? |
| `remoteReleases` | No | A URL to your existing updates. If given, these will be downloaded to create delta updates |
| `remoteToken` | No | Authentication token for remote updates |
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export async function createWindowsInstaller(options) {
if (options.fixUpPaths !== false && metadata.productName) {
log('Fixing up paths');

const setupPath = path.join(outputDirectory, `${metadata.productName}Setup.exe`);
const setupPath = path.join(outputDirectory, options.setupExe || `${metadata.productName}Setup.exe`);
const setupMsiPath = path.join(outputDirectory, `${metadata.productName}Setup.msi`);
const unfixedSetupPath = path.join(outputDirectory, 'Setup.exe');

Expand Down

0 comments on commit 2e5f09a

Please sign in to comment.