Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -67,8 +67,8 @@ Page instfiles
|
|
67 |
|
68 |
Section "Install"
|
69 |
SetOutPath "$INSTDIR"
|
70 |
-
File "{bat_path.replace(
|
71 |
-
File "{icon_path.replace(
|
72 |
SectionEnd
|
73 |
"""
|
74 |
|
|
|
67 |
|
68 |
Section "Install"
|
69 |
SetOutPath "$INSTDIR"
|
70 |
+
File "{bat_path.replace(os.sep, '\\\\')}" # Use double backslashes for NSIS
|
71 |
+
File "{icon_path.replace(os.sep, '\\\\')}" # Use double backslashes for NSIS
|
72 |
SectionEnd
|
73 |
"""
|
74 |
|