Files
psysonic/scripts
Psychotoxical 31d6e5bd77 feat(updater): macOS auto-update via Tauri Updater
- tauri-plugin-updater wired into lib.rs with pubkey + GitHub Releases
  endpoint in tauri.conf.json; updater:default capability granted
- AppUpdater.tsx: on macOS, the download button now invokes the updater
  plugin (check + downloadAndInstall) which downloads the signed
  .app.tar.gz, verifies the minisign signature against the bundled
  pubkey, replaces /Applications/Psysonic.app, and relaunches. Windows
  and Linux keep the existing "download DMG/EXE/AppImage via reqwest
  then point to the folder" flow
- CI: pass TAURI_SIGNING_PRIVATE_KEY + _PASSWORD to tauri-action so the
  .sig files are produced alongside the update bundles
- New generate-manifest job (after build-macos-windows) runs
  scripts/generate-update-manifest.js which downloads the .sig files
  from the release, assembles latest.json for darwin-aarch64 and
  darwin-x86_64, and uploads it back as a release asset

Windows will be added to latest.json once the Certum cert is active.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 14:29:11 +02:00
..

Scripts

install.sh - Auto-Installer for Debian and RHEL-based Systems

This script automatically downloads and installs the latest Psysonic release from GitHub Releases.

Supported Distributions

  • Debian/Ubuntu: Downloads and installs .deb package
  • RHEL/Fedora/CentOS: Downloads and installs .rpm package

Usage

curl -fsSL https://raw.githubusercontent.com/Psychotoxical/psysonic/main/scripts/install.sh | sudo bash

Manual Installation

# Download the script
wget https://raw.githubusercontent.com/Psychotoxical/psysonic/main/scripts/install.sh

# Make it executable
chmod +x install.sh

# Run with sudo
sudo ./install.sh

What it does

  1. Detects your OS type (Debian or RHEL-based)
  2. Fetches the latest release from GitHub
  3. Downloads the appropriate package (.deb or .rpm)
  4. Installs it using your system's package manager
  5. Cleans up temporary files

Requirements

  • curl - for downloading packages
  • sudo or root access
  • Internet connection
  • Supported package manager (apt-get, dnf, or yum)

Notes

  • If Psysonic is already installed, the script will ask if you want to reinstall
  • The script automatically handles dependency installation for Debian systems
  • After installation, you can launch Psysonic from your application menu or by running psysonic in the terminal