#!/bin/sh # Starts Croft Plus again from nothing on this computer (Linux or macOS): removes the program, its messages and its pairing key (and an old "umdesk" copy), # then installs the newest version and puts Croft Plus in your applications menu. Run it as yourself, not with sudo. # curl -fsSL https://get.croftmessaging.com/reinstall-pc.sh | sh set -eu T=$(mktemp -d); trap 'rm -rf "$T"' EXIT INT TERM curl -fsSL --retry 3 "https://get.croftmessaging.com/desktop/install.sh" -o "$T/install.sh" sh "$T/install.sh" --fresh --base-url 'https://get.croftmessaging.com/desktop/{file}' --require-signature "$@"