mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-09-22 16:01:31 +00:00
- 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.
17 lines
468 B
Rust
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();
|
|
}
|