Fixes critical installation failures observed on APatch and KernelSU, and cleans up redundant files. #7
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.
Changes included:
Fixed
customize.shLogic & Pathing:MODPATHdefinition (which incorrectly resolved toshon APatch) and manual directory creation.$MODPATHvariable, ensuring cross-manager compatibility and preventing the "empty folder" bug.Fixed Script Encoding (BOM & CRLF):
customize.shcontained a UTF-8 Byte Order Mark (BOM) and Windows (CRLF) line endings.#!/system/bin/sh), resulting in "not found" errors during execution. The file has been converted to standard Unix format (LF) without BOM.curl -sL "..." | cat -vshowedM-oM-;M-?#!/system/bin/sh.Improved Config Persistence:
configfolder—extracted automatically by the manager—is deleted (rm -rf) and replaced with the user's files.Removed Redundant Boot Scripts:
service.shandpost-fs-data.sh.Status: Tested and verified working on APatch and Magisk (Fresh Install & Upgrade scenarios).