Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
41dc42c
feat(star-gate): exigir estrela no GitHub e remover LTK em favor do m…
Isllanrx Nov 14, 2026
eb58870
fix(deps): atualizar pulldown-cmark para 0.13.5 corrigindo RUSTSEC-20…
Isllanrx Nov 14, 2026
9d5832b
fix(inject): versionar glue nativo publico para o repo compilar sem o…
Isllanrx Nov 14, 2026
0fe9dc4
fix(deps): pulldown-cmark 0.13.6 cobrindo RUSTSEC-2026-0433 alem do 0414
Isllanrx Nov 14, 2026
1d57333
fix(app): versionar diagnostics native_integration para o repo public…
Isllanrx Nov 14, 2026
68899b9
style(inject): remover comentarios do glue nativo conforme regra zero…
Isllanrx Nov 14, 2026
0b9ff5c
test(inject): cobrir spawn_patcher para provider Mock e configuracoes…
Isllanrx Nov 14, 2026
1111dd6
style(inject): formatar assert do teste de configuracao nativa ausente
Isllanrx Nov 14, 2026
f87d8b9
docs(readme): padronizar as duas capturas no mesmo tamanho
Isllanrx Nov 14, 2026
dbceb0f
fix(release): restore the push trigger on main
Isllanrx Nov 14, 2026
b8d193d
fix(relay): force undici >= 7.30.1 to close dependabot advisories
Isllanrx Nov 14, 2026
663ad9d
ci(release): sign binaries with Certum SimplySign and validate file e…
Isllanrx Nov 16, 2026
20aec0e
feat(platform): read a process desktop and the PE file version
Isllanrx Nov 17, 2026
a2f085b
feat(bridge): add bullet-bridge and bullet-launcher
Isllanrx Nov 17, 2026
dbdd6bf
feat(inject): drive injection through the Mod Manager bridge
Isllanrx Nov 17, 2026
0cef66e
feat(app): use the bridge provider and check the Mod Manager install
Isllanrx Nov 17, 2026
489ab10
fix(classic): keep submesh-relative indices in form markers and merge…
Isllanrx Nov 17, 2026
3727ac7
feat(classic): rebase the slot 0 identity of generated skins
Isllanrx Nov 17, 2026
184a6ca
fix(star-gate): require an online star check and recheck it while Bul…
Isllanrx Nov 17, 2026
8a6bee4
build(release): package, sign and install the bridge tools
Isllanrx Nov 17, 2026
16cba70
Merge main into dev
Isllanrx Nov 17, 2026
cbf49dc
Merge main into dev
Isllanrx Nov 17, 2026
537c161
chore(repo): index the assets folder and translate a .gitignore note
Isllanrx Nov 17, 2026
28ffcc3
ci: restore the cargo cache on every run and save it only on push
Isllanrx Nov 17, 2026
46a400f
fix(release): unwrap the OTP path for Certum and align the pipeline w…
Isllanrx Nov 17, 2026
9abef52
Merge main into dev
Isllanrx Nov 17, 2026
39e5c3c
perf: faster cold load on hard drives, quieter match end, lighter Ctr…
Isllanrx Nov 17, 2026
4756177
Merge main into dev
Isllanrx Nov 17, 2026
4807330
fix(release): ship unsigned and stop install.ps1 from refusing on the…
Isllanrx Nov 17, 2026
9d9ac3c
fix(baseskin): structural SKL/SKN rebuild, Skin<n> event cleanup, and…
Isllanrx Nov 20, 2026
f6b5659
refactor: extract LTK bridge to private bullet_ltk repo and link in r…
Isllanrx Nov 20, 2026
22b123c
ci(release): authenticate private bullet_ltk checkout with read-only …
Isllanrx Nov 20, 2026
fcd10fe
chore(dev): align merge base with main
Isllanrx Nov 20, 2026
a626bc0
docs(readme): remove OpenSSF Scorecard badge
Isllanrx Nov 20, 2026
2800e49
feat: v13 native in-client UI, customize identity E2EE party sync, TF…
Isllanrx Nov 21, 2026
52f2f67
feat: fix Exalted/multi-form default submesh visibility, add 12-domai…
Isllanrx Nov 21, 2026
139d150
chore(dev): record origin/main merge base
Isllanrx Nov 21, 2026
507c734
docs(readme): remove LTK/Rose mentions, restore Windows CLI install, …
Isllanrx Nov 21, 2026
cf04bb8
docs: streamline README, Code of Conduct, Contributing, and Security …
Isllanrx Nov 21, 2026
ea241b1
docs(readme): keep only essentials, clear educational disclaimer, and…
Isllanrx Nov 21, 2026
debaa7f
fix(platform): read VS_FIXEDFILEINFO via bounds-checked slice instead…
Isllanrx Nov 21, 2026
7af7d8d
docs(readme): restore download, stars, release, and discord badges in…
Isllanrx Nov 21, 2026
398b2cc
chore(git): sync dev with origin/main after PR #64 squash merge
Isllanrx Nov 21, 2026
516b184
fix: universal LTK discovery, repair UI feedback, Windows CLI install…
Isllanrx Nov 22, 2026
556ad81
fix: harden cross-account UAC profile discovery, macOS cfg gates, CI …
Isllanrx Nov 22, 2026
d82f955
Merge branch 'main' into dev
Isllanrx Nov 22, 2026
ff4df14
feat(ui,party,i18n): Hextech NoticeDialog, LTK update check, 25 langu…
Isllanrx Nov 23, 2026
a72110d
chore: sync dev with origin/dev
Isllanrx Nov 23, 2026
898baf9
chore: sync dev with main (v1.16)
Isllanrx Nov 23, 2026
f1706a1
feat(ui,mods): scan global skin mods, refresh on folder open and poli…
Isllanrx Nov 23, 2026
7392b9d
feat(party): default 10-player relay with automatic multi-relay failover
Isllanrx 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
1 change: 1 addition & 0 deletions Cargo.lock

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

