Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
9811e94
launcher: a design system in the logo's colours, on stock iced 0.14
aslan2142 Nov 23, 2026
06e5138
launcher: settings, command lines, output parser and state machine
aslan2142 Nov 23, 2026
b3abdd1
launcher: glows that fade, a gradual pill, the brand centred
aslan2142 Nov 23, 2026
4f8178c
launcher: the Play page's scene, generated from the theme
aslan2142 Nov 23, 2026
39945e0
launcher: the window, its five pages, and the scene cached
aslan2142 Nov 23, 2026
1eeb7b1
launcher: keyboard, scene-cache and screenshot tests, README
aslan2142 Nov 23, 2026
8b738a3
launcher: the scene at launch, fading in; longer glows; an orange chip
aslan2142 Nov 23, 2026
b28ac7a
launcher: a smooth veil over the scene, stretched to the page
aslan2142 Nov 23, 2026
9ba6d0c
launcher: one corner radius for buttons and fields; every glow on one…
aslan2142 Nov 23, 2026
26021f7
launcher: name the Game files page in the status line; every page drawn
aslan2142 Nov 23, 2026
fadbb1e
launcher: every focus ring and the choice cards' glows fade on the gl…
aslan2142 Nov 23, 2026
7b5b868
launcher: an orange main button in dark, large buttons beside it, a t…
aslan2142 Nov 23, 2026
e3b2718
launcher: the README says where it has run: a real window on Linux (W…
aslan2142 Nov 23, 2026
2e0fecc
launcher: Cancel before the process has started stops it once it has;…
aslan2142 Nov 23, 2026
e37caca
ci: a Launcher workflow that runs only when the launcher changes
aslan2142 Nov 23, 2026
5f81654
launcher: a test that a Cancel before Started stops the process once …
aslan2142 Nov 23, 2026
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
59 changes: 59 additions & 0 deletions .github/workflows/launcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Builds and tests the optional launcher (launcher/, Rust) when it changes, so a change that breaks its build, its
# lints or its tests shows up in CI. It needs no GPU, no display and no game files: the tests draw the window
# offscreen on the CPU (iced's tiny-skia renderer) and run a stand-in script in place of make_game.py.
name: Launcher

on:
# What can break it: the launcher itself, the logo it builds in (include_bytes! of assets/logo.png), and this
# workflow. Every other change leaves it alone.
push:
branches: [main]
paths:
- "launcher/**"
- "assets/logo.png"
- ".github/workflows/launcher.yml"
pull_request:
paths:
- "launcher/**"
- "assets/logo.png"
- ".github/workflows/launcher.yml"
workflow_dispatch:

permissions:
contents: read

concurrency:
# Each non-PR run has its own group so a queued push or dispatch cannot replace it.
group: launcher-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
launcher:
name: launcher (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
# Windows first, as the project is; Linux for Wayland and X11 users and the same tests on another system.
os: [windows-latest, ubuntu-24.04]
runs-on: ${{ matrix.os }}
timeout-minutes: 40
defaults:
run:
working-directory: launcher
shell: bash
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# The runners' own rustup, no third-party action: the stable toolchain with its formatter and linter.
- name: Rust toolchain
run: |
rustup toolchain install stable --profile minimal --component clippy,rustfmt
rustup default stable
rustc --version
- name: Format
run: cargo fmt --check
- name: Lints
run: cargo clippy --locked --all-targets -- -D warnings
- name: Tests (offscreen on the CPU, no GPU, no game data)
run: cargo test --locked
1 change: 1 addition & 0 deletions launcher/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Loading
Loading