Files
nyaterm/src-tauri/src/main.rs
T
Kang d4030f6b02 feat(cloud_sync): add cloud snapshot decoding helper and integrate into main flow (#433)
- Introduced a new helper function for decoding cloud snapshots, allowing for isolated processing.
- Updated the main application flow to trigger the cloud snapshot decode helper if requested.
- Enhanced error handling and logging for snapshot resolution and decoding processes.
- Refactored existing snapshot handling logic to improve maintainability and clarity.
- Added tests to ensure the robustness of the new decoding functionality.
2026-08-13 19:30:50 +08:00

17 lines
468 B
Rust

// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
//! Windows subsystem configuration and entry.
//! Delegates to `nyaterm_lib::run()` for the actual app.
fn main() {
if nyaterm_lib::run_portable_update_helper_if_requested() {
return;
}
if nyaterm_lib::run_cloud_snapshot_decode_helper_if_requested() {
return;
}
nyaterm_lib::run();
}