From 57581e99b238c2677f311be8cac7894154e784a2 Mon Sep 17 00:00:00 2001 From: Jess Date: Tue, 11 Jun 2024 23:42:13 +0100 Subject: [PATCH] make the client have proxy methods --- .forgejo/workflows/build-client.yml | 2 +- mobf.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-client.yml b/.forgejo/workflows/build-client.yml index bafc1b7..102e034 100644 --- a/.forgejo/workflows/build-client.yml +++ b/.forgejo/workflows/build-client.yml @@ -28,7 +28,7 @@ jobs: if: github.ref == 'refs/heads/release' run: | ./gradlew Client:proguardRelease - bash mobf.sh Client/build/proguard/BaseBand-Broadway.jar + MOBFARGS=-p bash mobf.sh Client/build/proguard/BaseBand-Broadway.jar - name: Upload DSM continue-on-error: true diff --git a/mobf.sh b/mobf.sh index cdc5a53..9dc240b 100755 --- a/mobf.sh +++ b/mobf.sh @@ -3,5 +3,5 @@ curl https://data.tudbut.de/mobf.jar > mobf.jar for file in "$@" ; do echo "$file" - java -jar mobf.jar !mixins !org/ !spotify !google !sun !oshi -k "$file" || exit 1 + java -jar mobf.jar !mixins !org/ !spotify !google !sun !oshi -k $MOBFARGS "$file" || exit 1 done \ No newline at end of file