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

(flatpak 添加源、修改国内镜像) flatpak report: error: The application com.tencent.WeChat/x86_64/master requires the runtime org.freedesktop.Platform/x86_64/23.08 which was not found #53

Open
ysl2 opened this issue Apr 10, 2024 · 0 comments

Comments

@ysl2
Copy link
Owner

ysl2 commented Apr 10, 2024

Ref: https://mirror.sjtu.edu.cn/docs/flathub

官方添加源的方式:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

如果之前没有添加过官方的源,就直接添加国内镜像:


sudo flatpak remote-add flathub https://mirror.sjtu.edu.cn/flathub/flathub.flatpakrepo

否则,如果之前添加过官方的源,就将其修改为国内镜像:

sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub

# 如果上述出现错误,可尝试:
wget https://mirror.sjtu.edu.cn/flathub/flathub.gpg
sudo flatpak remote-modify --gpg-import=flathub.gpg flathub

如果某次安装被中断,则需要修复:

flatpak repair
@ysl2 ysl2 changed the title flatpak report: error: The application com.tencent.WeChat/x86_64/master requires the runtime org.freedesktop.Platform/x86_64/23.08 which was not found (flatpak 添加源、修改国内镜像) flatpak report: error: The application com.tencent.WeChat/x86_64/master requires the runtime org.freedesktop.Platform/x86_64/23.08 which was not found May 6, 2024
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

1 participant