titaniumsdk: Add additional login simulation for the ipa target

This commit is contained in:
Sander van der Burg 2014-01-23 15:11:46 +01:00
parent 230a00f644
commit 1a24278161

View File

@ -84,6 +84,12 @@ stdenv.mkDerivation {
do
chmod 755 "$i"
done
# Simulate a login
mkdir -p $HOME/.titanium
cat > $HOME/.titanium/auth_session.json <<EOF
{ "loggedIn": true }
EOF
# Set the SDK to our copy
titanium --config-file $TMPDIR/config.json config sdk.defaultInstallLocation $TMPDIR/titaniumsdk