feat: implement osu! updater command and enhance folder validation error messages
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
|
||||
use tauri::Manager;
|
||||
|
||||
pub mod utils;
|
||||
pub mod commands;
|
||||
pub mod utils;
|
||||
use crate::commands::{
|
||||
find_osu_installation, get_beatmapsets_count, get_hwid, get_osu_release_stream,
|
||||
get_osu_version, get_skins_count, valid_osu_folder, set_osu_config_value
|
||||
get_osu_version, get_skins_count, run_osu_updater, set_osu_config_value, valid_osu_folder,
|
||||
};
|
||||
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
@@ -31,7 +31,8 @@ pub fn run() {
|
||||
get_skins_count,
|
||||
get_osu_version,
|
||||
get_osu_release_stream,
|
||||
set_osu_config_value
|
||||
set_osu_config_value,
|
||||
run_osu_updater
|
||||
])
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_dialog::init())
|
||||
|
Reference in New Issue
Block a user