From f67d65d6f41b5c15dc0b3312b438aa3e534c6f92 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Fri, 9 Aug 2024 21:39:11 +0100 Subject: [PATCH] fix(robocopy): halt on error --- src/playbook/Configuration/custom.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/playbook/Configuration/custom.yml b/src/playbook/Configuration/custom.yml index dadce24914..1ed66d9f8e 100644 --- a/src/playbook/Configuration/custom.yml +++ b/src/playbook/Configuration/custom.yml @@ -24,11 +24,13 @@ actions: weight: 10 wait: true exeDir: true + handleExitCodes: {'>1': halt} - !cmd: command: 'robocopy "AtlasDesktop" "%windir%\AtlasDesktop" /E /PURGE /IM /IT /NP > nul' weight: 10 wait: true exeDir: true + handleExitCodes: {'>1': halt} - !cmd: command: 'copy /y "Themes" "%windir%\Resources\Themes" > nul' weight: 10