We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
&
1 parent 549d07b commit 6e41480Copy full SHA for 6e41480
2 files changed
.changeset/brown-parents-rest.md
@@ -0,0 +1,5 @@
1
+---
2
+"app-builder-lib": patch
3
4
+
5
+fix(nsis): display product names with an `&` properly
packages/app-builder-lib/templates/nsis/common.nsh
@@ -7,7 +7,11 @@ ShowInstDetails nevershow
7
ShowUninstDetails nevershow
8
!endif
9
FileBufSize 64
10
-Name "${PRODUCT_NAME}"
11
+# Allows for a product name to display properly if it has an ampersand
12
+# Doesn't affect anything if there is no double ampersand
13
+!searchreplace DoubleAmpersand "${PRODUCT_NAME}" "&" "&&"
14
+Name "${PRODUCT_NAME}" "${DoubleAmpersand}"
15
16
!define APP_EXECUTABLE_FILENAME "${PRODUCT_FILENAME}.exe"
17
!define UNINSTALL_FILENAME "Uninstall ${PRODUCT_FILENAME}.exe"
0 commit comments