1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00

update flatpak runtime version

Looking at this because the build failed in the latest release:
https://github.com/flathub/org.wezfurlong.wezterm/pull/16
This commit is contained in:
Wez Furlong 2024-01-27 12:46:31 -07:00
parent fdcf1a794b
commit 1e27cded2f
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"app-id": "org.wezfurlong.wezterm",
"runtime": "org.freedesktop.Platform",
"runtime-version": "21.08",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"

View File

@ -2,10 +2,13 @@
set -xe
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --noninteractive --user flathub org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08 org.freedesktop.Sdk.Extension.rust-stable//21.08
flatpak install --noninteractive --user flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08 org.freedesktop.Sdk.Extension.rust-stable//23.08
flatpak install --noninteractive --user org.freedesktop.appstream-glib
flatpak run --env=G_DEBUG=fatal-criticals org.freedesktop.appstream-glib validate assets/wezterm.appdata.xml
# Disabled for now: seems like it has an OpenSSL problem and fails to use SSL when
# validating the screenshot URLs
#flatpak run --env=G_DEBUG=fatal-criticals org.freedesktop.appstream-glib validate assets/wezterm.appdata.xml
python3 -m pip install toml aiohttp
curl -L 'https://github.com/flatpak/flatpak-builder-tools/raw/master/cargo/flatpak-cargo-generator.py' > /tmp/flatpak-cargo-generator.py