Skip to content

Add CI to build rootless DEB and harden FLEX explorer/network handling#1

Merged
devnoname120 merged 5 commits into
rootlessfrom
codex/find-auto-launch-behavior-of-flexing
Feb 15, 2026
Merged

Add CI to build rootless DEB and harden FLEX explorer/network handling#1
devnoname120 merged 5 commits into
rootlessfrom
codex/find-auto-launch-behavior-of-flexing

Conversation

@devnoname120

Copy link
Copy Markdown
Owner

Motivation

  • Produce downloadable rootless DEB artifacts from CI so builds are reproducible and available without requiring a local Theos environment.
  • Prevent unintended auto-showing of the FLEX explorer in SpringBoard and ensure auto-show occurs at most once per process.
  • Enable FLEX network monitoring robustly across FLEX variants by trying the preferred setter and falling back to older selectors while logging which selector was used.

Description

  • Add a GitHub Actions workflow at .github/workflows/build-rootless-deb.yml that sets up Theos, runs make clean package FINALPACKAGE=1 with THEOS_PACKAGE_SCHEME=rootless, and uploads generated packages/*.deb as the flexing-rootless-debs artifact.
  • In Tweak.xm add a didAutoShowExplorer flag and isSpringBoardProcess() helper to avoid auto-showing the explorer in SpringBoard and to limit auto-show to a single attempt.
  • Add enableNetworkMonitoringIfPossible() which prefers setNetworkDebuggingEnabled: and falls back to enableNetworkDebugging, invokes the matching method signatures, and logs the selector used.
  • Call enableNetworkMonitoringIfPossible() after resolving manager and show in the %ctor, and update UIWindow -becomeKeyWindow to perform the single auto-show (on the main queue) when appropriate while keeping the 3-finger long-press gesture behavior.

Testing

  • Inspected and edited files with scripted commands (viewed Makefiles and verified the new workflow using nl -ba .github/workflows/build-rootless-deb.yml), and committed the changes successfully.
  • The workflow is configured to run on push, pull_request, and workflow_dispatch and will perform an actual build using the Theos action in CI (artifact upload step included).
  • Local make was not run for this workflow-only change and previous local builds failed in this environment due to a missing Theos include (/aggregate.mk), so full build validation is expected to occur in GitHub Actions (pending workflow run).

Codex Task

@devnoname120 devnoname120 merged commit 860b0a4 into rootless Feb 15, 2026
1 check passed
@devnoname120 devnoname120 deleted the codex/find-auto-launch-behavior-of-flexing branch February 15, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant