From f8ac26c51d9c5a4e5f34e5e73de50a8e1fa68ea9 Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Thu, 8 Aug 2024 04:05:42 +0800 Subject: [PATCH] fixed build script to properly install rust --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6c06fc1..3270ae0 100644 --- a/build.sh +++ b/build.sh @@ -20,7 +20,11 @@ docker run --rm -it \ apt update && apt upgrade -y && \ # install tauri dependencies - apt install -y cargo libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev && \ + apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev && \ + + # install rust + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ + . /root/.cargo/env && \ # install mise install -dm 755 /etc/apt/keyrings && \