Skip to content

Commit

Permalink
fix(nsis): add + as safe symbol for product name
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Jan 28, 2017
1 parent ee32575 commit e7e2a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electron-builder/src/targets/nsis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class NsisTarget extends Target {
APP_GUID: guid,
PRODUCT_NAME: appInfo.productName,
PRODUCT_FILENAME: appInfo.productFilename,
APP_FILENAME: (!oneClick || options.perMachine === true) && /^[-_0-9a-zA-Z ]+$/.test(appInfo.productFilename) ? appInfo.productFilename : appInfo.name,
APP_FILENAME: (!oneClick || options.perMachine === true) && /^[-_+0-9a-zA-Z ]+$/.test(appInfo.productFilename) ? appInfo.productFilename : appInfo.name,
APP_DESCRIPTION: appInfo.description,
VERSION: version,

Expand Down

0 comments on commit e7e2a82

Please sign in to comment.