Compare commits
1
Commits
v0.2.0-b15
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37346d8bde |
@@ -135,7 +135,8 @@ public class MainActivity extends AppCompatActivity {
|
||||
return;
|
||||
}
|
||||
String path = SCRIPTS + scriptName;
|
||||
Intent intent = new Intent(this, Intent.class);
|
||||
Intent intent = new Intent();
|
||||
intent.setAction("com.termux.RUN_COMMAND");
|
||||
intent.setClassName("com.termux", "com.termux.app.RunCommandService");
|
||||
intent.putExtra("com.termux.RUN_COMMAND_PATH", path);
|
||||
intent.putExtra("com.termux.RUN_COMMAND_ARGUMENTS", new String[0]);
|
||||
|
||||
Reference in new issue
Block a user