mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-04-09 19:15:43 +02:00
NSIS: Escape line endings for NSIS correctly.
This is supposed to fix #3519
This commit is contained in:
parent
536fd105ae
commit
ea03f9da13
@ -104,10 +104,12 @@ localeToName = {
|
||||
def escapeNSIS(st):
|
||||
return st.replace('\\', r'$\\')\
|
||||
.replace('\t', r'$\t')\
|
||||
.replace('\r', r'\r')\
|
||||
.replace('\n', r'\n')\
|
||||
.replace('\r', r'$\r')\
|
||||
.replace('\n', r'$\n')\
|
||||
.replace('\"', r'$\"')\
|
||||
.replace('$$\\', '$\\')
|
||||
.replace('$$\\', '$\\')\
|
||||
.replace('$\\n', r'$\n')
|
||||
|
||||
|
||||
translationCache = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user