Skip to content

Commit

Permalink
Merge pull request #118 from tmiland/disable-rust-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiland authored Oct 10, 2024
2 parents 3afd173 + 487035a commit 98f135b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions invidious_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1478,14 +1478,15 @@ install_inv_sig_helper() {

cd $USER_DIR || exit 1

git clone https://github.com/iv-org/inv_sig_helper.git
git clone https://github.com/iv-org/inv_sig_helper.git >/dev/null 2>&1
chown -R $USER_NAME:$USER_NAME inv_sig_helper
cd inv_sig_helper || exit 1
# Install cargo / rust
curl -fsSL sh.rustup.rs | sh -s -- -y
curl -fsSL sh.rustup.rs | sh -s -- -y >/dev/null 2>&1
# Source cargo
. "$HOME/.cargo/env"
. "$HOME/.cargo/env" >/dev/null 2>&1
# Build release
RUSTFLAGS=-Awarnings \
cargo build --release
# Copy service file to systemd folder
cp -rp $USER_DIR/inv_sig_helper/inv_sig_helper.service /etc/systemd/system/
Expand Down

0 comments on commit 98f135b

Please sign in to comment.