tareksander
tareksander
Can I start working on the plugin system from the `am-integration` branch or are there still changes that should be made there first? Maybe we can get plugins without shared...
I did a little bit more planning, let me know if you see any issues: - add a `com.termux.app` signature permission to Termux (signature permission, so no other app can...
Another thing I'll look into is a dummy bound service that Termux can bind to, so plugins get a lower oom_adj score but don't have to make their own foreground...
> > a \"plugin\" unix filesystem socket is placed in the same directory as the am socket (wherever that ultimately ends up being). Programs can open this socket and write...
> That's not gonna work. You can't send `ParcelFileDescriptor` in intents. Usually the Android docs are really good, but it seems that fact wasn't put in. > And we necessarily...
@agnostic-apollo I finished a first version of the plugin system. It's in my [Termux fork](https://github.com/tareksander/termux-app/tree/plugin-system). The principle: The new permission `com.termux.permission.TERMUX_SIGNATURE` as a signature permission that only Termux can hold....
@agnostic-apollo [I fixed `listenOnSocketFile()` and changed is so it calls a callback in the plugin with each connected client instead of returning the server socket](https://github.com/tareksander/termux-app/tree/plugin-system). Apparently listening on the returned...
I also tried to implement the runTask API myself, but somehow the started process is killed with a segfault. It's in the plugin-system-nativeshell branch. For security: I already implemented some...
I fixed `NativeShell`, the error came from coreutils not knowing what to do when argv[0] is not present. I added a notice for `runTask()` for that. `NativeShell` also now has...
That is definitely a Termux bug. You also can't delete a folder with files in it from the file explorer. [This line is likely responsible for it](https://github.com/termux/termux-app/blob/6c24e6ac3b3554c90894fa893a9b7a15b7e0bc28/app/src/main/java/com/termux/filepicker/TermuxDocumentsProvider.java#L144). The delete method...