Skip to content

Conversation

@wuseal
Copy link
Owner

@wuseal wuseal commented Jun 2, 2025

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

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.
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