Skip to content

Fix OTA Update & Screen Time status persistence after app reinstall#289

Merged
rooootdev merged 2 commits into
rooootdev:mainfrom
A11pwnX:Fix
Jun 6, 2026
Merged

Fix OTA Update & Screen Time status persistence after app reinstall#289
rooootdev merged 2 commits into
rooootdev:mainfrom
A11pwnX:Fix

Conversation

@A11pwnX

@A11pwnX A11pwnX commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

This PR fixes an issue where the OTA Update and Screen Time status was incorrectly shown as Enabled after reinstalling the application.

Instead of relying on the app’s local storage, the app now directly checks the real system state from:

/private/var/db/com.apple.xpc.launchd/disabled.plist

This ensures the correct status is preserved even after the app is deleted and reinstalled.

Changes

  • Read OTA Update status from disabled.plist
  • Read Screen Time status from disabled.plist
  • Fixed incorrect default Enabled state after reinstall
  • Removed the unnecessary respring button from:
    • OTAView.swift
    • ScreenTimeView.swift

Result

The UI now always reflects the actual system configuration instead of temporary app storage values.

A11pwnX added 2 commits June 3, 2026 15:29
Check OTA update status from  /private/var/db/com.apple.xpc.launchd/disabled.plist. And removing the unnecessary respring button.
Check Screen Time status from  /private/var/db/com.apple.xpc.launchd/disabled.plist. And removing the unnecessary respring button.
@rooootdev rooootdev merged commit fb2d864 into rooootdev:main Jun 6, 2026
2 checks passed
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.

2 participants