update to 1.11.0

This commit is contained in:
mii443
2025-03-11 19:43:37 +09:00
parent 04123966dc
commit 185e1bcf73
15 changed files with 256 additions and 139 deletions

View File

@@ -1,7 +1,12 @@
added 1 package, and audited 194 packages in 4s
changed 1 package, and audited 194 packages in 3s
38 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
4 vulnerabilities (3 moderate, 1 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.

2
src-tauri/Cargo.lock generated
View File

@@ -4399,7 +4399,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]]
name = "vrclipboard-ime-gui"
version = "1.10.0"
version = "1.11.0"
dependencies = [
"anyhow",
"calc",

View File

@@ -1,6 +1,6 @@
[package]
name = "vrclipboard-ime-gui"
version = "1.10.0"
version = "1.11.0"
description = "VRClipboard IME"
authors = ["mii"]
edition = "2021"

View File

@@ -6,6 +6,7 @@
"linux"
],
"permissions": [
"updater:default",
"updater:default"
]
}

View File

@@ -27,7 +27,7 @@ pub struct Config {
pub on_copy_mode: OnCopyMode,
#[serde(default = "bool_true")]
pub skip_url: bool,
#[serde(default = "bool_false")]
#[serde(default = "bool_true")]
pub use_tsf_reconvert: bool,
#[serde(default = "bool_true")]
pub skip_on_out_of_vrc: bool,
@@ -44,7 +44,7 @@ impl Default for Config {
ignore_prefix: true,
on_copy_mode: OnCopyMode::ReturnToChatbox,
skip_url: true,
use_tsf_reconvert: false,
use_tsf_reconvert: true,
skip_on_out_of_vrc: true,
tsf_announce: false
}
@@ -95,7 +95,11 @@ impl Config {
let mut contents = String::new();
file.read_to_string(&mut contents)?;
trace!("Raw config contents: {}", contents);
let config: Config = serde_yaml::from_str(&contents)?;
let mut config: Config = serde_yaml::from_str(&contents)?;
if !config.tsf_announce {
config.use_tsf_reconvert = true;
config.tsf_announce = true;
}
debug!("Config loaded successfully");
Ok(config)
}

View File

@@ -24,14 +24,17 @@
},
"productName": "vrclipboard-ime-gui",
"mainBinaryName": "vrclipboard-ime-gui",
"version": "1.10.0",
"version": "1.11.0",
"identifier": "dev.mii.vrclipboard-ime",
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEE5QTI2MDRDNTlENUY5OEMKUldTTStkVlpUR0NpcVIrMXZqOHFpNzNXMFVKT0d3aHJIWFlOUVJubGN5VTAzUkVwYW95bVlMYUQK",
"endpoints": [
"https://r2-vrime.mii.dev/release.json"
]
],
"windows": {
"installMode": "passive"
}
}
},
"app": {