mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 08:04:52 +01:00
cleanup
This commit is contained in:
@@ -13,7 +13,6 @@ use tauri::api::path::data_dir;
|
||||
use tauri::async_runtime::block_on;
|
||||
|
||||
use std::thread;
|
||||
use structs::APIQuery;
|
||||
use sysinfo::{System, SystemExt};
|
||||
|
||||
use crate::admin::reopen_as_admin;
|
||||
@@ -25,7 +24,6 @@ mod gamebanana;
|
||||
mod lang;
|
||||
mod metadata_patcher;
|
||||
mod proxy;
|
||||
mod structs;
|
||||
mod system_helpers;
|
||||
mod unzip;
|
||||
mod web;
|
||||
@@ -87,7 +85,6 @@ fn main() {
|
||||
connect,
|
||||
disconnect,
|
||||
req_get,
|
||||
get_bg_file,
|
||||
is_game_running,
|
||||
get_theme_list,
|
||||
system_helpers::run_command,
|
||||
@@ -251,8 +248,3 @@ async fn get_theme_list(data_dir: String) -> Vec<HashMap<String, String>> {
|
||||
|
||||
themes
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
async fn get_bg_file(bg_path: String, appdata: String) -> String {
|
||||
return "".to_string(); // This is the greatest Cultivation update of all time.
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub(crate) struct APIQuery {
|
||||
pub bg_file: String,
|
||||
}
|
||||
Reference in New Issue
Block a user