update dependencies and default launch options
This commit is contained in:
10
package.json
10
package.json
@@ -56,18 +56,18 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/postcss": "^4.1.17",
|
"@tailwindcss/postcss": "^4.1.17",
|
||||||
"@tauri-apps/cli": "^2.9.3",
|
"@tauri-apps/cli": "^2.9.4",
|
||||||
"@testing-library/dom": "^10.4.1",
|
"@testing-library/dom": "^10.4.1",
|
||||||
"@testing-library/jest-dom": "^6.9.1",
|
"@testing-library/jest-dom": "^6.9.1",
|
||||||
"@testing-library/react": "^16.3.0",
|
"@testing-library/react": "^16.3.0",
|
||||||
"@testing-library/user-event": "^14.6.1",
|
"@testing-library/user-event": "^14.6.1",
|
||||||
"@types/jest": "^29.5.14",
|
"@types/jest": "^29.5.14",
|
||||||
"@types/node": "^22.19.0",
|
"@types/node": "^22.19.1",
|
||||||
"@types/react": "19.0.10",
|
"@types/react": "19.0.10",
|
||||||
"@types/react-dom": "19.0.4",
|
"@types/react-dom": "19.0.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
||||||
"@typescript-eslint/parser": "^8.46.3",
|
"@typescript-eslint/parser": "^8.47.0",
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.22",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cssnano": "^7.1.2",
|
"cssnano": "^7.1.2",
|
||||||
|
|||||||
26
src-tauri/Cargo.lock
generated
26
src-tauri/Cargo.lock
generated
@@ -12,6 +12,7 @@ dependencies = [
|
|||||||
"futures-util",
|
"futures-util",
|
||||||
"gfxinfo",
|
"gfxinfo",
|
||||||
"log",
|
"log",
|
||||||
|
"md5",
|
||||||
"notify",
|
"notify",
|
||||||
"regex",
|
"regex",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
@@ -39,7 +40,7 @@ dependencies = [
|
|||||||
"tokio",
|
"tokio",
|
||||||
"url",
|
"url",
|
||||||
"walkdir",
|
"walkdir",
|
||||||
"window-vibrancy",
|
"window-vibrancy 0.7.1",
|
||||||
"winreg 0.55.0",
|
"winreg 0.55.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -2692,6 +2693,12 @@ version = "0.1.10"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "md5"
|
||||||
|
version = "0.7.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "memchr"
|
name = "memchr"
|
||||||
version = "2.7.6"
|
version = "2.7.6"
|
||||||
@@ -5037,7 +5044,7 @@ dependencies = [
|
|||||||
"url",
|
"url",
|
||||||
"webkit2gtk",
|
"webkit2gtk",
|
||||||
"webview2-com",
|
"webview2-com",
|
||||||
"window-vibrancy",
|
"window-vibrancy 0.6.0",
|
||||||
"windows 0.61.3",
|
"windows 0.61.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -6535,6 +6542,21 @@ dependencies = [
|
|||||||
"windows-version",
|
"windows-version",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "window-vibrancy"
|
||||||
|
version = "0.7.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "010797bd7c40396fbc59d3105089fed0885fe267a0ef4a0a4646df54e28647f6"
|
||||||
|
dependencies = [
|
||||||
|
"objc2 0.6.3",
|
||||||
|
"objc2-app-kit",
|
||||||
|
"objc2-core-foundation",
|
||||||
|
"objc2-foundation 0.3.2",
|
||||||
|
"raw-window-handle",
|
||||||
|
"windows-sys 0.60.2",
|
||||||
|
"windows-version",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "windows"
|
name = "windows"
|
||||||
version = "0.52.0"
|
version = "0.52.0"
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ futures-util = "0.3.30"
|
|||||||
tauri = { version = "2.9.2", features = [ "macos-private-api",
|
tauri = { version = "2.9.2", features = [ "macos-private-api",
|
||||||
"tray-icon"
|
"tray-icon"
|
||||||
] }
|
] }
|
||||||
window-vibrancy = "0.6.0"
|
window-vibrancy = "0.7.1"
|
||||||
tauri-plugin-process = "2.3.1"
|
tauri-plugin-process = "2.3.1"
|
||||||
tauri-plugin-fs = "2.4.4"
|
tauri-plugin-fs = "2.4.4"
|
||||||
tauri-plugin-dialog = "2.4.2"
|
tauri-plugin-dialog = "2.4.2"
|
||||||
@@ -64,6 +64,7 @@ dirs = "6.0.0"
|
|||||||
tokio = { version = "1.40", features = ["process"] }
|
tokio = { version = "1.40", features = ["process"] }
|
||||||
gfxinfo = "0.1.2"
|
gfxinfo = "0.1.2"
|
||||||
url = "2.5"
|
url = "2.5"
|
||||||
|
md5 = "0.7.0"
|
||||||
[target.'cfg(windows)'.dependencies] # Windows Only
|
[target.'cfg(windows)'.dependencies] # Windows Only
|
||||||
winreg = "0.55.0"
|
winreg = "0.55.0"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -4,7 +4,6 @@ import { DEFAULT_STORE_CONFIG } from "./config"
|
|||||||
import { emit } from "@tauri-apps/api/event"
|
import { emit } from "@tauri-apps/api/event"
|
||||||
import { invoke } from "@tauri-apps/api/core"
|
import { invoke } from "@tauri-apps/api/core"
|
||||||
import VideoSetting from "@/components/cstb/VideoSetting"
|
import VideoSetting from "@/components/cstb/VideoSetting"
|
||||||
import { useSteamStore } from "./steam"
|
|
||||||
|
|
||||||
export interface LaunchOption {
|
export interface LaunchOption {
|
||||||
option: string
|
option: string
|
||||||
@@ -117,9 +116,9 @@ export const VideoSettingTemplate = {
|
|||||||
|
|
||||||
const defaultValue = {
|
const defaultValue = {
|
||||||
launchOptions: [
|
launchOptions: [
|
||||||
{ option: "-novid -high -freq 144 -fullscreen", name: "游戏" },
|
{ option: "-novid -high -freq 240 -coop_fullscreen -allow_third_party_software", name: "游戏" },
|
||||||
{ option: "-novid -high -w 1920 -h 1080 -freq 144 -sw -noborder", name: "录像" },
|
{ option: "-novid -high -w 1920 -h 1080 -freq 240 -sw -noborder -allow_third_party_software", name: "录像" },
|
||||||
{ option: "-novid -high -freq 144 -fullscreen -allow_third_party_software", name: "测试" },
|
{ option: "-novid -high -freq 240 -fullscreen -allow_third_party_software", name: "测试" },
|
||||||
] as LaunchOption[],
|
] as LaunchOption[],
|
||||||
launchIndex: 0,
|
launchIndex: 0,
|
||||||
powerPlan: 0,
|
powerPlan: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user