问题描述
SL4A拥有所有的脚本在/ SD卡/ SL4A /脚本
sl4a has all of its scripts under /sdcard/sl4a/scripts
是否有可能运行一个脚本,生活在别处:
Is it possible to run a script that lives elsewhere:
例如。从/ SD卡/ Dropbox的/ pyscripts
[眼色]
e.g. from /sdcard/dropbox/pyscripts[wink wink]
推荐答案
我想答案是否定在这个时刻。
I think the answer is no at this moment in time.
该应用程序没有一个选项来设置该路径。唯一的其他想法我是创建从Dropbox的文件夹中的脚本目录的符号链接。但是,这有一些重大问题也一样,大多数SD卡为FAT32的,它只是不支持符号链接的格式最大beeing。如果你有一个不同的文件系统,你可以尝试,虽然这条道路。如果不知道需要根 - 我想象写在SD卡不应该要求。
也不能肯定是否应用正确处理链接,但在理论上整个链路应该是不可见的,并作为一个正常的文件夹进行处理。
The app does not have a option to set that path. The only other idea I had was to create a symbolic link from the dropbox folder to the scripts dir. But this has a few major problems too, the biggest beeing that most SD-cards are formatted with FAT32, which simply does not support symbolic links. If you have a different filesystem, you can try that path though. Not sure if root is required - I'd imagine that writing on the sdcard should not require that.Also not sure if the app handles a link correctly, but in theory the whole link should be invisible to it and be handled as a normal folder.
这篇关于有没有办法从其他地方的目录运行SL4A脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!