From 6ca9d889957302276790a34371e3a12c0606aa82 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Fri, 10 Apr 2026 23:57:19 +0300 Subject: [PATCH] Install SimpleX Chat from the GitHub repository --- .local/share/github-versions/simplex-chat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 .local/share/github-versions/simplex-chat diff --git a/.local/share/github-versions/simplex-chat b/.local/share/github-versions/simplex-chat new file mode 100755 index 0000000..82e7977 --- /dev/null +++ b/.local/share/github-versions/simplex-chat @@ -0,0 +1,20 @@ +#! /usr/bin/bash + +set -euo pipefail +IFS=$'\n\t' + +package=simplex-chat +repo=simplex-chat/simplex-chat + +sc_resource() { + echo "simplex-chat-ubuntu-24_04-x86_64" +} + +install_sc() { + tempfile="$(mktemp)" && \ + cat - > "${tempfile}" && \ + chmod 550 "${tempfile}" && \ + mv "${tempfile}" "$(systemd-path user-binaries)"/simplex-chat +} + +github_update "${package}" "${repo}" sc_resource install_sc