mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
8b8d8f61e6
Required for flathub submission refs: https://github.com/flathub/flathub/pull/3398
14 lines
887 B
Bash
Executable File
14 lines
887 B
Bash
Executable File
#!/bin/bash
|
|
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 org.freedesktop.appstream-glib
|
|
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
|
|
python3 /tmp/flatpak-cargo-generator.py Cargo.lock -o assets/flatpak/generated-sources.json
|
|
flatpak-builder --state-dir /var/tmp/wezterm-flatpak-builder --install /var/tmp/wezterm-flatpak-repo assets/flatpak/org.wezfurlong.wezterm.json --force-clean --user -y
|