Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
60ff0a2
launcher: a design system in the logo's colours, on stock iced 0.14
aslan2142 Nov 23, 2026
ecb9f93
launcher: settings, command lines, output parser and state machine
aslan2142 Nov 23, 2026
71b171e
launcher: glows that fade, a gradual pill, the brand centred
aslan2142 Nov 23, 2026
15c5456
launcher: the Play page's scene, generated from the theme
aslan2142 Nov 23, 2026
6c05358
launcher: the window, its five pages, and the scene cached
aslan2142 Nov 23, 2026
6506e10
launcher: keyboard, scene-cache and screenshot tests, README
aslan2142 Nov 23, 2026
364fe98
launcher: the scene at launch, fading in; longer glows; an orange chip
aslan2142 Nov 23, 2026
b871b24
launcher: a smooth veil over the scene, stretched to the page
aslan2142 Nov 23, 2026
2459609
launcher: one corner radius for buttons and fields; every glow on one…
aslan2142 Nov 23, 2026
2d2bc66
launcher: name the Game files page in the status line; every page drawn
aslan2142 Nov 23, 2026
8b15d42
launcher: every focus ring and the choice cards' glows fade on the gl…
aslan2142 Nov 23, 2026
8e908f2
launcher: an orange main button in dark, large buttons beside it, a t…
aslan2142 Nov 23, 2026
aa2f9a5
launcher: the README says where it has run: a real window on Linux (W…
aslan2142 Nov 23, 2026
ec400e9
launcher: Cancel before the process has started stops it once it has;…
aslan2142 Nov 23, 2026
9fd6f18
ci: a Launcher workflow that runs only when the launcher changes
aslan2142 Nov 23, 2026
bac0122
launcher: a test that a Cancel before Started stops the process once …
aslan2142 Nov 23, 2026
586860d
launcher: move native Rust/iced launcher under launcher/native/ and i…
aslan2142 Nov 29, 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/native/, 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/native/**"
- "assets/logo.png"
- ".github/workflows/launcher.yml"
pull_request:
paths:
- "launcher/native/**"
- "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/native
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/native/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Loading
Loading