ltk_webkit_helper/ltk-webkit-helper.rs
// SPDX-License-Identifier: LGPL-2.1-only
// Copyright (C) 2026 Liberux Labs, S. L. <info@liberux.net>
//! The executable CEF starts its subprocesses from, shipped beside a host's executable on Windows.
#![ cfg_attr( windows, windows_subsystem = "windows" ) ]
#[ cfg( windows ) ]
fn main()
{
std::process::exit( ltk_webkit::helper_main() );
}
#[ cfg( not( windows ) ) ]
fn main()
{
eprintln!( "ltk-webkit-helper serves the CEF engine on Windows; WPE needs no helper" );
std::process::exit( 1 );
}