Kscript-Tools
Kscript-Tools copied to clipboard
Fix: Use /system/bin/sh on Android for executing commands.
The CommandLineTool.kt was previously hardcoding /bin/bash, which is not available on Android. This change modifies the runCommand function to dynamically check the operating system. If the OS is Android, it uses /system/bin/sh; otherwise, it defaults to /bin/bash. This ensures compatibility across different platforms.
@IsHacker03 #5