diff --git a/packages/desktop-electron/bin/update-client b/packages/desktop-electron/bin/update-client index 39dc036ad9110c81e322b448b3d8a3815a26e994..3560b0bcf08a4c01e461258a67533962b9c31259 100755 --- a/packages/desktop-electron/bin/update-client +++ b/packages/desktop-electron/bin/update-client @@ -1,13 +1,13 @@ #!/bin/bash -e -ROOT=`dirname $0` +ROOT=`dirname $0`/.. -rm -rf ${ROOT}/../client-build -cp -r ${ROOT}/../../desktop-client/build ${ROOT}/../client-build +rm -rf ${ROOT}/client-build +cp -r ${ROOT}/../desktop-client/build ${ROOT}/client-build # Remove the embedded backend for the browser version. Will improve # this process -rm -rf ${ROOT}/../client-build/data -rm -rf ${ROOT}/../client-build/*kcab.* -rm -rf ${ROOT}/../client-build/*.wasm -rm -rf ${ROOT}/../client-build/*.map +rm -rf ${ROOT}/client-build/data +rm -rf ${ROOT}/client-build/*kcab.* +rm -rf ${ROOT}/client-build/*.wasm +rm -rf ${ROOT}/client-build/*.map