Closed pugaizai closed 3 days ago
support目录获取到的包含CloudOTP吗?Linux下获取到的appName好像总是小写的cloudotp
support目录获取到的包含CloudOTP吗?
yep
OK,我之后测试下Windows和其他平台下获取support目录包含不包含CloudOTP
windows的 support 目录在
@override
Future<String?> getApplicationSupportPath() =>
_createApplicationSubdirectory(WindowsKnownFolder.RoamingAppData);
所以是包含的
documents 目录倒是不会
@override
Future<String?> getApplicationDocumentsPath() =>
getPath(WindowsKnownFolder.Documents);
以上是path_provider包的源码
要把其他平台也改成getApplicationSupportPath吗?我现在倒是方便改
先一并改了吧,之后我再添加迁移数据的逻辑
才发现之前的目录在安卓中是完全找不到的
安卓是在软件内部存储里
你是格式化了一下代码吗?我看改了很多文件,这个metainfo文件是用来做什么的,发布到flathub吗?
发布到flathub吗?
这个metainfo文件主要是你在linux上打开软件商店能看到具体信息,上不上flathub无所谓,主要看你
你是格式化了一下代码吗?
运行了 dart format .
之后的结果,我看了下都是些空格。
感谢感谢,我之前还奇怪用应用商店打开deb那些元信息没展示出来
现在修改后的 linux 下的数据会存放在
$HOME/.local/share/CloudOTP