🚀 v0.6.4

This commit is contained in:
目棃
2024-12-03 20:02:21 +08:00
parent 2f8f77940d
commit 1e47b4fd29
10 changed files with 134 additions and 60 deletions

View File

@@ -47,7 +47,7 @@ jobs:
- name: setup pnpm - name: setup pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
with: with:
version: 9.13.2 version: 9.14.4
- name: Install frontend dependencies - name: Install frontend dependencies
run: pnpm install run: pnpm install

View File

@@ -16,7 +16,7 @@ jobs:
- name: setup pnpm - name: setup pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
with: with:
version: 9.13.2 version: 9.14.4
- name: Install dependencies - name: Install dependencies
run: pnpm install --no-frozen-lockfile run: pnpm install --no-frozen-lockfile
- name: "Qodana Scan" - name: "Qodana Scan"

View File

@@ -2,12 +2,22 @@
Author: 目棃 Author: 目棃
Description: CHANGELOG Description: CHANGELOG
Date: 2024-10-09 Date: 2024-10-09
Update: 2024-11-19 Update: 2024-12-03
--- ---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-10-09 15:51:43` > 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-10-09 15:51:43`
> >
> 更新于 `2024-11-19 17:06:05` > 更新于 `2024-12-03 19:57:50`
## [0.6.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.4) (2024-12-03)
- 🐛 修复子回复渲染异常
- ✏️ 祈愿记录将验证非空ID
- 🐛 修复战绩分享图渲染异常
- 🐛 修复`dialog`组件`input`默认值无效
- 🎨 调整帖子查找overlay逻辑
- ✨ 分享图生成阈值自定义
- 👽️ 全量刷新时清理旧数据,修复由于米哈游数据异常导致的重复数据
## [0.6.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.3) (2024-11-19) ## [0.6.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.3) (2024-11-19)

View File

