Skip to content

Commit 55473c9

Browse files
committed
fix markpdf nsis build
1 parent 68d7320 commit 55473c9

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

artifacts/artifacts/markpdf-cli/installer/markpdf-installer.nsi

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
${StrStr}
66
${StrRep}
7+
${UnStrRep}
78

89
!ifndef APP_OUT_DIR
910
!define APP_OUT_DIR "..\out"
@@ -114,10 +115,10 @@ Function un.RemoveFromUserPath
114115

115116
StrCpy $2 ";$1;"
116117
StrCpy $3 ";$0;"
117-
${StrRep} $2 "$2" "$3" ";"
118+
${UnStrRep} $2 "$2" "$3" ";"
118119

119120
normalize_user_path:
120-
${StrRep} $4 "$2" ";;" ";"
121+
${UnStrRep} $4 "$2" ";;" ";"
121122
StrCmp $4 "$2" trim_user_path
122123
StrCpy $2 "$4"
123124
Goto normalize_user_path
@@ -160,10 +161,10 @@ Function un.RemoveFromMachinePath
160161

161162
StrCpy $2 ";$1;"
162163
StrCpy $3 ";$0;"
163-
${StrRep} $2 "$2" "$3" ";"
164+
${UnStrRep} $2 "$2" "$3" ";"
164165

165166
normalize_machine_path:
166-
${StrRep} $4 "$2" ";;" ";"
167+
${UnStrRep} $4 "$2" ";;" ";"
167168
StrCmp $4 "$2" trim_machine_path
168169
StrCpy $2 "$4"
169170
Goto normalize_machine_path

0 commit comments

Comments
 (0)