diff --git a/.devcontainer/scripts/onCreateCommand.sh b/.devcontainer/scripts/onCreateCommand.sh index f8af0894582..0208ef55640 100755 --- a/.devcontainer/scripts/onCreateCommand.sh +++ b/.devcontainer/scripts/onCreateCommand.sh @@ -12,8 +12,8 @@ if ! grep -q "PXE_URL" ~/.bashrc; then echo "export PXE_URL=https://\$CODESPACE_NAME-8080.preview.\$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN" >> ~/.bashrc fi -echo 'y' | npx create-aztec-app -t $TYPE -n $NAME -s -mv react/* . +yes | npx create-aztec-app -t $TYPE -n $NAME -s +mv react/* react/.* . rm -rf react yarn diff --git a/boxes/scripts/steps/sandbox/install.js b/boxes/scripts/steps/sandbox/install.js index 7448b2e359c..af6c0924fe5 100644 --- a/boxes/scripts/steps/sandbox/install.js +++ b/boxes/scripts/steps/sandbox/install.js @@ -38,7 +38,7 @@ const runPty = async (command, { success: exitSuccess, error }) => { }; async function installSandbox() { - await runPty("echo y | bash -i <(curl -s install.aztec.network); exit\n", { + await runPty("yes | bash -i <(curl -s install.aztec.network); exit\n", { success: "The Sandbox is installed!", error: "Failed to install the Sandbox. Please visit the docs at https://docs.aztec.network",