feat(makefile): add make deploy target + BUNDLE_ID_SUFFIX#41
Open
tkgstrator wants to merge 1 commit into
Open
Conversation
Mirror the same deploy tooling KiouForge grew: build the patched IPA,
scp it to the device, install via trollstorehelper install force, and
launch the app. Kept separate from Theos's install:: so `make deploy`
does not also trigger the JB rootless .deb install.
BUNDLE_ID_SUFFIX is empty by default (patched IPA overwrites the
original app). Setting e.g. BUNDLE_ID_SUFFIX=chinlan appends
".chinlan" to the bundle id at IPA build time so the patched IPA
installs side-by-side with the original App Store copy.
INSTALLED_IPA_BUNDLE_ID composes the launch target from
TARGET_BUNDLE_ID + suffix automatically.
Related overrides (.env-friendly):
* TROLLSTORE_HELPER — /var/jb/Applications/TrollStorePersistenceHelper.
app/trollstorehelper (stable rootless path)
* INSTALLED_IPA_BUNDLE_ID — TARGET_BUNDLE_ID + optional suffix
* DEVICE_USER — root
Also plumb IPA_OUT so the deploy target knows where the packaged IPA
lands, matching KiouForge's naming.
Requires the shared submodule bump (7c78581 → c29a372) so
build_patched_ipa.sh honours --bundle-id-suffix end-to-end.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mirror the same deploy tooling KiouForge grew (IPA-Patch/KiouForge#16):
make deploytarget: build patched IPA →scpto device →trollstorehelper install force→ launch app. Kept separate from Theos'sinstall::somake deploydoes not also run the JB rootless.debinstall.BUNDLE_ID_SUFFIX— empty (default) keeps overwrite behaviour; setting e.g.BUNDLE_ID_SUFFIX=chinlanappends.chinlanto the bundle id at IPA build time, so the patched IPA installs side-by-side with the original App Store copy.INSTALLED_IPA_BUNDLE_IDcomposes the launch target automatically.IPA_OUTso the deploy target knows where the packaged IPA lands, matching KiouForge's naming.sharedsubmodule (7c78581→c29a372) to pick upbuild_patched_ipa.sh --bundle-id-suffixsupport.Dependencies
--bundle-id-suffixflag onbuild_patched_ipa.sh). Thesharedsubmodule pointer already references that PR's tip commit; merging this before Kanade#16 would leave a dangling reference.Overrides
TROLLSTORE_HELPER— path totrollstorehelper(default:/var/jb/Applications/TrollStorePersistenceHelper.app/trollstorehelper)INSTALLED_IPA_BUNDLE_ID— auto-composed fromTARGET_BUNDLE_ID + BUNDLE_ID_SUFFIXDEVICE_USER— SSH user (default:root)THEOS_DEVICE_IP— already handled by existing.envincludeTest plan
make deploycompletes end-to-end on a JB device with TrollStore.make deploy BUNDLE_ID_SUFFIX=chinlaninstalls side-by-side with an existingcom.neconome.shogiapp;open com.neconome.shogi.chinlanlaunches the patched copy.make ipa(withoutBUNDLE_ID_SUFFIX) leavesCFBundleIdentifierunchanged — overwrite behaviour preserved.make chinlan,make jailed,make package installpaths unaffected.🤖 Generated with Claude Code