Skip to content

Commit 68c862d

Browse files
committed
flathub: Add debug env
1 parent c1ac258 commit 68c862d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/flathub.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ Flathub 的 blob 数据(`objects/`)为动态缓存,根据用户访问情
2323
sudo flatpak remote-modify flathub --url=https://mirrors.ustc.edu.cn/flathub
2424
```
2525

26+
## 调试方法
27+
28+
如果怀疑网络问题,请添加 `OSTREE_DEBUG_HTTP=1` 环境变量后再次运行 `flatpak` 命令以获取 libcurl 的详细输出,例如:
29+
30+
```shell
31+
OSTREE_DEBUG_HTTP=1 flatpak install com.github.tchx84.Flatseal
32+
```
33+
2634
## 相关链接
2735

2836
Flathub

0 commit comments

Comments
 (0)