64 changes: 63 additions & 1 deletion crates/bullet-app/src/boot/startup/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use std::os::windows::process::CommandExt;
use std::path::PathBuf;
use std::time::Duration;

use bullet_app::ltk_update;
use bullet_app::self_update::{self, Offer, PendingUpdate, StagedSetup};
use bullet_app::update_check;
use bullet_core::phase::GamePhase;
Expand Down Expand Up @@ -102,9 +103,70 @@ async fn ask(ctx: &UpdateOffer, version: &str) -> Option<bool> {
let text = i18n::text();
let title = i18n::fill(text.update_offer_title, "version", version);
let body = i18n::fill(text.update_offer_body, "version", version);
ask_dialog(
ctx,
title,
body,
text.panel_update_download.to_owned(),
text.notice_btn_no.to_owned(),
)
.await
}

pub async fn offer_ltk(ctx: UpdateOffer, installed: String, latest: String) {
let text = i18n::text();
let title = i18n::fill(text.ltk_update_title, "latest", &latest);
let body = i18n::fill(
&i18n::fill(text.ltk_update_body, "latest", &latest),
"installed",
&installed,
);
match ask_dialog(
&ctx,
title,
body,
text.ltk_update_download.to_owned(),
text.notice_btn_no.to_owned(),
)
.await
{
Some(true) => {
info!(
installed,
latest, "The user chose to download the newer LTK Manager"
);
ltk_update::remember_notified(&ctx.state_dir, &latest);
if let Err(e) = bullet_platform::shell::open_web_page(ltk_update::LTK_RELEASES_PAGE) {
warn!(error = %e, "Could not open the LTK Manager download page");
}
}
Some(false) => {
info!(
installed,
latest, "The user declined the LTK Manager update notice"
);
ltk_update::remember_notified(&ctx.state_dir, &latest);
}
None => {
info!(
latest,
"The LTK Manager update dialog closed unanswered; it will be offered later"
);
}
}
}

