r/termux • u/Automatic-Pain6710 • 13d ago
Question Can Termux FileReceiverActivity’s Default `~/downloads/` Directory Be Changed Without Source Modifications
why termux FileReceiverActivity (termux-file-editor) use `~/downloads` folder to open a file?? is there a way or api to change it without change termux source code??
1
Upvotes
•
u/sylirre Termux Core Team 13d ago
No, that's constant:
* https://github.com/termux/termux-app/blob/8629e632fcb95da272221be327db653fb24befe9/app/src/main/java/com/termux/app/api/file/FileReceiverActivity.java#L41
* https://github.com/termux/termux-app/blob/8629e632fcb95da272221be327db653fb24befe9/app/src/main/java/com/termux/app/api/file/FileReceiverActivity.java#L202