mirror of
https://github.com/opa334/TrollStore.git
synced 2026-07-02 03:00:39 +08:00
1.0.3
This commit is contained in:
@@ -47,3 +47,19 @@ cd out
|
||||
COPYFILE_DISABLE=1 tar -czvf TrollStore.tar ./TrollStore.app
|
||||
rm -rf ./TrollStore.app
|
||||
cd -
|
||||
|
||||
# Step five: compile installer
|
||||
xcodebuild -project ../Installer/TrollInstaller/TrollInstaller.xcodeproj -scheme TrollInstaller -destination generic/platform=iOS -archivePath ./out/Installer.xcarchive archive
|
||||
|
||||
if [[ -f "./out/Installer.xcarchive/Products/Applications/TrollInstaller.app/embedded.mobileprovision" ]]; then
|
||||
rm ./out/Installer.xcarchive/Products/Applications/TrollInstaller.app/embedded.mobileprovision
|
||||
fi
|
||||
|
||||
ldid -s ./out/Installer.xcarchive/Products/Applications/TrollInstaller.app
|
||||
mkdir ./out/Payload
|
||||
mv ./out/Installer.xcarchive/Products/Applications/TrollInstaller.app ./out/Payload/TrollInstaller.app
|
||||
cd out
|
||||
zip -vr TrollInstaller.ipa Payload
|
||||
cd -
|
||||
rm -rf ./out/Payload
|
||||
rm -rf ./out/Installer.xcarchive
|
||||
Reference in New Issue
Block a user