Add GitHub Actions workflows for CI and release builds, packaging scripts for Windows, macOS, Linux, and Flatpak/Snap distribution, application icons, desktop files, and release metadata resources.
14 lines
321 B
Bash
Executable File
14 lines
321 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Build the Windows .msi/.exe bundles with cargo-packager.
|
|
# Requires Windows (MSVC toolchain) - run from Git Bash or MSYS2.
|
|
|
|
set -euxo pipefail
|
|
cd "$(dirname "$0")/../desktop"
|
|
|
|
if ! command -v cargo-packager >/dev/null 2>&1; then
|
|
cargo install cargo-packager --locked
|
|
fi
|
|
|
|
cargo packager --release
|