sigyllly commited on
Commit
5a26b8a
·
verified ·
1 Parent(s): c7ce71d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -67,8 +67,8 @@ Page instfiles
67
 
68
  Section "Install"
69
  SetOutPath "$INSTDIR"
70
- File "{bat_path.replace('\\', '\\\\')}" # Escape backslashes for NSIS
71
- File "{icon_path.replace('\\', '\\\\')}" # Escape backslashes for NSIS
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