Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "demo-stage"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
description = "Demos as Code — declarative terminal capture and multi-scene orchestration"
license = "MIT"
Expand Down
12 changes: 6 additions & 6 deletions scripts/install.ps1
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# install.ps1 — download and install demo-stage on Windows
# Usage: irm https://raw.githubusercontent.com/UniverLab/demo-stage/main/scripts/install.ps1 | iex
# install.ps1 — download and install demostage on Windows
# Usage: irm https://raw.githubusercontent.com/UniverLab/demostage/main/scripts/install.ps1 | iex
#
# Options (set as env vars before running):
# $env:VERSION = "0.1.0" # pin a specific version
# $env:INSTALL_DIR = "C:\my\bin" # custom install directory

$ErrorActionPreference = "Stop"

$Repo = "UniverLab/demo-stage"
$Binary = "demo-stage.exe"
$Repo = "UniverLab/demostage"
$Binary = "demo.exe"
$Target = "x86_64-pc-windows-msvc"
$InstallDir = if ($env:INSTALL_DIR) { $env:INSTALL_DIR } else { "$env:USERPROFILE\.local\bin" }

Expand Down Expand Up @@ -43,9 +43,9 @@ if ($env:VERSION) {
}

# --- download ---
$Archive = "demo-stage-$Tag-$Target.zip"
$Archive = "demo-$Tag-$Target.zip"
$Url = "https://github.com/$Repo/releases/download/$Tag/$Archive"
$Tmp = Join-Path $env:TEMP "demo-stage-install"
$Tmp = Join-Path $env:TEMP "demostage-install"
New-Item -ItemType Directory -Force -Path $Tmp | Out-Null

Info "download" $Url
Expand Down
8 changes: 4 additions & 4 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
# install.sh — download and install demo-stage from GitHub Releases
# Usage: curl -fsSL https://raw.githubusercontent.com/UniverLab/demo-stage/main/scripts/install.sh | sh
# install.sh — download and install demostage from GitHub Releases
# Usage: curl -fsSL https://raw.githubusercontent.com/UniverLab/demostage/main/scripts/install.sh | sh
set -eu

REPO="UniverLab/demo-stage"
BINARY="demo-stage"
REPO="UniverLab/demostage"
BINARY="demo"
INSTALL_DIR="${INSTALL_DIR:-$HOME/.local/bin}"

info() { printf ' \033[1;34m%s\033[0m %s\n' "$1" "$2"; }
Expand Down
Loading