async fn ask_dialog(
ctx: &UpdateOffer,
title: String,
body: String,
confirm: String,
cancel: String,
) -> Option<bool> {
let dialog_title = title.clone();
let mut question = tokio::task::spawn_blocking(move || {
bullet_platform::shell::message_box_question(&title, &body)
bullet_platform::notice::ask_action(&title, &body, &confirm, &cancel)
.unwrap_or_else(|_| bullet_platform::shell::message_box_question(&title, &body))
});
let mut state_rx = ctx.state_rx.clone();
loop {
Expand Down
121 changes: 38 additions & 83 deletions crates/bullet-app/src/boot/tray/panel.rs
Original file line number Diff line number Diff line change
@@ -1,53 +1,9 @@
use tokio_util::sync::CancellationToken;
use tracing::{debug, info, warn};

pub fn tray_status(
state: &bullet_core::state::AppState,
tools_missing: bool,
text: &'static bullet_platform::i18n::Text,
) -> &'static str {
use bullet_core::phase::GamePhase;
use bullet_core::state::InjectionStatus;

if tools_missing {
return text.status_tools_missing;
}
if !state.lcu_connected {
return text.status_waiting_league;
}
match state.phase {
GamePhase::Lobby => text.status_lobby,
GamePhase::Matchmaking | GamePhase::CheckedIntoTournament => text.status_matchmaking,
GamePhase::ReadyCheck => text.status_ready_check,
GamePhase::ChampSelect => text.status_champ_select,
GamePhase::Finalization => text.status_finalization,

GamePhase::GameStart | GamePhase::InProgress => match state.injection {
InjectionStatus::Pending => text.status_injecting,
InjectionStatus::Confirmed => text.status_in_game_confirmed,
InjectionStatus::Unconfirmed => text.status_in_game_unconfirmed,
InjectionStatus::PatcherExited { code }
if bullet_inject::pipeline::closed_by_another_program(code) =>
{
text.status_in_game_patcher_killed
}
InjectionStatus::Failed { .. } | InjectionStatus::PatcherExited { .. } => {
text.status_in_game_failed
}
InjectionStatus::Idle => text.status_in_game,
},
GamePhase::Reconnect => text.status_reconnecting,
GamePhase::None
| GamePhase::WaitingForStats
| GamePhase::PreEndOfGame
| GamePhase::EndOfGame
| GamePhase::FailedToLaunch
| GamePhase::TerminatedInError => text.status_connected,
}
}

pub struct ReleaseNotices {
pub bullet: bullet_app::update_check::UpdateNotice,
pub ltk: bullet_app::ltk_update::LtkUpdateNotice,
pub custom_mods: bullet_app::mod_repair::CustomModsNotice,
pub repair: bullet_app::control_panel::RepairState,
}
Expand Down Expand Up @@ -100,12 +56,15 @@ pub fn panel_links_for(
light_loading: bullet_platform::preferences::LIGHT_LOADING.is_enabled(),
in_client_ui: bullet_platform::preferences::IN_CLIENT_UI.is_enabled(),
autostart,
reduce_motion: bullet_platform::preferences::REDUCE_MOTION.is_enabled(),
notifications: bullet_platform::preferences::NOTIFICATIONS.is_enabled(),
tools_present: bullet_app::control_panel::tools_present(&tools),
manager,
game_found: bullet_app::control_panel::game_found(&game_dir),
lcu_connected,
elevated,
update: notices.bullet.available().map(|latest| latest.to_string()),
ltk_update: notices.ltk.available(),
custom_mods: notices.custom_mods.summary(),
stats: bullet_platform::paths::state_dir()
.ok()
Expand Down Expand Up @@ -190,6 +149,7 @@ impl TrayActions {
let text = bullet_platform::i18n::text();
let outcome =
bullet_app::mod_repair::restore_originals(&self.mod_roots, &self.state_dir);
let ok = !outcome.busy && outcome.failed.is_empty();
let body = if outcome.busy {
text.custom_mods_restore_busy.to_owned()
} else if let Some(first) = outcome.failed.first() {
Expand All @@ -202,6 +162,8 @@ impl TrayActions {
&outcome.restored.to_string(),
)
};
self.repair.set_feedback(ok, body.clone());
bullet_platform::panel::refresh_open_panel();
self.notifier.notify(text.custom_mods_restored_title, &body);
}
bullet_platform::tray::TrayEvent::Activated => {
Expand Down Expand Up @@ -273,45 +235,10 @@ impl TrayActions {
bullet_platform::welcome::show_about_window();
}
bullet_platform::tray::TrayEvent::MarkProblem => {
let phase = self.mark_state.borrow().phase;
match self.mark_live.latest() {
Some(live) => warn!(
phase = ?phase,
game_time = %self.mark_live
.game_time_at(std::time::SystemTime::now())
.map(bullet_app::live_game::format_game_time)
.unwrap_or_default(),
champion = %live.champion,
skin_id = live.skin_id,
skin_name = %live.skin_name,
"User marked a problem"
),
None => {
warn!(phase = ?phase, "User marked a problem (no live game data at this moment)")
}
}
super::repair::handle_mark_problem(&self.mark_state, &self.mark_live, &self.repair);
}
bullet_platform::tray::TrayEvent::ExportDiagnostics => {
match self.logs_dir.as_deref().map(|dir| {
bullet_app::control_panel::export_diagnostics(
dir,
std::time::SystemTime::now(),
&[],
)
}) {
Some(Ok(zip)) => {
info!(file = %zip.display(), "Diagnostics exported");
if let Some(dir) = zip.parent() {
if let Err(e) = bullet_platform::shell::open_folder(dir) {
warn!(error = %e, "Could not open the diagnostics folder");
}
}
}
Some(Err(e)) => warn!(error = %e, "Diagnostics could not be exported"),
None => warn!(
"Diagnostics requested, but the logs folder could not be resolved at boot"
),
}
super::repair::handle_export_diagnostics(self.logs_dir.as_deref(), &self.repair);
}
bullet_platform::tray::TrayEvent::RepairSkins => {
super::repair::spawn_repair_skins(
Expand All @@ -329,12 +256,40 @@ impl TrayActions {
self.notifier.clone(),
);
}
bullet_platform::tray::TrayEvent::PickLtkManager => {
super::repair::spawn_pick_ltk_manager(
self.repair.clone(),
self.state_dir.clone(),
self.notifier.clone(),
);
}
bullet_platform::tray::TrayEvent::ToggleReduceMotion => {
match bullet_platform::preferences::REDUCE_MOTION.toggle() {
Ok(enabled) => info!(enabled, "Reduced motion changed from the control panel"),
Err(e) => warn!(error = %e, "Could not change the reduced motion setting"),
}
}
bullet_platform::tray::TrayEvent::ToggleNotifications => {
match bullet_platform::preferences::NOTIFICATIONS.toggle() {
Ok(enabled) => info!(enabled, "Notifications changed from the control panel"),
Err(e) => warn!(error = %e, "Could not change the notifications setting"),
}
}
bullet_platform::tray::TrayEvent::ResetDefaults => {
super::repair::handle_reset_defaults(&self.repair);
}
bullet_platform::tray::TrayEvent::OpenRelease => {
let page = bullet_app::update_check::release_page();
if let Err(e) = bullet_platform::shell::open_web_page(&page) {
warn!(error = %e, page = %page, "Could not open the release page");
}
}
bullet_platform::tray::TrayEvent::OpenLtkRelease => {
let page = bullet_app::ltk_update::LTK_RELEASES_PAGE;
if let Err(e) = bullet_platform::shell::open_web_page(page) {
warn!(error = %e, page = %page, "Could not open the LTK Manager release page");
}
}
bullet_platform::tray::TrayEvent::OpenProject => {
let page = bullet_platform::star_gate::REPOSITORY_URL;
if let Err(e) = bullet_platform::shell::open_web_page(page) {
Expand All @@ -361,7 +316,7 @@ impl TrayActions {

#[cfg(test)]
mod tests {
use super::tray_status;
use super::super::tasks::tray_status;
use bullet_core::phase::GamePhase;
use bullet_core::state::{AppState, InjectionStatus};

Expand Down
Loading
Loading