mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[AltBackup]: updated makefile to directly copy over the AltBackup.app
This commit is contained in:
@@ -2534,7 +2534,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "#!/bin/sh\n\necho \"Build directory: $BUILD_DIR\"\necho \"Configuration build directory: $CONFIGURATION_BUILD_DIR\"\n\nexit 0\n\n# Define the path to your Makefile\nMAKEFILE_PATH=\"${PROJECT_DIR}/\"\n\n# Navigate to the directory containing the Makefile\ncd \"$MAKEFILE_PATH\" || exit 1\n\n# Run the make target 'ipa-altbackup'\nmake -B ipa-altbackup\n\n# Ensure that the ipa-altbackup process finishes before continuing\nif [ $? -ne 0 ]; then\n echo \"Error: ipa-altbackup failed\"\n exit 1\nelse\n echo \"ipa-altbackup completed successfully\"\nfi\n# Type a script or drag a script file from your workspace to insert its path.\n";
|
||||
shellScript = "#!/bin/sh\n\necho \"Build directory: $BUILD_DIR\"\necho \"Configuration build directory: $CONFIGURATION_BUILD_DIR\"\n\n# diagnostics\n# exit 0\n\n# Define the path to your Makefile\nMAKEFILE_PATH=\"${PROJECT_DIR}/\"\n\n# Navigate to the directory containing the Makefile\ncd \"$MAKEFILE_PATH\" || exit 1\n\n# Run the make target 'ipa-altbackup'\nmake -B ipa-altbackup\n\n# Ensure that the ipa-altbackup process finishes before continuing\nif [ $? -ne 0 ]; then\n echo \"Error: ipa-altbackup failed\"\n exit 1\nelse\n echo \"ipa-altbackup completed successfully\"\nfi\n# Type a script or drag a script file from your workspace to insert its path.\n";
|
||||
};
|
||||
AEDB4E9409D2CEE1EA126980 /* [CP] Check Pods Manifest.lock */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
||||
6
Makefile
6
Makefile
@@ -220,12 +220,12 @@ copy-altbackup:
|
||||
# @echo ""
|
||||
|
||||
# ipa-altbackup: fakesign-altbackup
|
||||
ipa-altbackup:
|
||||
ipa-altbackup: copy-altbackup
|
||||
@echo " Creating IPA for AltBackup"
|
||||
@rm -rf build/altbackup.xcarchive/Payload
|
||||
@mkdir -p build/altbackup.xcarchive/Payload/AltBackup.app
|
||||
@chmod -R 777 build/altbackup.xcarchive/Payload/AltBackup.app || true
|
||||
@cp -R $(ALT_APP) build/altbackup.xcarchive/Payload
|
||||
@#### @chmod -R 777 build/altbackup.xcarchive/Payload/AltBackup.app || true
|
||||
@cp -R "$(CONFIGURATION_BUILD_DIR)/AltBackup.app" build/altbackup.xcarchive/Payload
|
||||
@cd build/altbackup.xcarchive && zip -r ../../build/AltBackup.ipa Payload
|
||||
@cp build/AltBackup.ipa AltStore/Resources
|
||||
@echo " IPA created: AltStore/Resources/AltBackup.ipa"
|
||||
Reference in New Issue
Block a user