diff --git a/README.md b/README.md index 4548b15..8d99794 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ simject is BSD-licensed. See `LICENSE` for more information. sudo xcode-select -s /Applications/Xcode.app git clone https://github.com/akemin-dayo/simject.git cd simject/ -make setup +make all ``` -**Note:** During the process, you will be asked by `sudo` to enter your login password. Please note that it is normal for nothing to be displayed as you type your password. +**Note:** During the process, you may be asked by `sudo` to enter your login password. Please note that it is normal for nothing to be displayed as you type your password. Now, we need to create a version of `CydiaSubstrate.framework` that has support for the `x86_64` (64-bit) and/or `i386` (32-bit) architectures. diff --git a/installsubstrate.sh b/installsubstrate.sh index f57ebe3..ecde674 100755 --- a/installsubstrate.sh +++ b/installsubstrate.sh @@ -1,4 +1,6 @@ -#!/bin/sh +#!/usr/bin/env bash + +set -e if [ "$EUID" -ne 0 ] then @@ -40,7 +42,7 @@ then elif [[ $1 = "subst" ]] then echo "Installing Substitute..." - rm -rf CydiaSubstrate.framework + rm -rf substitute CydiaSubstrate.framework git clone https://github.com/PoomSmart/substitute.git cd substitute/ ./configure --xcode-sdk=iphonesimulator --xcode-archs=x86_64 && make