@@ -1,8 +1,9 @@
{ {
"name": "teyvatguide", "name": "teyvatguide",
"version": "0.6.3", "version": "0.6.4",
"description": "Game Tool for GenshinImpact player", "description": "Game Tool for GenshinImpact player",
"private": true, "private": true,
"packageManager": "pnpm@9.14.4",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tauri build", "build": "tauri build",

42
src-tauri/Cargo.lock generated
View File

@@ -4,7 +4,7 @@ version = 3
[[package]] [[package]]
name = "TeyvatGuide" name = "TeyvatGuide"
version = "0.6.3" version = "0.6.4"
dependencies = [ dependencies = [
"chrono", "chrono",
"log", "log",
@@ -4948,11 +4948,10 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-deep-link" name = "tauri-plugin-deep-link"
version = "2.0.1" version = "2.0.2"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"dunce", "dunce",
"log",
"rust-ini", "rust-ini",
"serde", "serde",
"serde_json", "serde_json",
@@ -4960,6 +4959,7 @@ dependencies = [
"tauri-plugin", "tauri-plugin",
"tauri-utils", "tauri-utils",
"thiserror 2.0.3", "thiserror 2.0.3",
"tracing",
"url", "url",
"windows-registry 0.3.0", "windows-registry 0.3.0",
"windows-result", "windows-result",
@@ -4967,8 +4967,8 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-dialog" name = "tauri-plugin-dialog"
version = "2.0.3" version = "2.0.4"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"log", "log",
"raw-window-handle", "raw-window-handle",
@@ -4984,8 +4984,8 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-fs" name = "tauri-plugin-fs"
version = "2.0.3" version = "2.1.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"dunce", "dunce",
@@ -4997,15 +4997,17 @@ dependencies = [
"serde_repr", "serde_repr",
"tauri", "tauri",
"tauri-plugin", "tauri-plugin",
"tauri-utils",
"thiserror 2.0.3", "thiserror 2.0.3",
"toml 0.8.19",
"url", "url",
"uuid", "uuid",
] ]
[[package]] [[package]]
name = "tauri-plugin-http" name = "tauri-plugin-http"
version = "2.0.3" version = "2.0.4"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"data-url", "data-url",
"http", "http",
@@ -5025,8 +5027,8 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-log" name = "tauri-plugin-log"
version = "2.0.2" version = "2.0.3"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"android_logger", "android_logger",
"byte-unit", "byte-unit",
@@ -5047,7 +5049,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-os" name = "tauri-plugin-os"
version = "2.0.1" version = "2.0.1"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"gethostname", "gethostname",
"log", "log",
@@ -5064,7 +5066,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-process" name = "tauri-plugin-process"
version = "2.0.1" version = "2.0.1"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"tauri", "tauri",
"tauri-plugin", "tauri-plugin",
@@ -5073,7 +5075,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-shell" name = "tauri-plugin-shell"
version = "2.0.2" version = "2.0.2"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"encoding_rs", "encoding_rs",
"log", "log",
@@ -5092,22 +5094,22 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-single-instance" name = "tauri-plugin-single-instance"
version = "2.0.1" version = "2.0.2"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"log",
"serde", "serde",
"serde_json", "serde_json",
"tauri", "tauri",
"thiserror 2.0.3", "thiserror 2.0.3",
"tracing",
"windows-sys 0.59.0", "windows-sys 0.59.0",
"zbus 4.4.0", "zbus 4.4.0",
] ]
[[package]] [[package]]
name = "tauri-plugin-sql" name = "tauri-plugin-sql"
version = "2.0.2" version = "2.0.3"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#ee3fb1dba69ecf0abaafddc8979dddcf9822c2d7" source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"indexmap 2.6.0", "indexmap 2.6.0",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "TeyvatGuide" name = "TeyvatGuide"
version = "0.6.3" version = "0.6.4"
description = "Game Tool for Genshin Impact player" description = "Game Tool for Genshin Impact player"
authors = ["BTMuli <bt-muli@outlook.com>"] authors = ["BTMuli <bt-muli@outlook.com>"]
license = "MIT" license = "MIT"
@@ -24,63 +24,63 @@ walkdir = "2.5.0"
# deep link 插件 # deep link 插件
[dependencies.tauri-plugin-deep-link] [dependencies.tauri-plugin-deep-link]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# dialog 插件 # dialog 插件
[dependencies.tauri-plugin-dialog] [dependencies.tauri-plugin-dialog]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# fs 插件 # fs 插件
[dependencies.tauri-plugin-fs] [dependencies.tauri-plugin-fs]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# http 插件 # http 插件
[dependencies.tauri-plugin-http] [dependencies.tauri-plugin-http]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
features = ["unsafe-headers"] features = ["unsafe-headers"]
# log 插件 # log 插件
[dependencies.tauri-plugin-log] [dependencies.tauri-plugin-log]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# os 插件 # os 插件
[dependencies.tauri-plugin-os] [dependencies.tauri-plugin-os]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# process 插件 # process 插件
[dependencies.tauri-plugin-process] [dependencies.tauri-plugin-process]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# shell 插件 # shell 插件
[dependencies.tauri-plugin-shell] [dependencies.tauri-plugin-shell]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# single-instance 插件 # single-instance 插件
[dependencies.tauri-plugin-single-instance] [dependencies.tauri-plugin-single-instance]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
# sqlite 插件 # sqlite 插件
[dependencies.tauri-plugin-sql] [dependencies.tauri-plugin-sql]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git" #git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
#git = "https://github.com/tauri-apps/plugins-workspace.git" git = "https://github.com/tauri-apps/plugins-workspace.git"
branch = "v2" branch = "v2"
features = ["sqlite"] features = ["sqlite"]

View File

@@ -1815,7 +1815,7 @@
"allow-read-text-file-lines": { "allow-read-text-file-lines": {
"identifier": "allow-read-text-file-lines", "identifier": "allow-read-text-file-lines",
"description": "Enables the read_text_file_lines command without any pre-configured scope.", "description": "Enables the read_text_file_lines command without any pre-configured scope.",
"commands": { "allow": ["read_text_file_lines"], "deny": [] } "commands": { "allow": ["read_text_file_lines", "read_text_file_lines_next"], "deny": [] }
}, },
"allow-read-text-file-lines-next": { "allow-read-text-file-lines-next": {
"identifier": "allow-read-text-file-lines-next", "identifier": "allow-read-text-file-lines-next",
@@ -1837,6 +1837,11 @@
"description": "Enables the seek command without any pre-configured scope.", "description": "Enables the seek command without any pre-configured scope.",
"commands": { "allow": ["seek"], "deny": [] } "commands": { "allow": ["seek"], "deny": [] }
}, },
"allow-size": {
"identifier": "allow-size",
"description": "Enables the size command without any pre-configured scope.",
"commands": { "allow": ["size"], "deny": [] }
},
"allow-stat": { "allow-stat": {
"identifier": "allow-stat", "identifier": "allow-stat",
"description": "Enables the stat command without any pre-configured scope.", "description": "Enables the stat command without any pre-configured scope.",
@@ -1865,7 +1870,7 @@
"allow-write-file": { "allow-write-file": {
"identifier": "allow-write-file", "identifier": "allow-write-file",
"description": "Enables the write_file command without any pre-configured scope.", "description": "Enables the write_file command without any pre-configured scope.",
"commands": { "allow": ["write_file"], "deny": [] } "commands": { "allow": ["write_file", "open", "write"], "deny": [] }
}, },
"allow-write-text-file": { "allow-write-text-file": {
"identifier": "allow-write-text-file", "identifier": "allow-write-text-file",
@@ -1962,6 +1967,11 @@
"description": "Denies the seek command without any pre-configured scope.", "description": "Denies the seek command without any pre-configured scope.",
"commands": { "allow": [], "deny": ["seek"] } "commands": { "allow": [], "deny": ["seek"] }
}, },
"deny-size": {
"identifier": "deny-size",
"description": "Denies the size command without any pre-configured scope.",
"commands": { "allow": [], "deny": ["size"] }
},
"deny-stat": { "deny-stat": {
"identifier": "deny-stat", "identifier": "deny-stat",
"description": "Denies the stat command without any pre-configured scope.", "description": "Denies the stat command without any pre-configured scope.",
@@ -2074,7 +2084,10 @@
"read-meta": { "read-meta": {
"identifier": "read-meta", "identifier": "read-meta",
"description": "This enables all index or metadata related commands without any pre-configured accessible paths.", "description": "This enables all index or metadata related commands without any pre-configured accessible paths.",
"commands": { "allow": ["read_dir", "stat", "lstat", "fstat", "exists"], "deny": [] } "commands": {
"allow": ["read_dir", "stat", "lstat", "fstat", "exists", "size"],
"deny": []
}
}, },
"scope": { "scope": {
"identifier": "scope", "identifier": "scope",
@@ -3363,9 +3376,17 @@
"global_scope_schema": { "global_scope_schema": {
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"anyOf": [ "anyOf": [
{ "description": "FS scope path.", "type": "string" },
{ {
"properties": { "path": { "description": "FS scope path.", "type": "string" } }, "description": "A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string"
},
{
"properties": {
"path": {
"description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string"
}
},
"required": ["path"], "required": ["path"],
"type": "object" "type": "object"
} }

View File

@@ -974,6 +974,11 @@
"type": "string", "type": "string",
"const": "fs:allow-seek" "const": "fs:allow-seek"
}, },
{
"description": "Enables the size command without any pre-configured scope.",
"type": "string",
"const": "fs:allow-size"
},
{ {
"description": "Enables the stat command without any pre-configured scope.", "description": "Enables the stat command without any pre-configured scope.",
"type": "string", "type": "string",
@@ -1099,6 +1104,11 @@
"type": "string", "type": "string",
"const": "fs:deny-seek" "const": "fs:deny-seek"
}, },
{
"description": "Denies the size command without any pre-configured scope.",
"type": "string",
"const": "fs:deny-size"
},
{ {
"description": "Denies the stat command without any pre-configured scope.", "description": "Denies the stat command without any pre-configured scope.",
"type": "string", "type": "string",
@@ -1571,7 +1581,7 @@
"description": "FS scope entry.", "description": "FS scope entry.",
"anyOf": [ "anyOf": [
{ {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
}, },
{ {
@@ -1579,7 +1589,7 @@
"required": ["path"], "required": ["path"],
"properties": { "properties": {
"path": { "path": {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
} }
} }
@@ -1593,7 +1603,7 @@
"description": "FS scope entry.", "description": "FS scope entry.",
"anyOf": [ "anyOf": [
{ {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
}, },
{ {
@@ -1601,7 +1611,7 @@
"required": ["path"], "required": ["path"],
"properties": { "properties": {
"path": { "path": {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
} }
} }
@@ -4381,6 +4391,11 @@
"type": "string", "type": "string",
"const": "fs:allow-seek" "const": "fs:allow-seek"
}, },
{
"description": "Enables the size command without any pre-configured scope.",
"type": "string",
"const": "fs:allow-size"
},
{ {
"description": "Enables the stat command without any pre-configured scope.", "description": "Enables the stat command without any pre-configured scope.",
"type": "string", "type": "string",
@@ -4506,6 +4521,11 @@
"type": "string", "type": "string",
"const": "fs:deny-seek" "const": "fs:deny-seek"
}, },
{
"description": "Denies the size command without any pre-configured scope.",
"type": "string",
"const": "fs:deny-size"
},
{ {
"description": "Denies the stat command without any pre-configured scope.", "description": "Denies the stat command without any pre-configured scope.",
"type": "string", "type": "string",

View File

@@ -974,6 +974,11 @@
"type": "string", "type": "string",
"const": "fs:allow-seek" "const": "fs:allow-seek"
}, },
{
"description": "Enables the size command without any pre-configured scope.",
"type": "string",
"const": "fs:allow-size"
},
{ {
"description": "Enables the stat command without any pre-configured scope.", "description": "Enables the stat command without any pre-configured scope.",
"type": "string", "type": "string",
@@ -1099,6 +1104,11 @@
"type": "string", "type": "string",
"const": "fs:deny-seek" "const": "fs:deny-seek"
}, },
{
"description": "Denies the size command without any pre-configured scope.",
"type": "string",
"const": "fs:deny-size"
},
{ {
"description": "Denies the stat command without any pre-configured scope.", "description": "Denies the stat command without any pre-configured scope.",
"type": "string", "type": "string",
@@ -1571,7 +1581,7 @@
"description": "FS scope entry.", "description": "FS scope entry.",
"anyOf": [ "anyOf": [
{ {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
}, },
{ {
@@ -1579,7 +1589,7 @@
"required": ["path"], "required": ["path"],
"properties": { "properties": {
"path": { "path": {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
} }
} }
@@ -1593,7 +1603,7 @@
"description": "FS scope entry.", "description": "FS scope entry.",
"anyOf": [ "anyOf": [
{ {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
}, },
{ {
@@ -1601,7 +1611,7 @@
"required": ["path"], "required": ["path"],
"properties": { "properties": {
"path": { "path": {
"description": "FS scope path.", "description": "A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string" "type": "string"
} }
} }
@@ -4381,6 +4391,11 @@
"type": "string", "type": "string",
"const": "fs:allow-seek" "const": "fs:allow-seek"
}, },
{
"description": "Enables the size command without any pre-configured scope.",
"type": "string",
"const": "fs:allow-size"
},
{ {
"description": "Enables the stat command without any pre-configured scope.", "description": "Enables the stat command without any pre-configured scope.",
"type": "string", "type": "string",
@@ -4506,6 +4521,11 @@
"type": "string", "type": "string",
"const": "fs:deny-seek" "const": "fs:deny-seek"
}, },
{
"description": "Denies the size command without any pre-configured scope.",
"type": "string",
"const": "fs:deny-size"
},
{ {
"description": "Denies the stat command without any pre-configured scope.", "description": "Denies the stat command without any pre-configured scope.",
"type": "string", "type": "string",

View File

@@ -1,7 +1,7 @@
{ {
"productName": "TeyvatGuide", "productName": "TeyvatGuide",
"identifier": "TeyvatGuide", "identifier": "TeyvatGuide",
"version": "0.6.3", "version": "0.6.4",
"build": { "build": {
"beforeDevCommand": "pnpm vite:dev", "beforeDevCommand": "pnpm vite:dev",
"beforeBuildCommand": "pnpm vite:build", "beforeBuildCommand": "pnpm vite:build",