mirror of
https://github.com/mii443/vrclipboard-ime-gui.git
synced 2025-12-03 03:08:27 +00:00
update Terminal
This commit is contained in:
@@ -31,6 +31,8 @@ pub struct Config {
|
||||
pub use_tsf_reconvert: bool,
|
||||
#[serde(default = "bool_true")]
|
||||
pub skip_on_out_of_vrc: bool,
|
||||
#[serde(default = "bool_false")]
|
||||
pub tsf_announce: bool
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
@@ -44,6 +46,7 @@ impl Default for Config {
|
||||
skip_url: true,
|
||||
use_tsf_reconvert: false,
|
||||
skip_on_out_of_vrc: true,
|
||||
tsf_announce: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ use clipboard::{ClipboardContext, ClipboardProvider};
|
||||
use clipboard_master::{CallbackResult, ClipboardHandler};
|
||||
use regex::Regex;
|
||||
use rosc::{encoder, OscMessage, OscPacket, OscType};
|
||||
use tauri::{AppHandle, Emitter, Manager};
|
||||
use tauri::{AppHandle, Emitter};
|
||||
use tracing::{error, info, warn};
|
||||
use windows::Win32::System::DataExchange::GetClipboardOwner;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
||||
//#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
mod com;
|
||||
mod config;
|
||||
@@ -23,7 +23,6 @@ use com::Com;
|
||||
use config::Config;
|
||||
use handler::ConversionHandler;
|
||||
use tauri_emit_subscriber::TauriEmitSubscriber;
|
||||
use tracing::{instrument::WithSubscriber, level_filters::LevelFilter, Level};
|
||||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
@@ -58,8 +57,6 @@ fn save_settings(config: Config, state: State<AppState>) -> Result<(), String> {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println!("VRClipboard-IME Logs\nバグがあった場合はこのログを送ってください。");
|
||||
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_shell::init())
|
||||
.plugin(tauri_plugin_updater::Builder::new().build())
|
||||
|
||||
Reference in New Issue
Block a user