chore: check for missing files on start

This commit is contained in:
2025-07-07 18:28:18 +02:00
parent 2082beb387
commit 1ab19957ba
4 changed files with 43 additions and 8 deletions

View File

@@ -4,11 +4,11 @@ use tauri::Manager;
pub mod commands;
pub mod utils;
use crate::commands::{
download_ezpp_launcher_update_files, exit, find_osu_installation, get_beatmapsets_count,
get_ezpp_launcher_update_files, get_hwid, get_launcher_version, get_osu_release_stream,
get_osu_skin, get_osu_version, get_skins_count, is_osu_running, open_url_in_browser,
replace_ui_files, run_osu, run_osu_updater, set_osu_config_values, set_osu_user_config_values,
valid_osu_folder, get_platform
check_for_corruption, download_ezpp_launcher_update_files, exit, find_osu_installation,
get_beatmapsets_count, get_ezpp_launcher_update_files, get_hwid, get_launcher_version,
get_osu_release_stream, get_osu_skin, get_osu_version, get_platform, get_skins_count,
is_osu_running, open_url_in_browser, replace_ui_files, run_osu, run_osu_updater,
set_osu_config_values, set_osu_user_config_values, valid_osu_folder,
};
#[cfg_attr(mobile, tauri::mobile_entry_point)]
@@ -46,7 +46,8 @@ pub fn run() {
open_url_in_browser,
get_launcher_version,
exit,
get_platform
get_platform,
check_for_corruption
])
.plugin(tauri_plugin_fs::init())
.plugin(tauri_plugin_dialog::init())