- 添加 README.md 项目文档 - 更新 .gitignore 排除 JE-Skin/、eskin-finger-sdk/ 及构建产物 - 从 git 跟踪中移除 JE-Skin 和 eskin-finger-sdk Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
30 lines
652 B
Rust
30 lines
652 B
Rust
mod app;
|
|
mod connection;
|
|
mod matrix;
|
|
mod render;
|
|
mod serial_core;
|
|
mod theme;
|
|
mod ui;
|
|
mod utils;
|
|
use app::EskinDesktopApp;
|
|
use eframe::egui;
|
|
|
|
fn main() -> eframe::Result<()> {
|
|
env_logger::init();
|
|
|
|
let options = eframe::NativeOptions {
|
|
renderer: eframe::Renderer::Wgpu,
|
|
viewport: egui::ViewportBuilder::default()
|
|
.with_inner_size([1920.0, 1080.0])
|
|
.with_min_inner_size([1280.0, 720.0])
|
|
.with_decorations(false),
|
|
..Default::default()
|
|
};
|
|
|
|
eframe::run_native(
|
|
"Eskin 模型播放器",
|
|
options,
|
|
Box::new(|cc| Ok(Box::new(EskinDesktopApp::new(cc)))),
|
|
)
|
|
}
|