首先记住几个相关站点:
https://sjtug.org/post/mirror-help/flathub/
https://flathub.org/
相关命令:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
或者直接
flatpak remote-add --if-not-exists sjtu https://mirror.sjtu.edu.cn/flathub/flathub.flatpakrepo
查看相关源:
flatpak remotes