From e0a3df848a49d94a308c7a37c34c0a5207b1a83b Mon Sep 17 00:00:00 2001 From: Squ1dd13 Date: Thu, 17 Jun 2021 12:41:43 +0100 Subject: [PATCH] Fix build bugs --- deb/control | 2 +- install.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/deb/control b/deb/control index a685749..2d5be44 100644 --- a/deb/control +++ b/deb/control @@ -4,7 +4,7 @@ Depends: mobilesubstrate Provides: com.squ1dd13.csios, com.squ1dd13.zinc Conflicts: com.squ1dd13.csios, com.squ1dd13.zinc Replaces: com.squ1dd13.csios, com.squ1dd13.zinc -Version: 2.0.2 +Version: 2.0.3 Architecture: iphoneos-arm Description: CLEO for GTA:SA. Now with extra Rust! Maintainer: Squ1dd13 diff --git a/install.sh b/install.sh index 81f8125..fec584f 100644 --- a/install.sh +++ b/install.sh @@ -10,7 +10,12 @@ fi printf "=> Finished compiling Rust code.\n" # Move to the output directory. -cd target/aarch64-apple-ios/debug +if [[ $* == *--release* ]]; then + cd target/aarch64-apple-ios/release +else + cd target/aarch64-apple-ios/debug +fi + unlink ./libcleo.dylib # Convert the ar archive to a dylib.