mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:50:52 +01:00
[PR #1548] Add a native desktop launcher #1577
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1577
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1548
Author: @ytsodacan
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:desktop-builder📝 Commits (2)
7aa50cbAdd a native desktop launcher (Rust, egui) with an application icon61fbeb0Embed the icon in cross-built Windows exes, and tick only the steps running the port needs📊 Changes
15 files changed (+6321 additions, -0 deletions)
View changed files
📝
.gitignore(+1 -0)📝
README.md(+2 -0)➕
assets/logo.ico(+0 -0)➕
builder/.gitignore(+1 -0)➕
builder/Cargo.lock(+4336 -0)➕
builder/Cargo.toml(+32 -0)➕
builder/build.rs(+14 -0)➕
builder/fonts/Inter-Bold.ttf(+0 -0)➕
builder/fonts/Inter-LICENSE.txt(+92 -0)➕
builder/fonts/Inter-Regular.ttf(+0 -0)➕
builder/fonts/Inter-SemiBold.ttf(+0 -0)➕
builder/src/backend.rs(+326 -0)➕
builder/src/home.rs(+312 -0)➕
builder/src/main.rs(+859 -0)➕
builder/src/play.rs(+346 -0)📄 Description
What and why
A native desktop launcher in
builder/(Rust, egui): it builds the port withmake_game.py --no-tui, manages mods and starts the result. It replaces #1536.It covers the same ground as #851, the native launcher by aslan2142. Happy to close it, or move parts over, if you'd rather have one launcher.
Every path, mod and time in the screenshots is made up.
gta6rt.exe --run, orgta6rt.sh --runthrough Wine) with the overlay and mods folders, and says the port isn't playable yet. Stop ends the whole process tree. Output goes to a log file, so the game carries on when the launcher closes.tools/leonida_mods.py.make_game.py --find; output folder, jobs, steps, live progress and log. Only the steps running the port needs start ticked (about 30 GB).build.rsembedsassets/logo.ico(16 to 256 px) in the Windows exe, cross-builds included;cargo bundlemetadata covers a macOS .app.The layout follows the Hookshot builder; the code is new. Bundles the Inter font (SIL OFL 1.1, license included).
.gitignoregets an exception forassets/logo.ico.Tested
On macOS: release build,
cargo test(10 tests: log parsing, starting and stopping a stand-in port, Cancel, settings, and the repository's own mod manager), and the screens above. The docs tests andcheck_no_game_data.pypass.For the cross-build icon,
build.rswas run with the MSVC target variables and llvm-rc: the resource file holds the icon group and its images. tiguan26 ran7aa50cb67on Linux and cross-linked it for Windows (see the comment below).Not tested: starting the real port, a full build with game files, running on Windows.
GPUs tested: n/a
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.