Draft
Conversation
- Implemented the `get_hooks` method in HymoFS to retrieve kernel hook status. - Updated the main application to display hooks information in the API response. - Enhanced the command-line interface to support a new `hooks` subcommand. - Added translations for hooks status in the web UI. - Updated the SystemInfo type to include hooks data for better integration with the front-end.
…amount scripts - Changed the symlink creation in customize.sh to use a defined HYMO_MODULE_PATH for consistency. - Improved logging in metamount.sh to include boot markers and error messages for better debugging and traceability. - Ensured stderr from hymod execution is redirected to the log file for capturing potential errors before initialization.
- Updated the Logger class to conditionally write to stderr only when no log file is open, preventing output pollution during WebUI or KernelSU executions. - This change ensures that API JSON remains clean for parsing while maintaining logging functionality when needed.
- Introduced a LogRedirector to redirect clog output to a log file, ensuring that logging is captured instead of being sent to stderr. - Updated the Logger class to remove the log file path parameter, simplifying initialization. - Changed command output in various parts of the code to use stderr for error messages instead of stdout, improving clarity and consistency in logging. - Enhanced API response handling in the web UI to ensure proper output parsing from KernelSU execution.
- Eliminated the LogRedirector structure, redirecting logs directly to stderr instead of clog, aligning with kpm_support style. - Updated the Logger class to log messages to stderr, ensuring consistent error handling and output capture. - Enhanced logging throughout the main application to provide clearer status updates and information during execution.
- Introduced a LogRedirector structure to redirect clog output to a log file, enhancing logging capabilities without relying on shell redirection. - Updated the Logger class to log messages to clog, ensuring consistent logging behavior throughout the application. - Adjusted main function to initialize logging and provide informative startup messages, improving traceability during execution.
- Added a condition to set the `hymofs_active` flag when HymoFS is enabled, ensuring the module name reflects its active state. - Improved logging to provide clearer information about the HymoFS enabled status during execution.
- Removed unnecessary logging for boot markers and error messages in metamount.sh to streamline the script. - Updated the condition for checking hooks in HymoFSPage.tsx to use a more explicit null check, improving code clarity. - Enhanced the display of hooks status in the web UI to provide a default message when no active hooks are present.
- Updated the output format for hooks in the main function to remove unnecessary quotes, ensuring valid JSON structure. - Adjusted the hooks response in the "hooks" subcommand to maintain consistency in JSON formatting.
- Introduced a mechanism to check and load the LKM based on the configuration in lkm_autoload. - Enhanced logging to indicate the start of the metamount process, improving traceability during boot. - Removed LKM loading logic from post-fs-data.sh to streamline the script and centralize functionality in metamount.sh.
- Eliminated the anti-bootloop check and associated file handling to simplify the script. - Retained the LKM autoloading functionality while enhancing the logging mechanism for better traceability. - Adjusted the execution command for hymod to remove the timeout, ensuring immediate execution during the boot process.
- Changed logging level from verbose to info for the hymod startup message to improve clarity. - Updated default configuration file path from "config.toml" to "config.json" for consistency across the application. - Redirected output from std::cout to std::cerr in multiple functions to standardize error handling and improve logging practices in the core modules.
- Introduced experimental support for YukiSU integration, allowing HymoFS to be embedded in init_boot for earlier loading. - Updated Logger class to support file logging, enabling better traceability of log messages. - Enhanced configuration handling to include new options for HymoFS features such as mount hiding and maps spoofing. - Improved command output handling in various modules to ensure consistent logging behavior.
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.
get_hooksmethod in HymoFS to retrieve kernel hook status.hookssubcommand.