delete bloated registry items (#200)

* delete bloated registry items

---------

Co-authored-by: 荣耀的捍卫者 <1250839773@qq.com>
This commit is contained in:
RiceCake
2024-07-30 00:01:20 +08:00
committed by GitHub
parent d5eef25ad1
commit debc165326
4 changed files with 84 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ use serde::{Deserialize, Serialize};
use tauri::Manager as _;
#[derive(Deserialize, Serialize, PartialEq, Debug)]
enum NetworkingMethod {
PublicServer,
@@ -336,6 +337,7 @@ pub fn init_launch(_app_handle: &tauri::AppHandle, enable: bool) -> Result<bool,
Ok(enabled)
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
#[cfg(not(target_os = "android"))]
@@ -343,7 +345,6 @@ pub fn run() {
use std::process;
process::exit(0);
}
tauri::Builder::default()
.plugin(tauri_plugin_os::init())
.plugin(tauri_plugin_clipboard_manager::init())