Some checks are pending
Release Multiplatform Binaries / build (deb,appimage, linux-x86_64, ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-arm64, macos-14, aarch64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-x86_64, macos-14, x86_64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (nsis, windows-x86_64, windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Release Multiplatform Binaries / create-release (push) Blocked by required conditions
- Rebased onto official Polyfrost OneLauncher v2.3.1 (commit 0e49c691)
- Preserved 100% offline authentication without requiring Microsoft accounts
- Integrated custom 3D offline skin changer with UUID character slot targeting
- Maintained CustomSkinLoader auto-configuration for Ely.by and SkinRestorer
- Maintained direct GitHub Releases auto-updater pointing to oiupoyt/OneLauncher-Cracked
- Maintained mods filter popover fix eliminating text ghosting/duplication
- Configured dev profile to prevent debug symbol bloat
33 lines
909 B
Rust
33 lines
909 B
Rust
|
|
use oneclient_core::dev;
|
|
use oneclient_common::domain::GameLoader;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tracing_subscriber::fmt::init();
|
|
|
|
let state = dev::ephemeral_state().await?;
|
|
|
|
state.bundles.sync(&state.services.content()).await?;
|
|
|
|
let bundles = state
|
|
.bundles
|
|
.list_for(&state.services.content(), "1.21.11", GameLoader::Fabric)
|
|
.await?;
|
|
|
|
println!("Visible Fabric bundles for 1.21.11: {}", bundles.len());
|
|
for bundle in bundles {
|
|
println!(
|
|
"- {} ({}) at {}",
|
|
bundle.name,
|
|
bundle.version_id,
|
|
bundle.path.display()
|
|
);
|
|
}
|
|
|
|
let all = oneclient_db::dao::bundle::list_all(&state.services.db).await?;
|
|
let hidden = all.iter().filter(|row| row.hidden != 0).count();
|
|
println!("Total catalog rows: {} (hidden: {hidden})", all.len());
|
|
|
|
Ok(())
|
|
}
|