diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8d7cf00..9834932 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,6 @@ jobs: name: Build & Release runs-on: ubuntu-latest environment: DDCL - steps: - uses: actions/checkout@v2 - name: Un-Mold diff --git a/Cross.toml b/Cross.toml index 6b7326b..304347d 100644 --- a/Cross.toml +++ b/Cross.toml @@ -3,3 +3,10 @@ image = "cross-rust-windows" [target.x86_64-unknown-linux-gnu] image = "cross-rust-linux" + +[build.env] +passthrough = [ + "DDCL_SECRETS_IV", + "DDCL_SECRETS_PASS", + "DDCL_SECRETS_SALT", +] diff --git a/linux_install.sh b/linux_install.sh index c7c5f57..c0f789f 100644 --- a/linux_install.sh +++ b/linux_install.sh @@ -1,4 +1,2 @@ +sudo setcap cap_sys_ptrace=eip ddstats-rust sudo install -Dm755 ddstats-rust /usr/bin/ddstats-rust -sudo setcap cap_sys_ptrace=eip /usr/bin/ddstats-rust -mkdir -p ${XDG_CONFIG_HOME:-~/.config}/ddstats-rust/ -cp config.ron ${XDG_CONFIG_HOME:-~/.config}/ddstats-rust/