mirror of
https://github.com/xzeldon/razer-battery-report.git
synced 2025-07-15 10:24:35 +03:00
- Added dependency parking_lot to Cargo.toml configuration. - Added a DebugConsole struct to manage and toggle the visibility of a debug console window.
21 lines
374 B
Rust
21 lines
374 B
Rust
#![windows_subsystem = "windows"]
|
|
|
|
use console::DebugConsole;
|
|
use tray::TrayApp;
|
|
|
|
mod console;
|
|
mod controller;
|
|
mod devices;
|
|
mod manager;
|
|
mod tray;
|
|
|
|
fn main() {
|
|
let console = DebugConsole::new("Razer Battery Report Debug Console");
|
|
|
|
std::env::set_var("RUST_LOG", "trace");
|
|
pretty_env_logger::init();
|
|
|
|
let checker = TrayApp::new(console);
|
|
checker.run();
|
|
}
|