move out dir

This commit is contained in:
Roy Olav Purser 2021-06-15 17:32:31 +02:00
parent 597b75cbe8
commit 0b5feb4bff
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -36,8 +36,11 @@ then
browser=$(which chromium 2> /dev/null) browser=$(which chromium 2> /dev/null)
fi fi
cp "${dir}/chrome" "${temp_dir}/out/proxy-stream-${DRONE_TAG}" release_folder="${temp_dir}/out/proxy-stream-${DRONE_TAG}"
cp -r "${dir}/chrome" "${release_folder}"
${browser} --disable-gpu --no-sandbox --user-data-dir=${chrome_dir} --pack-extension="${temp_dir}/out/proxy-stream-${DRONE_TAG}" --pack-extension-key="${temp_dir}/privkey.pem" ${browser} --disable-gpu --no-sandbox --user-data-dir=${chrome_dir} --pack-extension="${temp_dir}/out/proxy-stream-${DRONE_TAG}" --pack-extension-key="${temp_dir}/privkey.pem"
rm -rf "${release_folder}"
mv "${temp_dir}/out" "${dir}/out"
rm -rf ${temp_dir} rm -rf ${temp_dir}