Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么在手机文件夹里找到FRPC的配置文件 #14

Open
lishaozheng opened this issue May 20, 2024 · 5 comments
Open

怎么在手机文件夹里找到FRPC的配置文件 #14

lishaozheng opened this issue May 20, 2024 · 5 comments

Comments

@lishaozheng
Copy link

No description provided.

@AceDroidX
Copy link
Owner

在应用私有数据目录/data/user/0/io.github.acedroidx.frp/files/config.toml需要root权限
但应用里就可以改 为什么需要手动找它?

@lishaozheng
Copy link
Author

想获取启动后的frp的端口,我想的是 读本地的配置文件,是否有其他方法?

@AceDroidX
Copy link
Owner

在不改代码的情况下确实没啥方法
得写个ContentProvider提供接口

@lishaozheng
Copy link
Author

可以提供一下思路吗,具体是文件里面加呢?😁

@AceDroidX
Copy link
Owner

这块你可以搜一下 如何通过ContentProvider创建URI让其他应用访问文件

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

No branches or pull requests

2 participants