Kscript-Tools icon indicating copy to clipboard operation
Kscript-Tools copied to clipboard

Fix: Use /system/bin/sh on Android for executing commands.

Open wuseal opened this issue 8 months ago • 0 comments

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

wuseal avatar Jun 02 '25 19:06 wuseal