fix unintended null file creation #52

This commit is contained in:
undergroundwires
2021-01-12 04:07:55 +01:00
parent 7ec889e759
commit 2428de23ee

View File

@@ -3508,9 +3508,9 @@ actions:
recommend: strict recommend: strict
code: |- code: |-
if %PROCESSOR_ARCHITECTURE%==x86 ( if %PROCESSOR_ARCHITECTURE%==x86 (
%SystemRoot%\System32\OneDriveSetup.exe /uninstall 2>null %SystemRoot%\System32\OneDriveSetup.exe /uninstall 2>nul
) else ( ) else (
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall 2>null %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall 2>nul
) )
revertCode: |- revertCode: |-
if %PROCESSOR_ARCHITECTURE%==x86 ( if %PROCESSOR_ARCHITECTURE%==x86 (