diff --git a/.github/build-for-linux/Dockerfile b/.github/build-for-linux/Dockerfile index 326ba69..729644b 100644 --- a/.github/build-for-linux/Dockerfile +++ b/.github/build-for-linux/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:buster +FROM rust:bookworm COPY entrypoint.sh /entrypoint.sh RUN chmod a+x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"] diff --git a/.github/build-for-linux/entrypoint.sh b/.github/build-for-linux/entrypoint.sh index c073603..f02b7d8 100644 --- a/.github/build-for-linux/entrypoint.sh +++ b/.github/build-for-linux/entrypoint.sh @@ -6,48 +6,12 @@ export PATH=$(pwd)/node-v20.10.0-linux-x64/bin:$PATH npm install pnpm -g rustup target add "$INPUT_TARGET" +echo "rustc version: $(rustc --version)" if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ]; then apt-get update - apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev patchelf -elif [ "$INPUT_TARGET" = "i686-unknown-linux-gnu" ]; then - dpkg --add-architecture i386 - apt-get update - apt-get install -y libstdc++6:i386 libgdk-pixbuf2.0-dev:i386 libatomic1:i386 gcc-multilib g++-multilib libwebkit2gtk-4.0-dev:i386 libssl-dev:i386 libgtk-3-dev:i386 librsvg2-dev:i386 patchelf:i386 libayatana-appindicator3-dev:i386 - export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH - export PKG_CONFIG_SYSROOT_DIR=/ -elif [ "$INPUT_TARGET" = "aarch64-unknown-linux-gnu" ]; then - dpkg --add-architecture arm64 - apt-get update - apt-get install -y libncurses6:arm64 libtinfo6:arm64 linux-libc-dev:arm64 libncursesw6:arm64 libssl3:arm64 libcups2:arm64 - apt-get install -y --no-install-recommends g++-aarch64-linux-gnu libc6-dev-arm64-cross libwebkit2gtk-4.0-dev:arm64 libgtk-3-dev:arm64 patchelf:arm64 librsvg2-dev:arm64 libayatana-appindicator3-dev:arm64 - export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc - export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc - export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++ - export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig - export PKG_CONFIG_ALLOW_CROSS=1 -elif [ "$INPUT_TARGET" = "armv7-unknown-linux-gnueabihf" ]; then - dpkg --add-architecture armhf - apt-get update - apt-get install -y libncurses6:armhf libtinfo6:armhf linux-libc-dev:armhf libncursesw6:armhf libssl3:armhf libcups2:armhf - apt-get install -y --no-install-recommends g++-arm-linux-gnueabihf libc6-dev-armhf-cross libwebkit2gtk-4.0-dev:armhf libgtk-3-dev:armhf patchelf:armhf librsvg2-dev:armhf libayatana-appindicator3-dev:armhf - export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc - export CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc - export CXX_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++ - export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig - export PKG_CONFIG_ALLOW_CROSS=1 -elif [ "$INPUT_TARGET" = "riscv64gc-unknown-linux-gnu" ]; then - dpkg --add-architecture riscv64 - apt-get update - apt-get install -y libncurses6:riscv64 libtinfo6:riscv64 linux-libc-dev:riscv64 libncursesw6:riscv64 libssl3:riscv64 libcups2:riscv64 - apt-get install -y --no-install-recommends g++-riscv64-linux-gnu libc6-dev-riscv64-cross libwebkit2gtk-4.0-dev:riscv64 libgtk-3-dev:riscv64 patchelf:riscv64 librsvg2-dev:riscv64 libayatana-appindicator3-dev:riscv64 - export CARGO_TARGET_RISCV64_UNKNOWN_LINUX_GNU_LINKER=riscv64-linux-gnu-gcc - export CC_riscv64_unknown_linux_gnu=riscv64-linux-gnu-gcc - export CXX_riscv64_unknown_linux_gnu=riscv64-linux-gnu-g++ - export PKG_CONFIG_PATH=/usr/lib/riscv64-linux-gnu/pkgconfig - export PKG_CONFIG_ALLOW_CROSS=1 -else - echo "Unknown target: $INPUT_TARGET" && exit 1 + apt-get install -y libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev libglib2.0-dev libgtk-3-dev libwebkit2gtk-4.1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev + export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig fi -bash .github/build-for-linux/build.sh \ No newline at end of file +bash .github/build-for-linux/build.sh diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 5c641ad..66f47c3 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -99,12 +99,6 @@ jobs: include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu - - os: ubuntu-latest - target: i686-unknown-linux-gnu - - os: ubuntu-latest - target: aarch64-unknown-linux-gnu - - os: ubuntu-latest - target: armv7-unknown-linux-gnueabihf runs-on: ${{ matrix.os }} steps: - name: Checkout Repository @@ -114,15 +108,15 @@ jobs: uses: ./.github/build-for-linux env: NODE_OPTIONS: "--max_old_space_size=4096" - TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: target: ${{ matrix.target }} - name: Get Version run: | sudo apt-get update - sudo apt-get install jq + sudo apt-get install jq echo "VERSION=$(cat package.json | jq '.version' | tr -d '"')" >> $GITHUB_ENV echo "BUILDTIME=$(TZ=Asia/Shanghai date)" >> $GITHUB_ENV @@ -195,8 +189,8 @@ jobs: env: NODE_OPTIONS: "--max_old_space_size=4096" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: tauriScript: pnpm args: --target ${{ matrix.target }} @@ -252,9 +246,6 @@ jobs: ### Linux - Linux 64位: amd64.deb/amd64.rpm - - Linux 32位: i386.deb/i386.rpm - - Linux arm64架构: arm64.deb/aarch64.rpm - - Linux armv7架构: armhf.deb/armhfp.rpm ### Windows (Win7 用户请查看下面FAQ中的解决方案) #### 正常版本(推荐) diff --git a/src-tauri/.gitignore b/src-tauri/.gitignore index 7b128ff..8975c76 100644 --- a/src-tauri/.gitignore +++ b/src-tauri/.gitignore @@ -1,6 +1,8 @@ # Generated by Cargo # will have compiled files and executables /target/ +gen/ WixTools resources sidecar + diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index f8f96a3..6c809a3 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -350,6 +350,28 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "async-stream" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "async-task" version = "4.7.1" @@ -413,6 +435,51 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +[[package]] +name = "axum" +version = "0.6.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" +dependencies = [ + "async-trait", + "axum-core", + "bitflags 1.3.2", + "bytes", + "futures-util", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.30", + "itoa 1.0.11", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper 0.1.2", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum-core" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 0.2.12", + "http-body 0.4.6", + "mime", + "rustversion", + "tower-layer", + "tower-service", +] + [[package]] name = "backtrace" version = "0.3.73" @@ -866,6 +933,7 @@ dependencies = [ "tauri", "tauri-build", "tauri-plugin-clipboard-manager", + "tauri-plugin-devtools", "tauri-plugin-dialog", "tauri-plugin-fs", "tauri-plugin-global-shortcut", @@ -955,6 +1023,16 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" +[[package]] +name = "colored" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" +dependencies = [ + "lazy_static", + "windows-sys 0.48.0", +] + [[package]] name = "combine" version = "4.6.7" @@ -1324,6 +1402,48 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c877555693c14d2f84191cfd3ad8582790fc52b5e2274b40b59cf5f5cea25c7" +[[package]] +name = "devtools-core" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f21c374111065b917a9ed5d1e377cd5792cd19f641ee0bf316f72878908bb99" +dependencies = [ + "async-stream", + "bytes", + "devtools-wire-format", + "futures", + "http 0.2.12", + "hyper 0.14.30", + "log", + "prost-types", + "ringbuf", + "thiserror", + "tokio", + "tokio-stream", + "tonic", + "tonic-health", + "tonic-web", + "tower", + "tower-http", + "tower-layer", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "devtools-wire-format" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d841ad485c6bc179ffed4886197490045644f2f194b52ce090c8488bb0028b" +dependencies = [ + "bitflags 2.6.0", + "prost", + "prost-types", + "tonic", + "tracing-core", +] + [[package]] name = "digest" version = "0.9.0" @@ -2466,6 +2586,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573" +[[package]] +name = "http-range-header" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" + [[package]] name = "httparse" version = "1.9.4" @@ -2546,6 +2672,18 @@ dependencies = [ "webpki-roots", ] +[[package]] +name = "hyper-timeout" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +dependencies = [ + "hyper 0.14.30", + "pin-project-lite", + "tokio", + "tokio-io-timeout", +] + [[package]] name = "hyper-tls" version = "0.6.0" @@ -3104,6 +3242,18 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" +[[package]] +name = "local-ip-address" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "612ed4ea9ce5acfb5d26339302528a5e1e59dfed95e9e11af3c083236ff1d15d" +dependencies = [ + "libc", + "neli", + "thiserror", + "windows-sys 0.48.0", +] + [[package]] name = "lock_api" version = "0.4.12" @@ -3238,6 +3388,12 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" +[[package]] +name = "matchit" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" + [[package]] name = "memchr" version = "2.7.4" @@ -3420,6 +3576,31 @@ dependencies = [ "jni-sys", ] +[[package]] +name = "neli" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1100229e06604150b3becd61a4965d5c70f3be1759544ea7274166f4be41ef43" +dependencies = [ + "byteorder", + "libc", + "log", + "neli-proc-macros", +] + +[[package]] +name = "neli-proc-macros" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c168194d373b1e134786274020dae7fc5513d565ea2ebb9bc9ff17ffb69106d4" +dependencies = [ + "either", + "proc-macro2", + "quote", + "serde", + "syn 1.0.109", +] + [[package]] name = "network-interface" version = "2.0.0" @@ -4329,6 +4510,38 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "prost" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-derive" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn 2.0.77", +] + +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost", +] + [[package]] name = "qoi" version = "0.4.1" @@ -4640,7 +4853,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 1.0.1", "system-configuration", "tokio", "tokio-native-tls", @@ -4695,6 +4908,15 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "ringbuf" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46f7f1b88601a8ee13cabf203611ccdf64345dc1c5d24de8b11e1a678ee619b6" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "rs-snowflake" version = "0.6.0" @@ -5456,6 +5678,12 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + [[package]] name = "sync_wrapper" version = "1.0.1" @@ -5654,6 +5882,7 @@ dependencies = [ "tauri-utils", "thiserror", "tokio", + "tracing", "tray-icon", "url", "urlpattern", @@ -5759,6 +5988,33 @@ dependencies = [ "thiserror", ] +[[package]] +name = "tauri-plugin-devtools" +version = "2.0.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f7333811c0b81f32e980d34894effc92454f464409fb97a7e566294b7ebddd0" +dependencies = [ + "async-stream", + "bytes", + "cocoa 0.25.0", + "colored", + "devtools-core", + "futures", + "local-ip-address", + "log", + "objc", + "serde", + "serde_json", + "swift-rs", + "tauri", + "tauri-plugin", + "tokio", + "tonic", + "tonic-health", + "tracing", + "tracing-subscriber", +] + [[package]] name = "tauri-plugin-dialog" version = "2.0.0-rc.3" @@ -5927,6 +6183,7 @@ dependencies = [ "tao", "tauri-runtime", "tauri-utils", + "tracing", "url", "webkit2gtk", "webview2-com", @@ -6209,6 +6466,16 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "tokio-io-timeout" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" +dependencies = [ + "pin-project-lite", + "tokio", +] + [[package]] name = "tokio-macros" version = "2.4.0" @@ -6241,6 +6508,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-stream" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + [[package]] name = "tokio-tungstenite" version = "0.21.0" @@ -6325,6 +6603,66 @@ dependencies = [ "winnow", ] +[[package]] +name = "tonic" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64 0.21.7", + "bytes", + "h2 0.3.26", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.30", + "hyper-timeout", + "percent-encoding", + "pin-project", + "prost", + "tokio", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tonic-health" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f80db390246dfb46553481f6024f0082ba00178ea495dbb99e70ba9a4fafb5e1" +dependencies = [ + "async-stream", + "prost", + "tokio", + "tokio-stream", + "tonic", +] + +[[package]] +name = "tonic-web" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fddb2a37b247e6adcb9f239f4e5cefdcc5ed526141a416b943929f13aea2cce" +dependencies = [ + "base64 0.21.7", + "bytes", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.30", + "pin-project", + "tokio-stream", + "tonic", + "tower-http", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tower" version = "0.4.13" @@ -6333,9 +6671,32 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ "futures-core", "futures-util", + "indexmap 1.9.3", "pin-project", "pin-project-lite", + "rand 0.8.5", + "slab", "tokio", + "tokio-util", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-http" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +dependencies = [ + "bitflags 2.6.0", + "bytes", + "futures-core", + "futures-util", + "http 0.2.12", + "http-body 0.4.6", + "http-range-header", + "pin-project-lite", "tower-layer", "tower-service", ] @@ -7486,6 +7847,7 @@ dependencies = [ "soup3", "tao-macros", "thiserror", + "tracing", "webkit2gtk", "webkit2gtk-sys", "webview2-com", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index e56d6a3..f39a2a4 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -51,6 +51,7 @@ tauri-plugin-fs = "2.0.0-rc" tauri-plugin-notification = "2.0.0-rc" tauri-plugin-process = "2.0.0-rc" tauri-plugin-clipboard-manager = "2.1.0-beta.7" +tauri-plugin-devtools = "2.0.0-rc" [target.'cfg(windows)'.dependencies] runas = "=1.2.0" deelevate = "0.2.0" diff --git a/src-tauri/capabilities/desktop.json b/src-tauri/capabilities/desktop.json index e815532..c4936c0 100644 --- a/src-tauri/capabilities/desktop.json +++ b/src-tauri/capabilities/desktop.json @@ -1,5 +1,7 @@ { "identifier": "desktop-capability", "platforms": ["macOS", "windows", "linux"], + "webviews": ["main"], + "windows": ["main"], "permissions": ["global-shortcut:default", "updater:default"] } diff --git a/src-tauri/capabilities/migrated.json b/src-tauri/capabilities/migrated.json index d78af8a..f707b9d 100644 --- a/src-tauri/capabilities/migrated.json +++ b/src-tauri/capabilities/migrated.json @@ -46,6 +46,9 @@ "core:webview:allow-print", "shell:allow-execute", "shell:allow-open", + "shell:allow-kill", + "shell:allow-spawn", + "shell:allow-stdin-write", "dialog:allow-open", "notification:default", "global-shortcut:allow-is-registered", @@ -59,7 +62,6 @@ "clipboard-manager:allow-write-text", "shell:default", "dialog:default", - "fs:default", "notification:default" ] } diff --git a/src-tauri/gen/schemas/acl-manifests.json b/src-tauri/gen/schemas/acl-manifests.json deleted file mode 100644 index 9ec293c..0000000 --- a/src-tauri/gen/schemas/acl-manifests.json +++ /dev/null @@ -1,3811 +0,0 @@ -{ - "clipboard-manager": { - "default_permission": { - "identifier": "default", - "description": "No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n", - "permissions": [] - }, - "permissions": { - "allow-clear": { - "identifier": "allow-clear", - "description": "Enables the clear command without any pre-configured scope.", - "commands": { "allow": ["clear"], "deny": [] } - }, - "allow-read-image": { - "identifier": "allow-read-image", - "description": "Enables the read_image command without any pre-configured scope.", - "commands": { "allow": ["read_image"], "deny": [] } - }, - "allow-read-text": { - "identifier": "allow-read-text", - "description": "Enables the read_text command without any pre-configured scope.", - "commands": { "allow": ["read_text"], "deny": [] } - }, - "allow-write-html": { - "identifier": "allow-write-html", - "description": "Enables the write_html command without any pre-configured scope.", - "commands": { "allow": ["write_html"], "deny": [] } - }, - "allow-write-image": { - "identifier": "allow-write-image", - "description": "Enables the write_image command without any pre-configured scope.", - "commands": { "allow": ["write_image"], "deny": [] } - }, - "allow-write-text": { - "identifier": "allow-write-text", - "description": "Enables the write_text command without any pre-configured scope.", - "commands": { "allow": ["write_text"], "deny": [] } - }, - "deny-clear": { - "identifier": "deny-clear", - "description": "Denies the clear command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["clear"] } - }, - "deny-read-image": { - "identifier": "deny-read-image", - "description": "Denies the read_image command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_image"] } - }, - "deny-read-text": { - "identifier": "deny-read-text", - "description": "Denies the read_text command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_text"] } - }, - "deny-write-html": { - "identifier": "deny-write-html", - "description": "Denies the write_html command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["write_html"] } - }, - "deny-write-image": { - "identifier": "deny-write-image", - "description": "Denies the write_image command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["write_image"] } - }, - "deny-write-text": { - "identifier": "deny-write-text", - "description": "Denies the write_text command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["write_text"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:app": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": ["allow-version", "allow-name", "allow-tauri-version"] - }, - "permissions": { - "allow-app-hide": { - "identifier": "allow-app-hide", - "description": "Enables the app_hide command without any pre-configured scope.", - "commands": { "allow": ["app_hide"], "deny": [] } - }, - "allow-app-show": { - "identifier": "allow-app-show", - "description": "Enables the app_show command without any pre-configured scope.", - "commands": { "allow": ["app_show"], "deny": [] } - }, - "allow-default-window-icon": { - "identifier": "allow-default-window-icon", - "description": "Enables the default_window_icon command without any pre-configured scope.", - "commands": { "allow": ["default_window_icon"], "deny": [] } - }, - "allow-name": { - "identifier": "allow-name", - "description": "Enables the name command without any pre-configured scope.", - "commands": { "allow": ["name"], "deny": [] } - }, - "allow-tauri-version": { - "identifier": "allow-tauri-version", - "description": "Enables the tauri_version command without any pre-configured scope.", - "commands": { "allow": ["tauri_version"], "deny": [] } - }, - "allow-version": { - "identifier": "allow-version", - "description": "Enables the version command without any pre-configured scope.", - "commands": { "allow": ["version"], "deny": [] } - }, - "deny-app-hide": { - "identifier": "deny-app-hide", - "description": "Denies the app_hide command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["app_hide"] } - }, - "deny-app-show": { - "identifier": "deny-app-show", - "description": "Denies the app_show command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["app_show"] } - }, - "deny-default-window-icon": { - "identifier": "deny-default-window-icon", - "description": "Denies the default_window_icon command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["default_window_icon"] } - }, - "deny-name": { - "identifier": "deny-name", - "description": "Denies the name command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["name"] } - }, - "deny-tauri-version": { - "identifier": "deny-tauri-version", - "description": "Denies the tauri_version command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["tauri_version"] } - }, - "deny-version": { - "identifier": "deny-version", - "description": "Denies the version command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["version"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:event": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-listen", - "allow-unlisten", - "allow-emit", - "allow-emit-to" - ] - }, - "permissions": { - "allow-emit": { - "identifier": "allow-emit", - "description": "Enables the emit command without any pre-configured scope.", - "commands": { "allow": ["emit"], "deny": [] } - }, - "allow-emit-to": { - "identifier": "allow-emit-to", - "description": "Enables the emit_to command without any pre-configured scope.", - "commands": { "allow": ["emit_to"], "deny": [] } - }, - "allow-listen": { - "identifier": "allow-listen", - "description": "Enables the listen command without any pre-configured scope.", - "commands": { "allow": ["listen"], "deny": [] } - }, - "allow-unlisten": { - "identifier": "allow-unlisten", - "description": "Enables the unlisten command without any pre-configured scope.", - "commands": { "allow": ["unlisten"], "deny": [] } - }, - "deny-emit": { - "identifier": "deny-emit", - "description": "Denies the emit command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["emit"] } - }, - "deny-emit-to": { - "identifier": "deny-emit-to", - "description": "Denies the emit_to command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["emit_to"] } - }, - "deny-listen": { - "identifier": "deny-listen", - "description": "Denies the listen command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["listen"] } - }, - "deny-unlisten": { - "identifier": "deny-unlisten", - "description": "Denies the unlisten command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["unlisten"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:image": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-new", - "allow-from-bytes", - "allow-from-path", - "allow-rgba", - "allow-size" - ] - }, - "permissions": { - "allow-from-bytes": { - "identifier": "allow-from-bytes", - "description": "Enables the from_bytes command without any pre-configured scope.", - "commands": { "allow": ["from_bytes"], "deny": [] } - }, - "allow-from-path": { - "identifier": "allow-from-path", - "description": "Enables the from_path command without any pre-configured scope.", - "commands": { "allow": ["from_path"], "deny": [] } - }, - "allow-new": { - "identifier": "allow-new", - "description": "Enables the new command without any pre-configured scope.", - "commands": { "allow": ["new"], "deny": [] } - }, - "allow-rgba": { - "identifier": "allow-rgba", - "description": "Enables the rgba command without any pre-configured scope.", - "commands": { "allow": ["rgba"], "deny": [] } - }, - "allow-size": { - "identifier": "allow-size", - "description": "Enables the size command without any pre-configured scope.", - "commands": { "allow": ["size"], "deny": [] } - }, - "deny-from-bytes": { - "identifier": "deny-from-bytes", - "description": "Denies the from_bytes command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["from_bytes"] } - }, - "deny-from-path": { - "identifier": "deny-from-path", - "description": "Denies the from_path command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["from_path"] } - }, - "deny-new": { - "identifier": "deny-new", - "description": "Denies the new command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["new"] } - }, - "deny-rgba": { - "identifier": "deny-rgba", - "description": "Denies the rgba command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["rgba"] } - }, - "deny-size": { - "identifier": "deny-size", - "description": "Denies the size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["size"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:menu": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-new", - "allow-append", - "allow-prepend", - "allow-insert", - "allow-remove", - "allow-remove-at", - "allow-items", - "allow-get", - "allow-popup", - "allow-create-default", - "allow-set-as-app-menu", - "allow-set-as-window-menu", - "allow-text", - "allow-set-text", - "allow-is-enabled", - "allow-set-enabled", - "allow-set-accelerator", - "allow-set-as-windows-menu-for-nsapp", - "allow-set-as-help-menu-for-nsapp", - "allow-is-checked", - "allow-set-checked", - "allow-set-icon" - ] - }, - "permissions": { - "allow-append": { - "identifier": "allow-append", - "description": "Enables the append command without any pre-configured scope.", - "commands": { "allow": ["append"], "deny": [] } - }, - "allow-create-default": { - "identifier": "allow-create-default", - "description": "Enables the create_default command without any pre-configured scope.", - "commands": { "allow": ["create_default"], "deny": [] } - }, - "allow-get": { - "identifier": "allow-get", - "description": "Enables the get command without any pre-configured scope.", - "commands": { "allow": ["get"], "deny": [] } - }, - "allow-insert": { - "identifier": "allow-insert", - "description": "Enables the insert command without any pre-configured scope.", - "commands": { "allow": ["insert"], "deny": [] } - }, - "allow-is-checked": { - "identifier": "allow-is-checked", - "description": "Enables the is_checked command without any pre-configured scope.", - "commands": { "allow": ["is_checked"], "deny": [] } - }, - "allow-is-enabled": { - "identifier": "allow-is-enabled", - "description": "Enables the is_enabled command without any pre-configured scope.", - "commands": { "allow": ["is_enabled"], "deny": [] } - }, - "allow-items": { - "identifier": "allow-items", - "description": "Enables the items command without any pre-configured scope.", - "commands": { "allow": ["items"], "deny": [] } - }, - "allow-new": { - "identifier": "allow-new", - "description": "Enables the new command without any pre-configured scope.", - "commands": { "allow": ["new"], "deny": [] } - }, - "allow-popup": { - "identifier": "allow-popup", - "description": "Enables the popup command without any pre-configured scope.", - "commands": { "allow": ["popup"], "deny": [] } - }, - "allow-prepend": { - "identifier": "allow-prepend", - "description": "Enables the prepend command without any pre-configured scope.", - "commands": { "allow": ["prepend"], "deny": [] } - }, - "allow-remove": { - "identifier": "allow-remove", - "description": "Enables the remove command without any pre-configured scope.", - "commands": { "allow": ["remove"], "deny": [] } - }, - "allow-remove-at": { - "identifier": "allow-remove-at", - "description": "Enables the remove_at command without any pre-configured scope.", - "commands": { "allow": ["remove_at"], "deny": [] } - }, - "allow-set-accelerator": { - "identifier": "allow-set-accelerator", - "description": "Enables the set_accelerator command without any pre-configured scope.", - "commands": { "allow": ["set_accelerator"], "deny": [] } - }, - "allow-set-as-app-menu": { - "identifier": "allow-set-as-app-menu", - "description": "Enables the set_as_app_menu command without any pre-configured scope.", - "commands": { "allow": ["set_as_app_menu"], "deny": [] } - }, - "allow-set-as-help-menu-for-nsapp": { - "identifier": "allow-set-as-help-menu-for-nsapp", - "description": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.", - "commands": { "allow": ["set_as_help_menu_for_nsapp"], "deny": [] } - }, - "allow-set-as-window-menu": { - "identifier": "allow-set-as-window-menu", - "description": "Enables the set_as_window_menu command without any pre-configured scope.", - "commands": { "allow": ["set_as_window_menu"], "deny": [] } - }, - "allow-set-as-windows-menu-for-nsapp": { - "identifier": "allow-set-as-windows-menu-for-nsapp", - "description": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.", - "commands": { "allow": ["set_as_windows_menu_for_nsapp"], "deny": [] } - }, - "allow-set-checked": { - "identifier": "allow-set-checked", - "description": "Enables the set_checked command without any pre-configured scope.", - "commands": { "allow": ["set_checked"], "deny": [] } - }, - "allow-set-enabled": { - "identifier": "allow-set-enabled", - "description": "Enables the set_enabled command without any pre-configured scope.", - "commands": { "allow": ["set_enabled"], "deny": [] } - }, - "allow-set-icon": { - "identifier": "allow-set-icon", - "description": "Enables the set_icon command without any pre-configured scope.", - "commands": { "allow": ["set_icon"], "deny": [] } - }, - "allow-set-text": { - "identifier": "allow-set-text", - "description": "Enables the set_text command without any pre-configured scope.", - "commands": { "allow": ["set_text"], "deny": [] } - }, - "allow-text": { - "identifier": "allow-text", - "description": "Enables the text command without any pre-configured scope.", - "commands": { "allow": ["text"], "deny": [] } - }, - "deny-append": { - "identifier": "deny-append", - "description": "Denies the append command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["append"] } - }, - "deny-create-default": { - "identifier": "deny-create-default", - "description": "Denies the create_default command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["create_default"] } - }, - "deny-get": { - "identifier": "deny-get", - "description": "Denies the get command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["get"] } - }, - "deny-insert": { - "identifier": "deny-insert", - "description": "Denies the insert command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["insert"] } - }, - "deny-is-checked": { - "identifier": "deny-is-checked", - "description": "Denies the is_checked command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_checked"] } - }, - "deny-is-enabled": { - "identifier": "deny-is-enabled", - "description": "Denies the is_enabled command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_enabled"] } - }, - "deny-items": { - "identifier": "deny-items", - "description": "Denies the items command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["items"] } - }, - "deny-new": { - "identifier": "deny-new", - "description": "Denies the new command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["new"] } - }, - "deny-popup": { - "identifier": "deny-popup", - "description": "Denies the popup command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["popup"] } - }, - "deny-prepend": { - "identifier": "deny-prepend", - "description": "Denies the prepend command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["prepend"] } - }, - "deny-remove": { - "identifier": "deny-remove", - "description": "Denies the remove command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["remove"] } - }, - "deny-remove-at": { - "identifier": "deny-remove-at", - "description": "Denies the remove_at command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["remove_at"] } - }, - "deny-set-accelerator": { - "identifier": "deny-set-accelerator", - "description": "Denies the set_accelerator command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_accelerator"] } - }, - "deny-set-as-app-menu": { - "identifier": "deny-set-as-app-menu", - "description": "Denies the set_as_app_menu command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_as_app_menu"] } - }, - "deny-set-as-help-menu-for-nsapp": { - "identifier": "deny-set-as-help-menu-for-nsapp", - "description": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_as_help_menu_for_nsapp"] } - }, - "deny-set-as-window-menu": { - "identifier": "deny-set-as-window-menu", - "description": "Denies the set_as_window_menu command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_as_window_menu"] } - }, - "deny-set-as-windows-menu-for-nsapp": { - "identifier": "deny-set-as-windows-menu-for-nsapp", - "description": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_as_windows_menu_for_nsapp"] } - }, - "deny-set-checked": { - "identifier": "deny-set-checked", - "description": "Denies the set_checked command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_checked"] } - }, - "deny-set-enabled": { - "identifier": "deny-set-enabled", - "description": "Denies the set_enabled command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_enabled"] } - }, - "deny-set-icon": { - "identifier": "deny-set-icon", - "description": "Denies the set_icon command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_icon"] } - }, - "deny-set-text": { - "identifier": "deny-set-text", - "description": "Denies the set_text command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_text"] } - }, - "deny-text": { - "identifier": "deny-text", - "description": "Denies the text command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["text"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:path": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-resolve-directory", - "allow-resolve", - "allow-normalize", - "allow-join", - "allow-dirname", - "allow-extname", - "allow-basename", - "allow-is-absolute" - ] - }, - "permissions": { - "allow-basename": { - "identifier": "allow-basename", - "description": "Enables the basename command without any pre-configured scope.", - "commands": { "allow": ["basename"], "deny": [] } - }, - "allow-dirname": { - "identifier": "allow-dirname", - "description": "Enables the dirname command without any pre-configured scope.", - "commands": { "allow": ["dirname"], "deny": [] } - }, - "allow-extname": { - "identifier": "allow-extname", - "description": "Enables the extname command without any pre-configured scope.", - "commands": { "allow": ["extname"], "deny": [] } - }, - "allow-is-absolute": { - "identifier": "allow-is-absolute", - "description": "Enables the is_absolute command without any pre-configured scope.", - "commands": { "allow": ["is_absolute"], "deny": [] } - }, - "allow-join": { - "identifier": "allow-join", - "description": "Enables the join command without any pre-configured scope.", - "commands": { "allow": ["join"], "deny": [] } - }, - "allow-normalize": { - "identifier": "allow-normalize", - "description": "Enables the normalize command without any pre-configured scope.", - "commands": { "allow": ["normalize"], "deny": [] } - }, - "allow-resolve": { - "identifier": "allow-resolve", - "description": "Enables the resolve command without any pre-configured scope.", - "commands": { "allow": ["resolve"], "deny": [] } - }, - "allow-resolve-directory": { - "identifier": "allow-resolve-directory", - "description": "Enables the resolve_directory command without any pre-configured scope.", - "commands": { "allow": ["resolve_directory"], "deny": [] } - }, - "deny-basename": { - "identifier": "deny-basename", - "description": "Denies the basename command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["basename"] } - }, - "deny-dirname": { - "identifier": "deny-dirname", - "description": "Denies the dirname command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["dirname"] } - }, - "deny-extname": { - "identifier": "deny-extname", - "description": "Denies the extname command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["extname"] } - }, - "deny-is-absolute": { - "identifier": "deny-is-absolute", - "description": "Denies the is_absolute command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_absolute"] } - }, - "deny-join": { - "identifier": "deny-join", - "description": "Denies the join command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["join"] } - }, - "deny-normalize": { - "identifier": "deny-normalize", - "description": "Denies the normalize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["normalize"] } - }, - "deny-resolve": { - "identifier": "deny-resolve", - "description": "Denies the resolve command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["resolve"] } - }, - "deny-resolve-directory": { - "identifier": "deny-resolve-directory", - "description": "Denies the resolve_directory command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["resolve_directory"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:resources": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": ["allow-close"] - }, - "permissions": { - "allow-close": { - "identifier": "allow-close", - "description": "Enables the close command without any pre-configured scope.", - "commands": { "allow": ["close"], "deny": [] } - }, - "deny-close": { - "identifier": "deny-close", - "description": "Denies the close command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["close"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:tray": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-new", - "allow-get-by-id", - "allow-remove-by-id", - "allow-set-icon", - "allow-set-menu", - "allow-set-tooltip", - "allow-set-title", - "allow-set-visible", - "allow-set-temp-dir-path", - "allow-set-icon-as-template", - "allow-set-show-menu-on-left-click" - ] - }, - "permissions": { - "allow-get-by-id": { - "identifier": "allow-get-by-id", - "description": "Enables the get_by_id command without any pre-configured scope.", - "commands": { "allow": ["get_by_id"], "deny": [] } - }, - "allow-new": { - "identifier": "allow-new", - "description": "Enables the new command without any pre-configured scope.", - "commands": { "allow": ["new"], "deny": [] } - }, - "allow-remove-by-id": { - "identifier": "allow-remove-by-id", - "description": "Enables the remove_by_id command without any pre-configured scope.", - "commands": { "allow": ["remove_by_id"], "deny": [] } - }, - "allow-set-icon": { - "identifier": "allow-set-icon", - "description": "Enables the set_icon command without any pre-configured scope.", - "commands": { "allow": ["set_icon"], "deny": [] } - }, - "allow-set-icon-as-template": { - "identifier": "allow-set-icon-as-template", - "description": "Enables the set_icon_as_template command without any pre-configured scope.", - "commands": { "allow": ["set_icon_as_template"], "deny": [] } - }, - "allow-set-menu": { - "identifier": "allow-set-menu", - "description": "Enables the set_menu command without any pre-configured scope.", - "commands": { "allow": ["set_menu"], "deny": [] } - }, - "allow-set-show-menu-on-left-click": { - "identifier": "allow-set-show-menu-on-left-click", - "description": "Enables the set_show_menu_on_left_click command without any pre-configured scope.", - "commands": { "allow": ["set_show_menu_on_left_click"], "deny": [] } - }, - "allow-set-temp-dir-path": { - "identifier": "allow-set-temp-dir-path", - "description": "Enables the set_temp_dir_path command without any pre-configured scope.", - "commands": { "allow": ["set_temp_dir_path"], "deny": [] } - }, - "allow-set-title": { - "identifier": "allow-set-title", - "description": "Enables the set_title command without any pre-configured scope.", - "commands": { "allow": ["set_title"], "deny": [] } - }, - "allow-set-tooltip": { - "identifier": "allow-set-tooltip", - "description": "Enables the set_tooltip command without any pre-configured scope.", - "commands": { "allow": ["set_tooltip"], "deny": [] } - }, - "allow-set-visible": { - "identifier": "allow-set-visible", - "description": "Enables the set_visible command without any pre-configured scope.", - "commands": { "allow": ["set_visible"], "deny": [] } - }, - "deny-get-by-id": { - "identifier": "deny-get-by-id", - "description": "Denies the get_by_id command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["get_by_id"] } - }, - "deny-new": { - "identifier": "deny-new", - "description": "Denies the new command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["new"] } - }, - "deny-remove-by-id": { - "identifier": "deny-remove-by-id", - "description": "Denies the remove_by_id command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["remove_by_id"] } - }, - "deny-set-icon": { - "identifier": "deny-set-icon", - "description": "Denies the set_icon command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_icon"] } - }, - "deny-set-icon-as-template": { - "identifier": "deny-set-icon-as-template", - "description": "Denies the set_icon_as_template command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_icon_as_template"] } - }, - "deny-set-menu": { - "identifier": "deny-set-menu", - "description": "Denies the set_menu command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_menu"] } - }, - "deny-set-show-menu-on-left-click": { - "identifier": "deny-set-show-menu-on-left-click", - "description": "Denies the set_show_menu_on_left_click command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_show_menu_on_left_click"] } - }, - "deny-set-temp-dir-path": { - "identifier": "deny-set-temp-dir-path", - "description": "Denies the set_temp_dir_path command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_temp_dir_path"] } - }, - "deny-set-title": { - "identifier": "deny-set-title", - "description": "Denies the set_title command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_title"] } - }, - "deny-set-tooltip": { - "identifier": "deny-set-tooltip", - "description": "Denies the set_tooltip command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_tooltip"] } - }, - "deny-set-visible": { - "identifier": "deny-set-visible", - "description": "Denies the set_visible command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_visible"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:webview": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-get-all-webviews", - "allow-webview-position", - "allow-webview-size", - "allow-internal-toggle-devtools" - ] - }, - "permissions": { - "allow-create-webview": { - "identifier": "allow-create-webview", - "description": "Enables the create_webview command without any pre-configured scope.", - "commands": { "allow": ["create_webview"], "deny": [] } - }, - "allow-create-webview-window": { - "identifier": "allow-create-webview-window", - "description": "Enables the create_webview_window command without any pre-configured scope.", - "commands": { "allow": ["create_webview_window"], "deny": [] } - }, - "allow-get-all-webviews": { - "identifier": "allow-get-all-webviews", - "description": "Enables the get_all_webviews command without any pre-configured scope.", - "commands": { "allow": ["get_all_webviews"], "deny": [] } - }, - "allow-internal-toggle-devtools": { - "identifier": "allow-internal-toggle-devtools", - "description": "Enables the internal_toggle_devtools command without any pre-configured scope.", - "commands": { "allow": ["internal_toggle_devtools"], "deny": [] } - }, - "allow-print": { - "identifier": "allow-print", - "description": "Enables the print command without any pre-configured scope.", - "commands": { "allow": ["print"], "deny": [] } - }, - "allow-reparent": { - "identifier": "allow-reparent", - "description": "Enables the reparent command without any pre-configured scope.", - "commands": { "allow": ["reparent"], "deny": [] } - }, - "allow-set-webview-focus": { - "identifier": "allow-set-webview-focus", - "description": "Enables the set_webview_focus command without any pre-configured scope.", - "commands": { "allow": ["set_webview_focus"], "deny": [] } - }, - "allow-set-webview-position": { - "identifier": "allow-set-webview-position", - "description": "Enables the set_webview_position command without any pre-configured scope.", - "commands": { "allow": ["set_webview_position"], "deny": [] } - }, - "allow-set-webview-size": { - "identifier": "allow-set-webview-size", - "description": "Enables the set_webview_size command without any pre-configured scope.", - "commands": { "allow": ["set_webview_size"], "deny": [] } - }, - "allow-set-webview-zoom": { - "identifier": "allow-set-webview-zoom", - "description": "Enables the set_webview_zoom command without any pre-configured scope.", - "commands": { "allow": ["set_webview_zoom"], "deny": [] } - }, - "allow-webview-close": { - "identifier": "allow-webview-close", - "description": "Enables the webview_close command without any pre-configured scope.", - "commands": { "allow": ["webview_close"], "deny": [] } - }, - "allow-webview-position": { - "identifier": "allow-webview-position", - "description": "Enables the webview_position command without any pre-configured scope.", - "commands": { "allow": ["webview_position"], "deny": [] } - }, - "allow-webview-size": { - "identifier": "allow-webview-size", - "description": "Enables the webview_size command without any pre-configured scope.", - "commands": { "allow": ["webview_size"], "deny": [] } - }, - "deny-create-webview": { - "identifier": "deny-create-webview", - "description": "Denies the create_webview command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["create_webview"] } - }, - "deny-create-webview-window": { - "identifier": "deny-create-webview-window", - "description": "Denies the create_webview_window command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["create_webview_window"] } - }, - "deny-get-all-webviews": { - "identifier": "deny-get-all-webviews", - "description": "Denies the get_all_webviews command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["get_all_webviews"] } - }, - "deny-internal-toggle-devtools": { - "identifier": "deny-internal-toggle-devtools", - "description": "Denies the internal_toggle_devtools command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["internal_toggle_devtools"] } - }, - "deny-print": { - "identifier": "deny-print", - "description": "Denies the print command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["print"] } - }, - "deny-reparent": { - "identifier": "deny-reparent", - "description": "Denies the reparent command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["reparent"] } - }, - "deny-set-webview-focus": { - "identifier": "deny-set-webview-focus", - "description": "Denies the set_webview_focus command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_webview_focus"] } - }, - "deny-set-webview-position": { - "identifier": "deny-set-webview-position", - "description": "Denies the set_webview_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_webview_position"] } - }, - "deny-set-webview-size": { - "identifier": "deny-set-webview-size", - "description": "Denies the set_webview_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_webview_size"] } - }, - "deny-set-webview-zoom": { - "identifier": "deny-set-webview-zoom", - "description": "Denies the set_webview_zoom command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_webview_zoom"] } - }, - "deny-webview-close": { - "identifier": "deny-webview-close", - "description": "Denies the webview_close command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["webview_close"] } - }, - "deny-webview-position": { - "identifier": "deny-webview-position", - "description": "Denies the webview_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["webview_position"] } - }, - "deny-webview-size": { - "identifier": "deny-webview-size", - "description": "Denies the webview_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["webview_size"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "core:window": { - "default_permission": { - "identifier": "default", - "description": "Default permissions for the plugin.", - "permissions": [ - "allow-get-all-windows", - "allow-scale-factor", - "allow-inner-position", - "allow-outer-position", - "allow-inner-size", - "allow-outer-size", - "allow-is-fullscreen", - "allow-is-minimized", - "allow-is-maximized", - "allow-is-focused", - "allow-is-decorated", - "allow-is-resizable", - "allow-is-maximizable", - "allow-is-minimizable", - "allow-is-closable", - "allow-is-visible", - "allow-title", - "allow-current-monitor", - "allow-primary-monitor", - "allow-monitor-from-point", - "allow-available-monitors", - "allow-cursor-position", - "allow-theme", - "allow-internal-toggle-maximize" - ] - }, - "permissions": { - "allow-available-monitors": { - "identifier": "allow-available-monitors", - "description": "Enables the available_monitors command without any pre-configured scope.", - "commands": { "allow": ["available_monitors"], "deny": [] } - }, - "allow-center": { - "identifier": "allow-center", - "description": "Enables the center command without any pre-configured scope.", - "commands": { "allow": ["center"], "deny": [] } - }, - "allow-close": { - "identifier": "allow-close", - "description": "Enables the close command without any pre-configured scope.", - "commands": { "allow": ["close"], "deny": [] } - }, - "allow-create": { - "identifier": "allow-create", - "description": "Enables the create command without any pre-configured scope.", - "commands": { "allow": ["create"], "deny": [] } - }, - "allow-current-monitor": { - "identifier": "allow-current-monitor", - "description": "Enables the current_monitor command without any pre-configured scope.", - "commands": { "allow": ["current_monitor"], "deny": [] } - }, - "allow-cursor-position": { - "identifier": "allow-cursor-position", - "description": "Enables the cursor_position command without any pre-configured scope.", - "commands": { "allow": ["cursor_position"], "deny": [] } - }, - "allow-destroy": { - "identifier": "allow-destroy", - "description": "Enables the destroy command without any pre-configured scope.", - "commands": { "allow": ["destroy"], "deny": [] } - }, - "allow-get-all-windows": { - "identifier": "allow-get-all-windows", - "description": "Enables the get_all_windows command without any pre-configured scope.", - "commands": { "allow": ["get_all_windows"], "deny": [] } - }, - "allow-hide": { - "identifier": "allow-hide", - "description": "Enables the hide command without any pre-configured scope.", - "commands": { "allow": ["hide"], "deny": [] } - }, - "allow-inner-position": { - "identifier": "allow-inner-position", - "description": "Enables the inner_position command without any pre-configured scope.", - "commands": { "allow": ["inner_position"], "deny": [] } - }, - "allow-inner-size": { - "identifier": "allow-inner-size", - "description": "Enables the inner_size command without any pre-configured scope.", - "commands": { "allow": ["inner_size"], "deny": [] } - }, - "allow-internal-toggle-maximize": { - "identifier": "allow-internal-toggle-maximize", - "description": "Enables the internal_toggle_maximize command without any pre-configured scope.", - "commands": { "allow": ["internal_toggle_maximize"], "deny": [] } - }, - "allow-is-closable": { - "identifier": "allow-is-closable", - "description": "Enables the is_closable command without any pre-configured scope.", - "commands": { "allow": ["is_closable"], "deny": [] } - }, - "allow-is-decorated": { - "identifier": "allow-is-decorated", - "description": "Enables the is_decorated command without any pre-configured scope.", - "commands": { "allow": ["is_decorated"], "deny": [] } - }, - "allow-is-focused": { - "identifier": "allow-is-focused", - "description": "Enables the is_focused command without any pre-configured scope.", - "commands": { "allow": ["is_focused"], "deny": [] } - }, - "allow-is-fullscreen": { - "identifier": "allow-is-fullscreen", - "description": "Enables the is_fullscreen command without any pre-configured scope.", - "commands": { "allow": ["is_fullscreen"], "deny": [] } - }, - "allow-is-maximizable": { - "identifier": "allow-is-maximizable", - "description": "Enables the is_maximizable command without any pre-configured scope.", - "commands": { "allow": ["is_maximizable"], "deny": [] } - }, - "allow-is-maximized": { - "identifier": "allow-is-maximized", - "description": "Enables the is_maximized command without any pre-configured scope.", - "commands": { "allow": ["is_maximized"], "deny": [] } - }, - "allow-is-minimizable": { - "identifier": "allow-is-minimizable", - "description": "Enables the is_minimizable command without any pre-configured scope.", - "commands": { "allow": ["is_minimizable"], "deny": [] } - }, - "allow-is-minimized": { - "identifier": "allow-is-minimized", - "description": "Enables the is_minimized command without any pre-configured scope.", - "commands": { "allow": ["is_minimized"], "deny": [] } - }, - "allow-is-resizable": { - "identifier": "allow-is-resizable", - "description": "Enables the is_resizable command without any pre-configured scope.", - "commands": { "allow": ["is_resizable"], "deny": [] } - }, - "allow-is-visible": { - "identifier": "allow-is-visible", - "description": "Enables the is_visible command without any pre-configured scope.", - "commands": { "allow": ["is_visible"], "deny": [] } - }, - "allow-maximize": { - "identifier": "allow-maximize", - "description": "Enables the maximize command without any pre-configured scope.", - "commands": { "allow": ["maximize"], "deny": [] } - }, - "allow-minimize": { - "identifier": "allow-minimize", - "description": "Enables the minimize command without any pre-configured scope.", - "commands": { "allow": ["minimize"], "deny": [] } - }, - "allow-monitor-from-point": { - "identifier": "allow-monitor-from-point", - "description": "Enables the monitor_from_point command without any pre-configured scope.", - "commands": { "allow": ["monitor_from_point"], "deny": [] } - }, - "allow-outer-position": { - "identifier": "allow-outer-position", - "description": "Enables the outer_position command without any pre-configured scope.", - "commands": { "allow": ["outer_position"], "deny": [] } - }, - "allow-outer-size": { - "identifier": "allow-outer-size", - "description": "Enables the outer_size command without any pre-configured scope.", - "commands": { "allow": ["outer_size"], "deny": [] } - }, - "allow-primary-monitor": { - "identifier": "allow-primary-monitor", - "description": "Enables the primary_monitor command without any pre-configured scope.", - "commands": { "allow": ["primary_monitor"], "deny": [] } - }, - "allow-request-user-attention": { - "identifier": "allow-request-user-attention", - "description": "Enables the request_user_attention command without any pre-configured scope.", - "commands": { "allow": ["request_user_attention"], "deny": [] } - }, - "allow-scale-factor": { - "identifier": "allow-scale-factor", - "description": "Enables the scale_factor command without any pre-configured scope.", - "commands": { "allow": ["scale_factor"], "deny": [] } - }, - "allow-set-always-on-bottom": { - "identifier": "allow-set-always-on-bottom", - "description": "Enables the set_always_on_bottom command without any pre-configured scope.", - "commands": { "allow": ["set_always_on_bottom"], "deny": [] } - }, - "allow-set-always-on-top": { - "identifier": "allow-set-always-on-top", - "description": "Enables the set_always_on_top command without any pre-configured scope.", - "commands": { "allow": ["set_always_on_top"], "deny": [] } - }, - "allow-set-closable": { - "identifier": "allow-set-closable", - "description": "Enables the set_closable command without any pre-configured scope.", - "commands": { "allow": ["set_closable"], "deny": [] } - }, - "allow-set-content-protected": { - "identifier": "allow-set-content-protected", - "description": "Enables the set_content_protected command without any pre-configured scope.", - "commands": { "allow": ["set_content_protected"], "deny": [] } - }, - "allow-set-cursor-grab": { - "identifier": "allow-set-cursor-grab", - "description": "Enables the set_cursor_grab command without any pre-configured scope.", - "commands": { "allow": ["set_cursor_grab"], "deny": [] } - }, - "allow-set-cursor-icon": { - "identifier": "allow-set-cursor-icon", - "description": "Enables the set_cursor_icon command without any pre-configured scope.", - "commands": { "allow": ["set_cursor_icon"], "deny": [] } - }, - "allow-set-cursor-position": { - "identifier": "allow-set-cursor-position", - "description": "Enables the set_cursor_position command without any pre-configured scope.", - "commands": { "allow": ["set_cursor_position"], "deny": [] } - }, - "allow-set-cursor-visible": { - "identifier": "allow-set-cursor-visible", - "description": "Enables the set_cursor_visible command without any pre-configured scope.", - "commands": { "allow": ["set_cursor_visible"], "deny": [] } - }, - "allow-set-decorations": { - "identifier": "allow-set-decorations", - "description": "Enables the set_decorations command without any pre-configured scope.", - "commands": { "allow": ["set_decorations"], "deny": [] } - }, - "allow-set-effects": { - "identifier": "allow-set-effects", - "description": "Enables the set_effects command without any pre-configured scope.", - "commands": { "allow": ["set_effects"], "deny": [] } - }, - "allow-set-focus": { - "identifier": "allow-set-focus", - "description": "Enables the set_focus command without any pre-configured scope.", - "commands": { "allow": ["set_focus"], "deny": [] } - }, - "allow-set-fullscreen": { - "identifier": "allow-set-fullscreen", - "description": "Enables the set_fullscreen command without any pre-configured scope.", - "commands": { "allow": ["set_fullscreen"], "deny": [] } - }, - "allow-set-icon": { - "identifier": "allow-set-icon", - "description": "Enables the set_icon command without any pre-configured scope.", - "commands": { "allow": ["set_icon"], "deny": [] } - }, - "allow-set-ignore-cursor-events": { - "identifier": "allow-set-ignore-cursor-events", - "description": "Enables the set_ignore_cursor_events command without any pre-configured scope.", - "commands": { "allow": ["set_ignore_cursor_events"], "deny": [] } - }, - "allow-set-max-size": { - "identifier": "allow-set-max-size", - "description": "Enables the set_max_size command without any pre-configured scope.", - "commands": { "allow": ["set_max_size"], "deny": [] } - }, - "allow-set-maximizable": { - "identifier": "allow-set-maximizable", - "description": "Enables the set_maximizable command without any pre-configured scope.", - "commands": { "allow": ["set_maximizable"], "deny": [] } - }, - "allow-set-min-size": { - "identifier": "allow-set-min-size", - "description": "Enables the set_min_size command without any pre-configured scope.", - "commands": { "allow": ["set_min_size"], "deny": [] } - }, - "allow-set-minimizable": { - "identifier": "allow-set-minimizable", - "description": "Enables the set_minimizable command without any pre-configured scope.", - "commands": { "allow": ["set_minimizable"], "deny": [] } - }, - "allow-set-position": { - "identifier": "allow-set-position", - "description": "Enables the set_position command without any pre-configured scope.", - "commands": { "allow": ["set_position"], "deny": [] } - }, - "allow-set-progress-bar": { - "identifier": "allow-set-progress-bar", - "description": "Enables the set_progress_bar command without any pre-configured scope.", - "commands": { "allow": ["set_progress_bar"], "deny": [] } - }, - "allow-set-resizable": { - "identifier": "allow-set-resizable", - "description": "Enables the set_resizable command without any pre-configured scope.", - "commands": { "allow": ["set_resizable"], "deny": [] } - }, - "allow-set-shadow": { - "identifier": "allow-set-shadow", - "description": "Enables the set_shadow command without any pre-configured scope.", - "commands": { "allow": ["set_shadow"], "deny": [] } - }, - "allow-set-size": { - "identifier": "allow-set-size", - "description": "Enables the set_size command without any pre-configured scope.", - "commands": { "allow": ["set_size"], "deny": [] } - }, - "allow-set-size-constraints": { - "identifier": "allow-set-size-constraints", - "description": "Enables the set_size_constraints command without any pre-configured scope.", - "commands": { "allow": ["set_size_constraints"], "deny": [] } - }, - "allow-set-skip-taskbar": { - "identifier": "allow-set-skip-taskbar", - "description": "Enables the set_skip_taskbar command without any pre-configured scope.", - "commands": { "allow": ["set_skip_taskbar"], "deny": [] } - }, - "allow-set-title": { - "identifier": "allow-set-title", - "description": "Enables the set_title command without any pre-configured scope.", - "commands": { "allow": ["set_title"], "deny": [] } - }, - "allow-set-title-bar-style": { - "identifier": "allow-set-title-bar-style", - "description": "Enables the set_title_bar_style command without any pre-configured scope.", - "commands": { "allow": ["set_title_bar_style"], "deny": [] } - }, - "allow-set-visible-on-all-workspaces": { - "identifier": "allow-set-visible-on-all-workspaces", - "description": "Enables the set_visible_on_all_workspaces command without any pre-configured scope.", - "commands": { "allow": ["set_visible_on_all_workspaces"], "deny": [] } - }, - "allow-show": { - "identifier": "allow-show", - "description": "Enables the show command without any pre-configured scope.", - "commands": { "allow": ["show"], "deny": [] } - }, - "allow-start-dragging": { - "identifier": "allow-start-dragging", - "description": "Enables the start_dragging command without any pre-configured scope.", - "commands": { "allow": ["start_dragging"], "deny": [] } - }, - "allow-start-resize-dragging": { - "identifier": "allow-start-resize-dragging", - "description": "Enables the start_resize_dragging command without any pre-configured scope.", - "commands": { "allow": ["start_resize_dragging"], "deny": [] } - }, - "allow-theme": { - "identifier": "allow-theme", - "description": "Enables the theme command without any pre-configured scope.", - "commands": { "allow": ["theme"], "deny": [] } - }, - "allow-title": { - "identifier": "allow-title", - "description": "Enables the title command without any pre-configured scope.", - "commands": { "allow": ["title"], "deny": [] } - }, - "allow-toggle-maximize": { - "identifier": "allow-toggle-maximize", - "description": "Enables the toggle_maximize command without any pre-configured scope.", - "commands": { "allow": ["toggle_maximize"], "deny": [] } - }, - "allow-unmaximize": { - "identifier": "allow-unmaximize", - "description": "Enables the unmaximize command without any pre-configured scope.", - "commands": { "allow": ["unmaximize"], "deny": [] } - }, - "allow-unminimize": { - "identifier": "allow-unminimize", - "description": "Enables the unminimize command without any pre-configured scope.", - "commands": { "allow": ["unminimize"], "deny": [] } - }, - "deny-available-monitors": { - "identifier": "deny-available-monitors", - "description": "Denies the available_monitors command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["available_monitors"] } - }, - "deny-center": { - "identifier": "deny-center", - "description": "Denies the center command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["center"] } - }, - "deny-close": { - "identifier": "deny-close", - "description": "Denies the close command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["close"] } - }, - "deny-create": { - "identifier": "deny-create", - "description": "Denies the create command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["create"] } - }, - "deny-current-monitor": { - "identifier": "deny-current-monitor", - "description": "Denies the current_monitor command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["current_monitor"] } - }, - "deny-cursor-position": { - "identifier": "deny-cursor-position", - "description": "Denies the cursor_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["cursor_position"] } - }, - "deny-destroy": { - "identifier": "deny-destroy", - "description": "Denies the destroy command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["destroy"] } - }, - "deny-get-all-windows": { - "identifier": "deny-get-all-windows", - "description": "Denies the get_all_windows command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["get_all_windows"] } - }, - "deny-hide": { - "identifier": "deny-hide", - "description": "Denies the hide command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["hide"] } - }, - "deny-inner-position": { - "identifier": "deny-inner-position", - "description": "Denies the inner_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["inner_position"] } - }, - "deny-inner-size": { - "identifier": "deny-inner-size", - "description": "Denies the inner_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["inner_size"] } - }, - "deny-internal-toggle-maximize": { - "identifier": "deny-internal-toggle-maximize", - "description": "Denies the internal_toggle_maximize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["internal_toggle_maximize"] } - }, - "deny-is-closable": { - "identifier": "deny-is-closable", - "description": "Denies the is_closable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_closable"] } - }, - "deny-is-decorated": { - "identifier": "deny-is-decorated", - "description": "Denies the is_decorated command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_decorated"] } - }, - "deny-is-focused": { - "identifier": "deny-is-focused", - "description": "Denies the is_focused command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_focused"] } - }, - "deny-is-fullscreen": { - "identifier": "deny-is-fullscreen", - "description": "Denies the is_fullscreen command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_fullscreen"] } - }, - "deny-is-maximizable": { - "identifier": "deny-is-maximizable", - "description": "Denies the is_maximizable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_maximizable"] } - }, - "deny-is-maximized": { - "identifier": "deny-is-maximized", - "description": "Denies the is_maximized command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_maximized"] } - }, - "deny-is-minimizable": { - "identifier": "deny-is-minimizable", - "description": "Denies the is_minimizable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_minimizable"] } - }, - "deny-is-minimized": { - "identifier": "deny-is-minimized", - "description": "Denies the is_minimized command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_minimized"] } - }, - "deny-is-resizable": { - "identifier": "deny-is-resizable", - "description": "Denies the is_resizable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_resizable"] } - }, - "deny-is-visible": { - "identifier": "deny-is-visible", - "description": "Denies the is_visible command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_visible"] } - }, - "deny-maximize": { - "identifier": "deny-maximize", - "description": "Denies the maximize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["maximize"] } - }, - "deny-minimize": { - "identifier": "deny-minimize", - "description": "Denies the minimize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["minimize"] } - }, - "deny-monitor-from-point": { - "identifier": "deny-monitor-from-point", - "description": "Denies the monitor_from_point command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["monitor_from_point"] } - }, - "deny-outer-position": { - "identifier": "deny-outer-position", - "description": "Denies the outer_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["outer_position"] } - }, - "deny-outer-size": { - "identifier": "deny-outer-size", - "description": "Denies the outer_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["outer_size"] } - }, - "deny-primary-monitor": { - "identifier": "deny-primary-monitor", - "description": "Denies the primary_monitor command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["primary_monitor"] } - }, - "deny-request-user-attention": { - "identifier": "deny-request-user-attention", - "description": "Denies the request_user_attention command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["request_user_attention"] } - }, - "deny-scale-factor": { - "identifier": "deny-scale-factor", - "description": "Denies the scale_factor command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["scale_factor"] } - }, - "deny-set-always-on-bottom": { - "identifier": "deny-set-always-on-bottom", - "description": "Denies the set_always_on_bottom command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_always_on_bottom"] } - }, - "deny-set-always-on-top": { - "identifier": "deny-set-always-on-top", - "description": "Denies the set_always_on_top command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_always_on_top"] } - }, - "deny-set-closable": { - "identifier": "deny-set-closable", - "description": "Denies the set_closable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_closable"] } - }, - "deny-set-content-protected": { - "identifier": "deny-set-content-protected", - "description": "Denies the set_content_protected command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_content_protected"] } - }, - "deny-set-cursor-grab": { - "identifier": "deny-set-cursor-grab", - "description": "Denies the set_cursor_grab command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_cursor_grab"] } - }, - "deny-set-cursor-icon": { - "identifier": "deny-set-cursor-icon", - "description": "Denies the set_cursor_icon command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_cursor_icon"] } - }, - "deny-set-cursor-position": { - "identifier": "deny-set-cursor-position", - "description": "Denies the set_cursor_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_cursor_position"] } - }, - "deny-set-cursor-visible": { - "identifier": "deny-set-cursor-visible", - "description": "Denies the set_cursor_visible command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_cursor_visible"] } - }, - "deny-set-decorations": { - "identifier": "deny-set-decorations", - "description": "Denies the set_decorations command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_decorations"] } - }, - "deny-set-effects": { - "identifier": "deny-set-effects", - "description": "Denies the set_effects command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_effects"] } - }, - "deny-set-focus": { - "identifier": "deny-set-focus", - "description": "Denies the set_focus command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_focus"] } - }, - "deny-set-fullscreen": { - "identifier": "deny-set-fullscreen", - "description": "Denies the set_fullscreen command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_fullscreen"] } - }, - "deny-set-icon": { - "identifier": "deny-set-icon", - "description": "Denies the set_icon command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_icon"] } - }, - "deny-set-ignore-cursor-events": { - "identifier": "deny-set-ignore-cursor-events", - "description": "Denies the set_ignore_cursor_events command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_ignore_cursor_events"] } - }, - "deny-set-max-size": { - "identifier": "deny-set-max-size", - "description": "Denies the set_max_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_max_size"] } - }, - "deny-set-maximizable": { - "identifier": "deny-set-maximizable", - "description": "Denies the set_maximizable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_maximizable"] } - }, - "deny-set-min-size": { - "identifier": "deny-set-min-size", - "description": "Denies the set_min_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_min_size"] } - }, - "deny-set-minimizable": { - "identifier": "deny-set-minimizable", - "description": "Denies the set_minimizable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_minimizable"] } - }, - "deny-set-position": { - "identifier": "deny-set-position", - "description": "Denies the set_position command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_position"] } - }, - "deny-set-progress-bar": { - "identifier": "deny-set-progress-bar", - "description": "Denies the set_progress_bar command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_progress_bar"] } - }, - "deny-set-resizable": { - "identifier": "deny-set-resizable", - "description": "Denies the set_resizable command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_resizable"] } - }, - "deny-set-shadow": { - "identifier": "deny-set-shadow", - "description": "Denies the set_shadow command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_shadow"] } - }, - "deny-set-size": { - "identifier": "deny-set-size", - "description": "Denies the set_size command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_size"] } - }, - "deny-set-size-constraints": { - "identifier": "deny-set-size-constraints", - "description": "Denies the set_size_constraints command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_size_constraints"] } - }, - "deny-set-skip-taskbar": { - "identifier": "deny-set-skip-taskbar", - "description": "Denies the set_skip_taskbar command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_skip_taskbar"] } - }, - "deny-set-title": { - "identifier": "deny-set-title", - "description": "Denies the set_title command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_title"] } - }, - "deny-set-title-bar-style": { - "identifier": "deny-set-title-bar-style", - "description": "Denies the set_title_bar_style command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_title_bar_style"] } - }, - "deny-set-visible-on-all-workspaces": { - "identifier": "deny-set-visible-on-all-workspaces", - "description": "Denies the set_visible_on_all_workspaces command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["set_visible_on_all_workspaces"] } - }, - "deny-show": { - "identifier": "deny-show", - "description": "Denies the show command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["show"] } - }, - "deny-start-dragging": { - "identifier": "deny-start-dragging", - "description": "Denies the start_dragging command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["start_dragging"] } - }, - "deny-start-resize-dragging": { - "identifier": "deny-start-resize-dragging", - "description": "Denies the start_resize_dragging command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["start_resize_dragging"] } - }, - "deny-theme": { - "identifier": "deny-theme", - "description": "Denies the theme command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["theme"] } - }, - "deny-title": { - "identifier": "deny-title", - "description": "Denies the title command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["title"] } - }, - "deny-toggle-maximize": { - "identifier": "deny-toggle-maximize", - "description": "Denies the toggle_maximize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["toggle_maximize"] } - }, - "deny-unmaximize": { - "identifier": "deny-unmaximize", - "description": "Denies the unmaximize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["unmaximize"] } - }, - "deny-unminimize": { - "identifier": "deny-unminimize", - "description": "Denies the unminimize command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["unminimize"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "dialog": { - "default_permission": { - "identifier": "default", - "description": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n", - "permissions": [ - "allow-ask", - "allow-confirm", - "allow-message", - "allow-save", - "allow-open" - ] - }, - "permissions": { - "allow-ask": { - "identifier": "allow-ask", - "description": "Enables the ask command without any pre-configured scope.", - "commands": { "allow": ["ask"], "deny": [] } - }, - "allow-confirm": { - "identifier": "allow-confirm", - "description": "Enables the confirm command without any pre-configured scope.", - "commands": { "allow": ["confirm"], "deny": [] } - }, - "allow-message": { - "identifier": "allow-message", - "description": "Enables the message command without any pre-configured scope.", - "commands": { "allow": ["message"], "deny": [] } - }, - "allow-open": { - "identifier": "allow-open", - "description": "Enables the open command without any pre-configured scope.", - "commands": { "allow": ["open"], "deny": [] } - }, - "allow-save": { - "identifier": "allow-save", - "description": "Enables the save command without any pre-configured scope.", - "commands": { "allow": ["save"], "deny": [] } - }, - "deny-ask": { - "identifier": "deny-ask", - "description": "Denies the ask command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["ask"] } - }, - "deny-confirm": { - "identifier": "deny-confirm", - "description": "Denies the confirm command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["confirm"] } - }, - "deny-message": { - "identifier": "deny-message", - "description": "Denies the message command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["message"] } - }, - "deny-open": { - "identifier": "deny-open", - "description": "Denies the open command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["open"] } - }, - "deny-save": { - "identifier": "deny-save", - "description": "Denies the save command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["save"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "fs": { - "default_permission": { - "identifier": "default", - "description": "This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\nOn Windows the webview data folder access is denied.\n\n", - "permissions": [ - "create-app-specific-dirs", - "read-app-specific-dirs-recursive", - "deny-default" - ] - }, - "permissions": { - "allow-copy-file": { - "identifier": "allow-copy-file", - "description": "Enables the copy_file command without any pre-configured scope.", - "commands": { "allow": ["copy_file"], "deny": [] } - }, - "allow-create": { - "identifier": "allow-create", - "description": "Enables the create command without any pre-configured scope.", - "commands": { "allow": ["create"], "deny": [] } - }, - "allow-exists": { - "identifier": "allow-exists", - "description": "Enables the exists command without any pre-configured scope.", - "commands": { "allow": ["exists"], "deny": [] } - }, - "allow-fstat": { - "identifier": "allow-fstat", - "description": "Enables the fstat command without any pre-configured scope.", - "commands": { "allow": ["fstat"], "deny": [] } - }, - "allow-ftruncate": { - "identifier": "allow-ftruncate", - "description": "Enables the ftruncate command without any pre-configured scope.", - "commands": { "allow": ["ftruncate"], "deny": [] } - }, - "allow-lstat": { - "identifier": "allow-lstat", - "description": "Enables the lstat command without any pre-configured scope.", - "commands": { "allow": ["lstat"], "deny": [] } - }, - "allow-mkdir": { - "identifier": "allow-mkdir", - "description": "Enables the mkdir command without any pre-configured scope.", - "commands": { "allow": ["mkdir"], "deny": [] } - }, - "allow-open": { - "identifier": "allow-open", - "description": "Enables the open command without any pre-configured scope.", - "commands": { "allow": ["open"], "deny": [] } - }, - "allow-read": { - "identifier": "allow-read", - "description": "Enables the read command without any pre-configured scope.", - "commands": { "allow": ["read"], "deny": [] } - }, - "allow-read-dir": { - "identifier": "allow-read-dir", - "description": "Enables the read_dir command without any pre-configured scope.", - "commands": { "allow": ["read_dir"], "deny": [] } - }, - "allow-read-file": { - "identifier": "allow-read-file", - "description": "Enables the read_file command without any pre-configured scope.", - "commands": { "allow": ["read_file"], "deny": [] } - }, - "allow-read-text-file": { - "identifier": "allow-read-text-file", - "description": "Enables the read_text_file command without any pre-configured scope.", - "commands": { "allow": ["read_text_file"], "deny": [] } - }, - "allow-read-text-file-lines": { - "identifier": "allow-read-text-file-lines", - "description": "Enables the read_text_file_lines command without any pre-configured scope.", - "commands": { "allow": ["read_text_file_lines"], "deny": [] } - }, - "allow-read-text-file-lines-next": { - "identifier": "allow-read-text-file-lines-next", - "description": "Enables the read_text_file_lines_next command without any pre-configured scope.", - "commands": { "allow": ["read_text_file_lines_next"], "deny": [] } - }, - "allow-remove": { - "identifier": "allow-remove", - "description": "Enables the remove command without any pre-configured scope.", - "commands": { "allow": ["remove"], "deny": [] } - }, - "allow-rename": { - "identifier": "allow-rename", - "description": "Enables the rename command without any pre-configured scope.", - "commands": { "allow": ["rename"], "deny": [] } - }, - "allow-seek": { - "identifier": "allow-seek", - "description": "Enables the seek command without any pre-configured scope.", - "commands": { "allow": ["seek"], "deny": [] } - }, - "allow-stat": { - "identifier": "allow-stat", - "description": "Enables the stat command without any pre-configured scope.", - "commands": { "allow": ["stat"], "deny": [] } - }, - "allow-truncate": { - "identifier": "allow-truncate", - "description": "Enables the truncate command without any pre-configured scope.", - "commands": { "allow": ["truncate"], "deny": [] } - }, - "allow-unwatch": { - "identifier": "allow-unwatch", - "description": "Enables the unwatch command without any pre-configured scope.", - "commands": { "allow": ["unwatch"], "deny": [] } - }, - "allow-watch": { - "identifier": "allow-watch", - "description": "Enables the watch command without any pre-configured scope.", - "commands": { "allow": ["watch"], "deny": [] } - }, - "allow-write": { - "identifier": "allow-write", - "description": "Enables the write command without any pre-configured scope.", - "commands": { "allow": ["write"], "deny": [] } - }, - "allow-write-file": { - "identifier": "allow-write-file", - "description": "Enables the write_file command without any pre-configured scope.", - "commands": { "allow": ["write_file"], "deny": [] } - }, - "allow-write-text-file": { - "identifier": "allow-write-text-file", - "description": "Enables the write_text_file command without any pre-configured scope.", - "commands": { "allow": ["write_text_file"], "deny": [] } - }, - "create-app-specific-dirs": { - "identifier": "create-app-specific-dirs", - "description": "This permissions allows to create the application specific directories.\n", - "commands": { "allow": ["mkdir"], "deny": [] }, - "scope": { - "allow": [ - { "path": "$APPCONFIG" }, - { "path": "$APPDATA" }, - { "path": "$APPLOCALDATA" }, - { "path": "$APPCACHE" }, - { "path": "$APPLOG" } - ] - } - }, - "deny-copy-file": { - "identifier": "deny-copy-file", - "description": "Denies the copy_file command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["copy_file"] } - }, - "deny-create": { - "identifier": "deny-create", - "description": "Denies the create command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["create"] } - }, - "deny-exists": { - "identifier": "deny-exists", - "description": "Denies the exists command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["exists"] } - }, - "deny-fstat": { - "identifier": "deny-fstat", - "description": "Denies the fstat command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["fstat"] } - }, - "deny-ftruncate": { - "identifier": "deny-ftruncate", - "description": "Denies the ftruncate command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["ftruncate"] } - }, - "deny-lstat": { - "identifier": "deny-lstat", - "description": "Denies the lstat command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["lstat"] } - }, - "deny-mkdir": { - "identifier": "deny-mkdir", - "description": "Denies the mkdir command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["mkdir"] } - }, - "deny-open": { - "identifier": "deny-open", - "description": "Denies the open command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["open"] } - }, - "deny-read": { - "identifier": "deny-read", - "description": "Denies the read command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read"] } - }, - "deny-read-dir": { - "identifier": "deny-read-dir", - "description": "Denies the read_dir command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_dir"] } - }, - "deny-read-file": { - "identifier": "deny-read-file", - "description": "Denies the read_file command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_file"] } - }, - "deny-read-text-file": { - "identifier": "deny-read-text-file", - "description": "Denies the read_text_file command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_text_file"] } - }, - "deny-read-text-file-lines": { - "identifier": "deny-read-text-file-lines", - "description": "Denies the read_text_file_lines command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_text_file_lines"] } - }, - "deny-read-text-file-lines-next": { - "identifier": "deny-read-text-file-lines-next", - "description": "Denies the read_text_file_lines_next command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["read_text_file_lines_next"] } - }, - "deny-remove": { - "identifier": "deny-remove", - "description": "Denies the remove command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["remove"] } - }, - "deny-rename": { - "identifier": "deny-rename", - "description": "Denies the rename command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["rename"] } - }, - "deny-seek": { - "identifier": "deny-seek", - "description": "Denies the seek command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["seek"] } - }, - "deny-stat": { - "identifier": "deny-stat", - "description": "Denies the stat command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["stat"] } - }, - "deny-truncate": { - "identifier": "deny-truncate", - "description": "Denies the truncate command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["truncate"] } - }, - "deny-unwatch": { - "identifier": "deny-unwatch", - "description": "Denies the unwatch command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["unwatch"] } - }, - "deny-watch": { - "identifier": "deny-watch", - "description": "Denies the watch command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["watch"] } - }, - "deny-webview-data-linux": { - "identifier": "deny-webview-data-linux", - "description": "This denies read access to the\n`$APPLOCALDATA` folder on linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "commands": { "allow": [], "deny": [] } - }, - "deny-webview-data-windows": { - "identifier": "deny-webview-data-windows", - "description": "This denies read access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "commands": { "allow": [], "deny": [] } - }, - "deny-write": { - "identifier": "deny-write", - "description": "Denies the write command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["write"] } - }, - "deny-write-file": { - "identifier": "deny-write-file", - "description": "Denies the write_file command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["write_file"] } - }, - "deny-write-text-file": { - "identifier": "deny-write-text-file", - "description": "Denies the write_text_file command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["write_text_file"] } - }, - "read-all": { - "identifier": "read-all", - "description": "This enables all read related commands without any pre-configured accessible paths.", - "commands": { - "allow": [ - "read_dir", - "read_file", - "read", - "open", - "read_text_file", - "read_text_file_lines", - "read_text_file_lines_next", - "seek", - "stat", - "lstat", - "fstat", - "exists", - "watch", - "unwatch" - ], - "deny": [] - } - }, - "read-app-specific-dirs-recursive": { - "identifier": "read-app-specific-dirs-recursive", - "description": "This permission allows recursive read functionality on the application\nspecific base directories. \n", - "commands": { - "allow": [ - "read_dir", - "read_file", - "read_text_file", - "read_text_file_lines", - "read_text_file_lines_next", - "exists" - ], - "deny": [] - }, - "scope": { - "allow": [ - { "path": "$APPCONFIG/**" }, - { "path": "$APPDATA/**" }, - { "path": "$APPLOCALDATA/**" }, - { "path": "$APPCACHE/**" }, - { "path": "$APPLOG/**" } - ] - } - }, - "read-dirs": { - "identifier": "read-dirs", - "description": "This enables directory read and file metadata related commands without any pre-configured accessible paths.", - "commands": { - "allow": ["read_dir", "stat", "lstat", "fstat", "exists"], - "deny": [] - } - }, - "read-files": { - "identifier": "read-files", - "description": "This enables file read related commands without any pre-configured accessible paths.", - "commands": { - "allow": [ - "read_file", - "read", - "open", - "read_text_file", - "read_text_file_lines", - "read_text_file_lines_next", - "seek", - "stat", - "lstat", - "fstat", - "exists" - ], - "deny": [] - } - }, - "read-meta": { - "identifier": "read-meta", - "description": "This enables all index or metadata related commands without any pre-configured accessible paths.", - "commands": { - "allow": ["read_dir", "stat", "lstat", "fstat", "exists"], - "deny": [] - } - }, - "scope": { - "identifier": "scope", - "description": "An empty permission you can use to modify the global scope.", - "commands": { "allow": [], "deny": [] } - }, - "scope-app": { - "identifier": "scope-app", - "description": "This scope permits access to all files and list content of top level directories in the `$APP`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APP" }, { "path": "$APP/*" }] } - }, - "scope-app-index": { - "identifier": "scope-app-index", - "description": "This scope permits to list all files and folders in the `$APP`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APP" }] } - }, - "scope-app-recursive": { - "identifier": "scope-app-recursive", - "description": "This scope permits recursive access to the complete `$APP` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APP" }, { "path": "$APP/**" }] } - }, - "scope-appcache": { - "identifier": "scope-appcache", - "description": "This scope permits access to all files and list content of top level directories in the `$APPCACHE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPCACHE" }, { "path": "$APPCACHE/*" }] - } - }, - "scope-appcache-index": { - "identifier": "scope-appcache-index", - "description": "This scope permits to list all files and folders in the `$APPCACHE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPCACHE" }] } - }, - "scope-appcache-recursive": { - "identifier": "scope-appcache-recursive", - "description": "This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPCACHE" }, { "path": "$APPCACHE/**" }] - } - }, - "scope-appconfig": { - "identifier": "scope-appconfig", - "description": "This scope permits access to all files and list content of top level directories in the `$APPCONFIG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPCONFIG" }, { "path": "$APPCONFIG/*" }] - } - }, - "scope-appconfig-index": { - "identifier": "scope-appconfig-index", - "description": "This scope permits to list all files and folders in the `$APPCONFIG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPCONFIG" }] } - }, - "scope-appconfig-recursive": { - "identifier": "scope-appconfig-recursive", - "description": "This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPCONFIG" }, { "path": "$APPCONFIG/**" }] - } - }, - "scope-appdata": { - "identifier": "scope-appdata", - "description": "This scope permits access to all files and list content of top level directories in the `$APPDATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPDATA" }, { "path": "$APPDATA/*" }] } - }, - "scope-appdata-index": { - "identifier": "scope-appdata-index", - "description": "This scope permits to list all files and folders in the `$APPDATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPDATA" }] } - }, - "scope-appdata-recursive": { - "identifier": "scope-appdata-recursive", - "description": "This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPDATA" }, { "path": "$APPDATA/**" }] - } - }, - "scope-applocaldata": { - "identifier": "scope-applocaldata", - "description": "This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPLOCALDATA" }, { "path": "$APPLOCALDATA/*" }] - } - }, - "scope-applocaldata-index": { - "identifier": "scope-applocaldata-index", - "description": "This scope permits to list all files and folders in the `$APPLOCALDATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPLOCALDATA" }] } - }, - "scope-applocaldata-recursive": { - "identifier": "scope-applocaldata-recursive", - "description": "This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$APPLOCALDATA" }, { "path": "$APPLOCALDATA/**" }] - } - }, - "scope-applog": { - "identifier": "scope-applog", - "description": "This scope permits access to all files and list content of top level directories in the `$APPLOG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPLOG" }, { "path": "$APPLOG/*" }] } - }, - "scope-applog-index": { - "identifier": "scope-applog-index", - "description": "This scope permits to list all files and folders in the `$APPLOG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPLOG" }] } - }, - "scope-applog-recursive": { - "identifier": "scope-applog-recursive", - "description": "This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$APPLOG" }, { "path": "$APPLOG/**" }] } - }, - "scope-audio": { - "identifier": "scope-audio", - "description": "This scope permits access to all files and list content of top level directories in the `$AUDIO`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$AUDIO" }, { "path": "$AUDIO/*" }] } - }, - "scope-audio-index": { - "identifier": "scope-audio-index", - "description": "This scope permits to list all files and folders in the `$AUDIO`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$AUDIO" }] } - }, - "scope-audio-recursive": { - "identifier": "scope-audio-recursive", - "description": "This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$AUDIO" }, { "path": "$AUDIO/**" }] } - }, - "scope-cache": { - "identifier": "scope-cache", - "description": "This scope permits access to all files and list content of top level directories in the `$CACHE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$CACHE" }, { "path": "$CACHE/*" }] } - }, - "scope-cache-index": { - "identifier": "scope-cache-index", - "description": "This scope permits to list all files and folders in the `$CACHE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$CACHE" }] } - }, - "scope-cache-recursive": { - "identifier": "scope-cache-recursive", - "description": "This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$CACHE" }, { "path": "$CACHE/**" }] } - }, - "scope-config": { - "identifier": "scope-config", - "description": "This scope permits access to all files and list content of top level directories in the `$CONFIG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$CONFIG" }, { "path": "$CONFIG/*" }] } - }, - "scope-config-index": { - "identifier": "scope-config-index", - "description": "This scope permits to list all files and folders in the `$CONFIG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$CONFIG" }] } - }, - "scope-config-recursive": { - "identifier": "scope-config-recursive", - "description": "This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$CONFIG" }, { "path": "$CONFIG/**" }] } - }, - "scope-data": { - "identifier": "scope-data", - "description": "This scope permits access to all files and list content of top level directories in the `$DATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DATA" }, { "path": "$DATA/*" }] } - }, - "scope-data-index": { - "identifier": "scope-data-index", - "description": "This scope permits to list all files and folders in the `$DATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DATA" }] } - }, - "scope-data-recursive": { - "identifier": "scope-data-recursive", - "description": "This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DATA" }, { "path": "$DATA/**" }] } - }, - "scope-desktop": { - "identifier": "scope-desktop", - "description": "This scope permits access to all files and list content of top level directories in the `$DESKTOP`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DESKTOP" }, { "path": "$DESKTOP/*" }] } - }, - "scope-desktop-index": { - "identifier": "scope-desktop-index", - "description": "This scope permits to list all files and folders in the `$DESKTOP`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DESKTOP" }] } - }, - "scope-desktop-recursive": { - "identifier": "scope-desktop-recursive", - "description": "This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$DESKTOP" }, { "path": "$DESKTOP/**" }] - } - }, - "scope-document": { - "identifier": "scope-document", - "description": "This scope permits access to all files and list content of top level directories in the `$DOCUMENT`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$DOCUMENT" }, { "path": "$DOCUMENT/*" }] - } - }, - "scope-document-index": { - "identifier": "scope-document-index", - "description": "This scope permits to list all files and folders in the `$DOCUMENT`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DOCUMENT" }] } - }, - "scope-document-recursive": { - "identifier": "scope-document-recursive", - "description": "This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$DOCUMENT" }, { "path": "$DOCUMENT/**" }] - } - }, - "scope-download": { - "identifier": "scope-download", - "description": "This scope permits access to all files and list content of top level directories in the `$DOWNLOAD`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$DOWNLOAD" }, { "path": "$DOWNLOAD/*" }] - } - }, - "scope-download-index": { - "identifier": "scope-download-index", - "description": "This scope permits to list all files and folders in the `$DOWNLOAD`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$DOWNLOAD" }] } - }, - "scope-download-recursive": { - "identifier": "scope-download-recursive", - "description": "This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$DOWNLOAD" }, { "path": "$DOWNLOAD/**" }] - } - }, - "scope-exe": { - "identifier": "scope-exe", - "description": "This scope permits access to all files and list content of top level directories in the `$EXE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$EXE" }, { "path": "$EXE/*" }] } - }, - "scope-exe-index": { - "identifier": "scope-exe-index", - "description": "This scope permits to list all files and folders in the `$EXE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$EXE" }] } - }, - "scope-exe-recursive": { - "identifier": "scope-exe-recursive", - "description": "This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$EXE" }, { "path": "$EXE/**" }] } - }, - "scope-font": { - "identifier": "scope-font", - "description": "This scope permits access to all files and list content of top level directories in the `$FONT`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$FONT" }, { "path": "$FONT/*" }] } - }, - "scope-font-index": { - "identifier": "scope-font-index", - "description": "This scope permits to list all files and folders in the `$FONT`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$FONT" }] } - }, - "scope-font-recursive": { - "identifier": "scope-font-recursive", - "description": "This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$FONT" }, { "path": "$FONT/**" }] } - }, - "scope-home": { - "identifier": "scope-home", - "description": "This scope permits access to all files and list content of top level directories in the `$HOME`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$HOME" }, { "path": "$HOME/*" }] } - }, - "scope-home-index": { - "identifier": "scope-home-index", - "description": "This scope permits to list all files and folders in the `$HOME`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$HOME" }] } - }, - "scope-home-recursive": { - "identifier": "scope-home-recursive", - "description": "This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$HOME" }, { "path": "$HOME/**" }] } - }, - "scope-localdata": { - "identifier": "scope-localdata", - "description": "This scope permits access to all files and list content of top level directories in the `$LOCALDATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$LOCALDATA" }, { "path": "$LOCALDATA/*" }] - } - }, - "scope-localdata-index": { - "identifier": "scope-localdata-index", - "description": "This scope permits to list all files and folders in the `$LOCALDATA`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$LOCALDATA" }] } - }, - "scope-localdata-recursive": { - "identifier": "scope-localdata-recursive", - "description": "This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$LOCALDATA" }, { "path": "$LOCALDATA/**" }] - } - }, - "scope-log": { - "identifier": "scope-log", - "description": "This scope permits access to all files and list content of top level directories in the `$LOG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$LOG" }, { "path": "$LOG/*" }] } - }, - "scope-log-index": { - "identifier": "scope-log-index", - "description": "This scope permits to list all files and folders in the `$LOG`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$LOG" }] } - }, - "scope-log-recursive": { - "identifier": "scope-log-recursive", - "description": "This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$LOG" }, { "path": "$LOG/**" }] } - }, - "scope-picture": { - "identifier": "scope-picture", - "description": "This scope permits access to all files and list content of top level directories in the `$PICTURE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$PICTURE" }, { "path": "$PICTURE/*" }] } - }, - "scope-picture-index": { - "identifier": "scope-picture-index", - "description": "This scope permits to list all files and folders in the `$PICTURE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$PICTURE" }] } - }, - "scope-picture-recursive": { - "identifier": "scope-picture-recursive", - "description": "This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$PICTURE" }, { "path": "$PICTURE/**" }] - } - }, - "scope-public": { - "identifier": "scope-public", - "description": "This scope permits access to all files and list content of top level directories in the `$PUBLIC`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$PUBLIC" }, { "path": "$PUBLIC/*" }] } - }, - "scope-public-index": { - "identifier": "scope-public-index", - "description": "This scope permits to list all files and folders in the `$PUBLIC`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$PUBLIC" }] } - }, - "scope-public-recursive": { - "identifier": "scope-public-recursive", - "description": "This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$PUBLIC" }, { "path": "$PUBLIC/**" }] } - }, - "scope-resource": { - "identifier": "scope-resource", - "description": "This scope permits access to all files and list content of top level directories in the `$RESOURCE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$RESOURCE" }, { "path": "$RESOURCE/*" }] - } - }, - "scope-resource-index": { - "identifier": "scope-resource-index", - "description": "This scope permits to list all files and folders in the `$RESOURCE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$RESOURCE" }] } - }, - "scope-resource-recursive": { - "identifier": "scope-resource-recursive", - "description": "This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$RESOURCE" }, { "path": "$RESOURCE/**" }] - } - }, - "scope-runtime": { - "identifier": "scope-runtime", - "description": "This scope permits access to all files and list content of top level directories in the `$RUNTIME`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$RUNTIME" }, { "path": "$RUNTIME/*" }] } - }, - "scope-runtime-index": { - "identifier": "scope-runtime-index", - "description": "This scope permits to list all files and folders in the `$RUNTIME`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$RUNTIME" }] } - }, - "scope-runtime-recursive": { - "identifier": "scope-runtime-recursive", - "description": "This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$RUNTIME" }, { "path": "$RUNTIME/**" }] - } - }, - "scope-temp": { - "identifier": "scope-temp", - "description": "This scope permits access to all files and list content of top level directories in the `$TEMP`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$TEMP" }, { "path": "$TEMP/*" }] } - }, - "scope-temp-index": { - "identifier": "scope-temp-index", - "description": "This scope permits to list all files and folders in the `$TEMP`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$TEMP" }] } - }, - "scope-temp-recursive": { - "identifier": "scope-temp-recursive", - "description": "This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$TEMP" }, { "path": "$TEMP/**" }] } - }, - "scope-template": { - "identifier": "scope-template", - "description": "This scope permits access to all files and list content of top level directories in the `$TEMPLATE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$TEMPLATE" }, { "path": "$TEMPLATE/*" }] - } - }, - "scope-template-index": { - "identifier": "scope-template-index", - "description": "This scope permits to list all files and folders in the `$TEMPLATE`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$TEMPLATE" }] } - }, - "scope-template-recursive": { - "identifier": "scope-template-recursive", - "description": "This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { - "allow": [{ "path": "$TEMPLATE" }, { "path": "$TEMPLATE/**" }] - } - }, - "scope-video": { - "identifier": "scope-video", - "description": "This scope permits access to all files and list content of top level directories in the `$VIDEO`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$VIDEO" }, { "path": "$VIDEO/*" }] } - }, - "scope-video-index": { - "identifier": "scope-video-index", - "description": "This scope permits to list all files and folders in the `$VIDEO`folder.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$VIDEO" }] } - }, - "scope-video-recursive": { - "identifier": "scope-video-recursive", - "description": "This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.", - "commands": { "allow": [], "deny": [] }, - "scope": { "allow": [{ "path": "$VIDEO" }, { "path": "$VIDEO/**" }] } - }, - "write-all": { - "identifier": "write-all", - "description": "This enables all write related commands without any pre-configured accessible paths.", - "commands": { - "allow": [ - "mkdir", - "create", - "copy_file", - "remove", - "rename", - "truncate", - "ftruncate", - "write", - "write_file", - "write_text_file" - ], - "deny": [] - } - }, - "write-files": { - "identifier": "write-files", - "description": "This enables all file write related commands without any pre-configured accessible paths.", - "commands": { - "allow": [ - "create", - "copy_file", - "remove", - "rename", - "truncate", - "ftruncate", - "write", - "write_file", - "write_text_file" - ], - "deny": [] - } - } - }, - "permission_sets": { - "allow-app-meta": { - "identifier": "allow-app-meta", - "description": "This allows non-recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-app-index"] - }, - "allow-app-meta-recursive": { - "identifier": "allow-app-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-app-recursive"] - }, - "allow-app-read": { - "identifier": "allow-app-read", - "description": "This allows non-recursive read access to the `$APP` folder.", - "permissions": ["read-all", "scope-app"] - }, - "allow-app-read-recursive": { - "identifier": "allow-app-read-recursive", - "description": "This allows full recursive read access to the complete `$APP` folder, files and subdirectories.", - "permissions": ["read-all", "scope-app-recursive"] - }, - "allow-app-write": { - "identifier": "allow-app-write", - "description": "This allows non-recursive write access to the `$APP` folder.", - "permissions": ["write-all", "scope-app"] - }, - "allow-app-write-recursive": { - "identifier": "allow-app-write-recursive", - "description": "This allows full recursive write access to the complete `$APP` folder, files and subdirectories.", - "permissions": ["write-all", "scope-app-recursive"] - }, - "allow-appcache-meta": { - "identifier": "allow-appcache-meta", - "description": "This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-appcache-index"] - }, - "allow-appcache-meta-recursive": { - "identifier": "allow-appcache-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-appcache-recursive"] - }, - "allow-appcache-read": { - "identifier": "allow-appcache-read", - "description": "This allows non-recursive read access to the `$APPCACHE` folder.", - "permissions": ["read-all", "scope-appcache"] - }, - "allow-appcache-read-recursive": { - "identifier": "allow-appcache-read-recursive", - "description": "This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.", - "permissions": ["read-all", "scope-appcache-recursive"] - }, - "allow-appcache-write": { - "identifier": "allow-appcache-write", - "description": "This allows non-recursive write access to the `$APPCACHE` folder.", - "permissions": ["write-all", "scope-appcache"] - }, - "allow-appcache-write-recursive": { - "identifier": "allow-appcache-write-recursive", - "description": "This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.", - "permissions": ["write-all", "scope-appcache-recursive"] - }, - "allow-appconfig-meta": { - "identifier": "allow-appconfig-meta", - "description": "This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-appconfig-index"] - }, - "allow-appconfig-meta-recursive": { - "identifier": "allow-appconfig-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-appconfig-recursive"] - }, - "allow-appconfig-read": { - "identifier": "allow-appconfig-read", - "description": "This allows non-recursive read access to the `$APPCONFIG` folder.", - "permissions": ["read-all", "scope-appconfig"] - }, - "allow-appconfig-read-recursive": { - "identifier": "allow-appconfig-read-recursive", - "description": "This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.", - "permissions": ["read-all", "scope-appconfig-recursive"] - }, - "allow-appconfig-write": { - "identifier": "allow-appconfig-write", - "description": "This allows non-recursive write access to the `$APPCONFIG` folder.", - "permissions": ["write-all", "scope-appconfig"] - }, - "allow-appconfig-write-recursive": { - "identifier": "allow-appconfig-write-recursive", - "description": "This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.", - "permissions": ["write-all", "scope-appconfig-recursive"] - }, - "allow-appdata-meta": { - "identifier": "allow-appdata-meta", - "description": "This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-appdata-index"] - }, - "allow-appdata-meta-recursive": { - "identifier": "allow-appdata-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-appdata-recursive"] - }, - "allow-appdata-read": { - "identifier": "allow-appdata-read", - "description": "This allows non-recursive read access to the `$APPDATA` folder.", - "permissions": ["read-all", "scope-appdata"] - }, - "allow-appdata-read-recursive": { - "identifier": "allow-appdata-read-recursive", - "description": "This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.", - "permissions": ["read-all", "scope-appdata-recursive"] - }, - "allow-appdata-write": { - "identifier": "allow-appdata-write", - "description": "This allows non-recursive write access to the `$APPDATA` folder.", - "permissions": ["write-all", "scope-appdata"] - }, - "allow-appdata-write-recursive": { - "identifier": "allow-appdata-write-recursive", - "description": "This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.", - "permissions": ["write-all", "scope-appdata-recursive"] - }, - "allow-applocaldata-meta": { - "identifier": "allow-applocaldata-meta", - "description": "This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-applocaldata-index"] - }, - "allow-applocaldata-meta-recursive": { - "identifier": "allow-applocaldata-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-applocaldata-recursive"] - }, - "allow-applocaldata-read": { - "identifier": "allow-applocaldata-read", - "description": "This allows non-recursive read access to the `$APPLOCALDATA` folder.", - "permissions": ["read-all", "scope-applocaldata"] - }, - "allow-applocaldata-read-recursive": { - "identifier": "allow-applocaldata-read-recursive", - "description": "This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "permissions": ["read-all", "scope-applocaldata-recursive"] - }, - "allow-applocaldata-write": { - "identifier": "allow-applocaldata-write", - "description": "This allows non-recursive write access to the `$APPLOCALDATA` folder.", - "permissions": ["write-all", "scope-applocaldata"] - }, - "allow-applocaldata-write-recursive": { - "identifier": "allow-applocaldata-write-recursive", - "description": "This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "permissions": ["write-all", "scope-applocaldata-recursive"] - }, - "allow-applog-meta": { - "identifier": "allow-applog-meta", - "description": "This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-applog-index"] - }, - "allow-applog-meta-recursive": { - "identifier": "allow-applog-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-applog-recursive"] - }, - "allow-applog-read": { - "identifier": "allow-applog-read", - "description": "This allows non-recursive read access to the `$APPLOG` folder.", - "permissions": ["read-all", "scope-applog"] - }, - "allow-applog-read-recursive": { - "identifier": "allow-applog-read-recursive", - "description": "This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.", - "permissions": ["read-all", "scope-applog-recursive"] - }, - "allow-applog-write": { - "identifier": "allow-applog-write", - "description": "This allows non-recursive write access to the `$APPLOG` folder.", - "permissions": ["write-all", "scope-applog"] - }, - "allow-applog-write-recursive": { - "identifier": "allow-applog-write-recursive", - "description": "This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.", - "permissions": ["write-all", "scope-applog-recursive"] - }, - "allow-audio-meta": { - "identifier": "allow-audio-meta", - "description": "This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-audio-index"] - }, - "allow-audio-meta-recursive": { - "identifier": "allow-audio-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-audio-recursive"] - }, - "allow-audio-read": { - "identifier": "allow-audio-read", - "description": "This allows non-recursive read access to the `$AUDIO` folder.", - "permissions": ["read-all", "scope-audio"] - }, - "allow-audio-read-recursive": { - "identifier": "allow-audio-read-recursive", - "description": "This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.", - "permissions": ["read-all", "scope-audio-recursive"] - }, - "allow-audio-write": { - "identifier": "allow-audio-write", - "description": "This allows non-recursive write access to the `$AUDIO` folder.", - "permissions": ["write-all", "scope-audio"] - }, - "allow-audio-write-recursive": { - "identifier": "allow-audio-write-recursive", - "description": "This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.", - "permissions": ["write-all", "scope-audio-recursive"] - }, - "allow-cache-meta": { - "identifier": "allow-cache-meta", - "description": "This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-cache-index"] - }, - "allow-cache-meta-recursive": { - "identifier": "allow-cache-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-cache-recursive"] - }, - "allow-cache-read": { - "identifier": "allow-cache-read", - "description": "This allows non-recursive read access to the `$CACHE` folder.", - "permissions": ["read-all", "scope-cache"] - }, - "allow-cache-read-recursive": { - "identifier": "allow-cache-read-recursive", - "description": "This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.", - "permissions": ["read-all", "scope-cache-recursive"] - }, - "allow-cache-write": { - "identifier": "allow-cache-write", - "description": "This allows non-recursive write access to the `$CACHE` folder.", - "permissions": ["write-all", "scope-cache"] - }, - "allow-cache-write-recursive": { - "identifier": "allow-cache-write-recursive", - "description": "This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.", - "permissions": ["write-all", "scope-cache-recursive"] - }, - "allow-config-meta": { - "identifier": "allow-config-meta", - "description": "This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-config-index"] - }, - "allow-config-meta-recursive": { - "identifier": "allow-config-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-config-recursive"] - }, - "allow-config-read": { - "identifier": "allow-config-read", - "description": "This allows non-recursive read access to the `$CONFIG` folder.", - "permissions": ["read-all", "scope-config"] - }, - "allow-config-read-recursive": { - "identifier": "allow-config-read-recursive", - "description": "This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.", - "permissions": ["read-all", "scope-config-recursive"] - }, - "allow-config-write": { - "identifier": "allow-config-write", - "description": "This allows non-recursive write access to the `$CONFIG` folder.", - "permissions": ["write-all", "scope-config"] - }, - "allow-config-write-recursive": { - "identifier": "allow-config-write-recursive", - "description": "This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.", - "permissions": ["write-all", "scope-config-recursive"] - }, - "allow-data-meta": { - "identifier": "allow-data-meta", - "description": "This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-data-index"] - }, - "allow-data-meta-recursive": { - "identifier": "allow-data-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-data-recursive"] - }, - "allow-data-read": { - "identifier": "allow-data-read", - "description": "This allows non-recursive read access to the `$DATA` folder.", - "permissions": ["read-all", "scope-data"] - }, - "allow-data-read-recursive": { - "identifier": "allow-data-read-recursive", - "description": "This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.", - "permissions": ["read-all", "scope-data-recursive"] - }, - "allow-data-write": { - "identifier": "allow-data-write", - "description": "This allows non-recursive write access to the `$DATA` folder.", - "permissions": ["write-all", "scope-data"] - }, - "allow-data-write-recursive": { - "identifier": "allow-data-write-recursive", - "description": "This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.", - "permissions": ["write-all", "scope-data-recursive"] - }, - "allow-desktop-meta": { - "identifier": "allow-desktop-meta", - "description": "This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-desktop-index"] - }, - "allow-desktop-meta-recursive": { - "identifier": "allow-desktop-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-desktop-recursive"] - }, - "allow-desktop-read": { - "identifier": "allow-desktop-read", - "description": "This allows non-recursive read access to the `$DESKTOP` folder.", - "permissions": ["read-all", "scope-desktop"] - }, - "allow-desktop-read-recursive": { - "identifier": "allow-desktop-read-recursive", - "description": "This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.", - "permissions": ["read-all", "scope-desktop-recursive"] - }, - "allow-desktop-write": { - "identifier": "allow-desktop-write", - "description": "This allows non-recursive write access to the `$DESKTOP` folder.", - "permissions": ["write-all", "scope-desktop"] - }, - "allow-desktop-write-recursive": { - "identifier": "allow-desktop-write-recursive", - "description": "This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.", - "permissions": ["write-all", "scope-desktop-recursive"] - }, - "allow-document-meta": { - "identifier": "allow-document-meta", - "description": "This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-document-index"] - }, - "allow-document-meta-recursive": { - "identifier": "allow-document-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-document-recursive"] - }, - "allow-document-read": { - "identifier": "allow-document-read", - "description": "This allows non-recursive read access to the `$DOCUMENT` folder.", - "permissions": ["read-all", "scope-document"] - }, - "allow-document-read-recursive": { - "identifier": "allow-document-read-recursive", - "description": "This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.", - "permissions": ["read-all", "scope-document-recursive"] - }, - "allow-document-write": { - "identifier": "allow-document-write", - "description": "This allows non-recursive write access to the `$DOCUMENT` folder.", - "permissions": ["write-all", "scope-document"] - }, - "allow-document-write-recursive": { - "identifier": "allow-document-write-recursive", - "description": "This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.", - "permissions": ["write-all", "scope-document-recursive"] - }, - "allow-download-meta": { - "identifier": "allow-download-meta", - "description": "This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-download-index"] - }, - "allow-download-meta-recursive": { - "identifier": "allow-download-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-download-recursive"] - }, - "allow-download-read": { - "identifier": "allow-download-read", - "description": "This allows non-recursive read access to the `$DOWNLOAD` folder.", - "permissions": ["read-all", "scope-download"] - }, - "allow-download-read-recursive": { - "identifier": "allow-download-read-recursive", - "description": "This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "permissions": ["read-all", "scope-download-recursive"] - }, - "allow-download-write": { - "identifier": "allow-download-write", - "description": "This allows non-recursive write access to the `$DOWNLOAD` folder.", - "permissions": ["write-all", "scope-download"] - }, - "allow-download-write-recursive": { - "identifier": "allow-download-write-recursive", - "description": "This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "permissions": ["write-all", "scope-download-recursive"] - }, - "allow-exe-meta": { - "identifier": "allow-exe-meta", - "description": "This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-exe-index"] - }, - "allow-exe-meta-recursive": { - "identifier": "allow-exe-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-exe-recursive"] - }, - "allow-exe-read": { - "identifier": "allow-exe-read", - "description": "This allows non-recursive read access to the `$EXE` folder.", - "permissions": ["read-all", "scope-exe"] - }, - "allow-exe-read-recursive": { - "identifier": "allow-exe-read-recursive", - "description": "This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.", - "permissions": ["read-all", "scope-exe-recursive"] - }, - "allow-exe-write": { - "identifier": "allow-exe-write", - "description": "This allows non-recursive write access to the `$EXE` folder.", - "permissions": ["write-all", "scope-exe"] - }, - "allow-exe-write-recursive": { - "identifier": "allow-exe-write-recursive", - "description": "This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.", - "permissions": ["write-all", "scope-exe-recursive"] - }, - "allow-font-meta": { - "identifier": "allow-font-meta", - "description": "This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-font-index"] - }, - "allow-font-meta-recursive": { - "identifier": "allow-font-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-font-recursive"] - }, - "allow-font-read": { - "identifier": "allow-font-read", - "description": "This allows non-recursive read access to the `$FONT` folder.", - "permissions": ["read-all", "scope-font"] - }, - "allow-font-read-recursive": { - "identifier": "allow-font-read-recursive", - "description": "This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.", - "permissions": ["read-all", "scope-font-recursive"] - }, - "allow-font-write": { - "identifier": "allow-font-write", - "description": "This allows non-recursive write access to the `$FONT` folder.", - "permissions": ["write-all", "scope-font"] - }, - "allow-font-write-recursive": { - "identifier": "allow-font-write-recursive", - "description": "This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.", - "permissions": ["write-all", "scope-font-recursive"] - }, - "allow-home-meta": { - "identifier": "allow-home-meta", - "description": "This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-home-index"] - }, - "allow-home-meta-recursive": { - "identifier": "allow-home-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-home-recursive"] - }, - "allow-home-read": { - "identifier": "allow-home-read", - "description": "This allows non-recursive read access to the `$HOME` folder.", - "permissions": ["read-all", "scope-home"] - }, - "allow-home-read-recursive": { - "identifier": "allow-home-read-recursive", - "description": "This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.", - "permissions": ["read-all", "scope-home-recursive"] - }, - "allow-home-write": { - "identifier": "allow-home-write", - "description": "This allows non-recursive write access to the `$HOME` folder.", - "permissions": ["write-all", "scope-home"] - }, - "allow-home-write-recursive": { - "identifier": "allow-home-write-recursive", - "description": "This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.", - "permissions": ["write-all", "scope-home-recursive"] - }, - "allow-localdata-meta": { - "identifier": "allow-localdata-meta", - "description": "This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-localdata-index"] - }, - "allow-localdata-meta-recursive": { - "identifier": "allow-localdata-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-localdata-recursive"] - }, - "allow-localdata-read": { - "identifier": "allow-localdata-read", - "description": "This allows non-recursive read access to the `$LOCALDATA` folder.", - "permissions": ["read-all", "scope-localdata"] - }, - "allow-localdata-read-recursive": { - "identifier": "allow-localdata-read-recursive", - "description": "This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.", - "permissions": ["read-all", "scope-localdata-recursive"] - }, - "allow-localdata-write": { - "identifier": "allow-localdata-write", - "description": "This allows non-recursive write access to the `$LOCALDATA` folder.", - "permissions": ["write-all", "scope-localdata"] - }, - "allow-localdata-write-recursive": { - "identifier": "allow-localdata-write-recursive", - "description": "This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.", - "permissions": ["write-all", "scope-localdata-recursive"] - }, - "allow-log-meta": { - "identifier": "allow-log-meta", - "description": "This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-log-index"] - }, - "allow-log-meta-recursive": { - "identifier": "allow-log-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-log-recursive"] - }, - "allow-log-read": { - "identifier": "allow-log-read", - "description": "This allows non-recursive read access to the `$LOG` folder.", - "permissions": ["read-all", "scope-log"] - }, - "allow-log-read-recursive": { - "identifier": "allow-log-read-recursive", - "description": "This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.", - "permissions": ["read-all", "scope-log-recursive"] - }, - "allow-log-write": { - "identifier": "allow-log-write", - "description": "This allows non-recursive write access to the `$LOG` folder.", - "permissions": ["write-all", "scope-log"] - }, - "allow-log-write-recursive": { - "identifier": "allow-log-write-recursive", - "description": "This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.", - "permissions": ["write-all", "scope-log-recursive"] - }, - "allow-picture-meta": { - "identifier": "allow-picture-meta", - "description": "This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-picture-index"] - }, - "allow-picture-meta-recursive": { - "identifier": "allow-picture-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-picture-recursive"] - }, - "allow-picture-read": { - "identifier": "allow-picture-read", - "description": "This allows non-recursive read access to the `$PICTURE` folder.", - "permissions": ["read-all", "scope-picture"] - }, - "allow-picture-read-recursive": { - "identifier": "allow-picture-read-recursive", - "description": "This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.", - "permissions": ["read-all", "scope-picture-recursive"] - }, - "allow-picture-write": { - "identifier": "allow-picture-write", - "description": "This allows non-recursive write access to the `$PICTURE` folder.", - "permissions": ["write-all", "scope-picture"] - }, - "allow-picture-write-recursive": { - "identifier": "allow-picture-write-recursive", - "description": "This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.", - "permissions": ["write-all", "scope-picture-recursive"] - }, - "allow-public-meta": { - "identifier": "allow-public-meta", - "description": "This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-public-index"] - }, - "allow-public-meta-recursive": { - "identifier": "allow-public-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-public-recursive"] - }, - "allow-public-read": { - "identifier": "allow-public-read", - "description": "This allows non-recursive read access to the `$PUBLIC` folder.", - "permissions": ["read-all", "scope-public"] - }, - "allow-public-read-recursive": { - "identifier": "allow-public-read-recursive", - "description": "This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.", - "permissions": ["read-all", "scope-public-recursive"] - }, - "allow-public-write": { - "identifier": "allow-public-write", - "description": "This allows non-recursive write access to the `$PUBLIC` folder.", - "permissions": ["write-all", "scope-public"] - }, - "allow-public-write-recursive": { - "identifier": "allow-public-write-recursive", - "description": "This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.", - "permissions": ["write-all", "scope-public-recursive"] - }, - "allow-resource-meta": { - "identifier": "allow-resource-meta", - "description": "This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-resource-index"] - }, - "allow-resource-meta-recursive": { - "identifier": "allow-resource-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-resource-recursive"] - }, - "allow-resource-read": { - "identifier": "allow-resource-read", - "description": "This allows non-recursive read access to the `$RESOURCE` folder.", - "permissions": ["read-all", "scope-resource"] - }, - "allow-resource-read-recursive": { - "identifier": "allow-resource-read-recursive", - "description": "This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.", - "permissions": ["read-all", "scope-resource-recursive"] - }, - "allow-resource-write": { - "identifier": "allow-resource-write", - "description": "This allows non-recursive write access to the `$RESOURCE` folder.", - "permissions": ["write-all", "scope-resource"] - }, - "allow-resource-write-recursive": { - "identifier": "allow-resource-write-recursive", - "description": "This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.", - "permissions": ["write-all", "scope-resource-recursive"] - }, - "allow-runtime-meta": { - "identifier": "allow-runtime-meta", - "description": "This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-runtime-index"] - }, - "allow-runtime-meta-recursive": { - "identifier": "allow-runtime-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-runtime-recursive"] - }, - "allow-runtime-read": { - "identifier": "allow-runtime-read", - "description": "This allows non-recursive read access to the `$RUNTIME` folder.", - "permissions": ["read-all", "scope-runtime"] - }, - "allow-runtime-read-recursive": { - "identifier": "allow-runtime-read-recursive", - "description": "This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.", - "permissions": ["read-all", "scope-runtime-recursive"] - }, - "allow-runtime-write": { - "identifier": "allow-runtime-write", - "description": "This allows non-recursive write access to the `$RUNTIME` folder.", - "permissions": ["write-all", "scope-runtime"] - }, - "allow-runtime-write-recursive": { - "identifier": "allow-runtime-write-recursive", - "description": "This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.", - "permissions": ["write-all", "scope-runtime-recursive"] - }, - "allow-temp-meta": { - "identifier": "allow-temp-meta", - "description": "This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-temp-index"] - }, - "allow-temp-meta-recursive": { - "identifier": "allow-temp-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-temp-recursive"] - }, - "allow-temp-read": { - "identifier": "allow-temp-read", - "description": "This allows non-recursive read access to the `$TEMP` folder.", - "permissions": ["read-all", "scope-temp"] - }, - "allow-temp-read-recursive": { - "identifier": "allow-temp-read-recursive", - "description": "This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.", - "permissions": ["read-all", "scope-temp-recursive"] - }, - "allow-temp-write": { - "identifier": "allow-temp-write", - "description": "This allows non-recursive write access to the `$TEMP` folder.", - "permissions": ["write-all", "scope-temp"] - }, - "allow-temp-write-recursive": { - "identifier": "allow-temp-write-recursive", - "description": "This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.", - "permissions": ["write-all", "scope-temp-recursive"] - }, - "allow-template-meta": { - "identifier": "allow-template-meta", - "description": "This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-template-index"] - }, - "allow-template-meta-recursive": { - "identifier": "allow-template-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-template-recursive"] - }, - "allow-template-read": { - "identifier": "allow-template-read", - "description": "This allows non-recursive read access to the `$TEMPLATE` folder.", - "permissions": ["read-all", "scope-template"] - }, - "allow-template-read-recursive": { - "identifier": "allow-template-read-recursive", - "description": "This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.", - "permissions": ["read-all", "scope-template-recursive"] - }, - "allow-template-write": { - "identifier": "allow-template-write", - "description": "This allows non-recursive write access to the `$TEMPLATE` folder.", - "permissions": ["write-all", "scope-template"] - }, - "allow-template-write-recursive": { - "identifier": "allow-template-write-recursive", - "description": "This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.", - "permissions": ["write-all", "scope-template-recursive"] - }, - "allow-video-meta": { - "identifier": "allow-video-meta", - "description": "This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-video-index"] - }, - "allow-video-meta-recursive": { - "identifier": "allow-video-meta-recursive", - "description": "This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "permissions": ["read-meta", "scope-video-recursive"] - }, - "allow-video-read": { - "identifier": "allow-video-read", - "description": "This allows non-recursive read access to the `$VIDEO` folder.", - "permissions": ["read-all", "scope-video"] - }, - "allow-video-read-recursive": { - "identifier": "allow-video-read-recursive", - "description": "This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.", - "permissions": ["read-all", "scope-video-recursive"] - }, - "allow-video-write": { - "identifier": "allow-video-write", - "description": "This allows non-recursive write access to the `$VIDEO` folder.", - "permissions": ["write-all", "scope-video"] - }, - "allow-video-write-recursive": { - "identifier": "allow-video-write-recursive", - "description": "This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.", - "permissions": ["write-all", "scope-video-recursive"] - }, - "deny-default": { - "identifier": "deny-default", - "description": "This denies access to dangerous Tauri relevant files and folders by default.", - "permissions": ["deny-webview-data-linux", "deny-webview-data-windows"] - } - }, - "global_scope_schema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "anyOf": [ - { "description": "FS scope path.", "type": "string" }, - { - "properties": { - "path": { "description": "FS scope path.", "type": "string" } - }, - "required": ["path"], - "type": "object" - } - ], - "description": "FS scope entry.", - "title": "FsScopeEntry" - } - }, - "global-shortcut": { - "default_permission": { - "identifier": "default", - "description": "No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n", - "permissions": [] - }, - "permissions": { - "allow-is-registered": { - "identifier": "allow-is-registered", - "description": "Enables the is_registered command without any pre-configured scope.", - "commands": { "allow": ["is_registered"], "deny": [] } - }, - "allow-register": { - "identifier": "allow-register", - "description": "Enables the register command without any pre-configured scope.", - "commands": { "allow": ["register"], "deny": [] } - }, - "allow-register-all": { - "identifier": "allow-register-all", - "description": "Enables the register_all command without any pre-configured scope.", - "commands": { "allow": ["register_all"], "deny": [] } - }, - "allow-unregister": { - "identifier": "allow-unregister", - "description": "Enables the unregister command without any pre-configured scope.", - "commands": { "allow": ["unregister"], "deny": [] } - }, - "allow-unregister-all": { - "identifier": "allow-unregister-all", - "description": "Enables the unregister_all command without any pre-configured scope.", - "commands": { "allow": ["unregister_all"], "deny": [] } - }, - "deny-is-registered": { - "identifier": "deny-is-registered", - "description": "Denies the is_registered command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_registered"] } - }, - "deny-register": { - "identifier": "deny-register", - "description": "Denies the register command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["register"] } - }, - "deny-register-all": { - "identifier": "deny-register-all", - "description": "Denies the register_all command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["register_all"] } - }, - "deny-unregister": { - "identifier": "deny-unregister", - "description": "Denies the unregister command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["unregister"] } - }, - "deny-unregister-all": { - "identifier": "deny-unregister-all", - "description": "Denies the unregister_all command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["unregister_all"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "notification": { - "default_permission": { - "identifier": "default", - "description": "This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n", - "permissions": [ - "allow-is-permission-granted", - "allow-request-permission", - "allow-notify", - "allow-register-action-types", - "allow-register-listener", - "allow-cancel", - "allow-get-pending", - "allow-remove-active", - "allow-get-active", - "allow-check-permissions", - "allow-show", - "allow-batch", - "allow-list-channels", - "allow-delete-channel", - "allow-create-channel", - "allow-permission-state" - ] - }, - "permissions": { - "allow-batch": { - "identifier": "allow-batch", - "description": "Enables the batch command without any pre-configured scope.", - "commands": { "allow": ["batch"], "deny": [] } - }, - "allow-cancel": { - "identifier": "allow-cancel", - "description": "Enables the cancel command without any pre-configured scope.", - "commands": { "allow": ["cancel"], "deny": [] } - }, - "allow-check-permissions": { - "identifier": "allow-check-permissions", - "description": "Enables the check_permissions command without any pre-configured scope.", - "commands": { "allow": ["check_permissions"], "deny": [] } - }, - "allow-create-channel": { - "identifier": "allow-create-channel", - "description": "Enables the create_channel command without any pre-configured scope.", - "commands": { "allow": ["create_channel"], "deny": [] } - }, - "allow-delete-channel": { - "identifier": "allow-delete-channel", - "description": "Enables the delete_channel command without any pre-configured scope.", - "commands": { "allow": ["delete_channel"], "deny": [] } - }, - "allow-get-active": { - "identifier": "allow-get-active", - "description": "Enables the get_active command without any pre-configured scope.", - "commands": { "allow": ["get_active"], "deny": [] } - }, - "allow-get-pending": { - "identifier": "allow-get-pending", - "description": "Enables the get_pending command without any pre-configured scope.", - "commands": { "allow": ["get_pending"], "deny": [] } - }, - "allow-is-permission-granted": { - "identifier": "allow-is-permission-granted", - "description": "Enables the is_permission_granted command without any pre-configured scope.", - "commands": { "allow": ["is_permission_granted"], "deny": [] } - }, - "allow-list-channels": { - "identifier": "allow-list-channels", - "description": "Enables the list_channels command without any pre-configured scope.", - "commands": { "allow": ["list_channels"], "deny": [] } - }, - "allow-notify": { - "identifier": "allow-notify", - "description": "Enables the notify command without any pre-configured scope.", - "commands": { "allow": ["notify"], "deny": [] } - }, - "allow-permission-state": { - "identifier": "allow-permission-state", - "description": "Enables the permission_state command without any pre-configured scope.", - "commands": { "allow": ["permission_state"], "deny": [] } - }, - "allow-register-action-types": { - "identifier": "allow-register-action-types", - "description": "Enables the register_action_types command without any pre-configured scope.", - "commands": { "allow": ["register_action_types"], "deny": [] } - }, - "allow-register-listener": { - "identifier": "allow-register-listener", - "description": "Enables the register_listener command without any pre-configured scope.", - "commands": { "allow": ["register_listener"], "deny": [] } - }, - "allow-remove-active": { - "identifier": "allow-remove-active", - "description": "Enables the remove_active command without any pre-configured scope.", - "commands": { "allow": ["remove_active"], "deny": [] } - }, - "allow-request-permission": { - "identifier": "allow-request-permission", - "description": "Enables the request_permission command without any pre-configured scope.", - "commands": { "allow": ["request_permission"], "deny": [] } - }, - "allow-show": { - "identifier": "allow-show", - "description": "Enables the show command without any pre-configured scope.", - "commands": { "allow": ["show"], "deny": [] } - }, - "deny-batch": { - "identifier": "deny-batch", - "description": "Denies the batch command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["batch"] } - }, - "deny-cancel": { - "identifier": "deny-cancel", - "description": "Denies the cancel command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["cancel"] } - }, - "deny-check-permissions": { - "identifier": "deny-check-permissions", - "description": "Denies the check_permissions command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["check_permissions"] } - }, - "deny-create-channel": { - "identifier": "deny-create-channel", - "description": "Denies the create_channel command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["create_channel"] } - }, - "deny-delete-channel": { - "identifier": "deny-delete-channel", - "description": "Denies the delete_channel command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["delete_channel"] } - }, - "deny-get-active": { - "identifier": "deny-get-active", - "description": "Denies the get_active command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["get_active"] } - }, - "deny-get-pending": { - "identifier": "deny-get-pending", - "description": "Denies the get_pending command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["get_pending"] } - }, - "deny-is-permission-granted": { - "identifier": "deny-is-permission-granted", - "description": "Denies the is_permission_granted command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["is_permission_granted"] } - }, - "deny-list-channels": { - "identifier": "deny-list-channels", - "description": "Denies the list_channels command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["list_channels"] } - }, - "deny-notify": { - "identifier": "deny-notify", - "description": "Denies the notify command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["notify"] } - }, - "deny-permission-state": { - "identifier": "deny-permission-state", - "description": "Denies the permission_state command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["permission_state"] } - }, - "deny-register-action-types": { - "identifier": "deny-register-action-types", - "description": "Denies the register_action_types command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["register_action_types"] } - }, - "deny-register-listener": { - "identifier": "deny-register-listener", - "description": "Denies the register_listener command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["register_listener"] } - }, - "deny-remove-active": { - "identifier": "deny-remove-active", - "description": "Denies the remove_active command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["remove_active"] } - }, - "deny-request-permission": { - "identifier": "deny-request-permission", - "description": "Denies the request_permission command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["request_permission"] } - }, - "deny-show": { - "identifier": "deny-show", - "description": "Denies the show command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["show"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "process": { - "default_permission": { - "identifier": "default", - "description": "This permission set configures which\nprocess feeatures are by default exposed.\n\n#### Granted Permissions\n\nThis enables to quit via `allow-exit` and restart via `allow-restart`\nthe application.\n", - "permissions": ["allow-exit", "allow-restart"] - }, - "permissions": { - "allow-exit": { - "identifier": "allow-exit", - "description": "Enables the exit command without any pre-configured scope.", - "commands": { "allow": ["exit"], "deny": [] } - }, - "allow-restart": { - "identifier": "allow-restart", - "description": "Enables the restart command without any pre-configured scope.", - "commands": { "allow": ["restart"], "deny": [] } - }, - "deny-exit": { - "identifier": "deny-exit", - "description": "Denies the exit command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["exit"] } - }, - "deny-restart": { - "identifier": "deny-restart", - "description": "Denies the restart command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["restart"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - }, - "shell": { - "default_permission": { - "identifier": "default", - "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n", - "permissions": ["allow-open"] - }, - "permissions": { - "allow-execute": { - "identifier": "allow-execute", - "description": "Enables the execute command without any pre-configured scope.", - "commands": { "allow": ["execute"], "deny": [] } - }, - "allow-kill": { - "identifier": "allow-kill", - "description": "Enables the kill command without any pre-configured scope.", - "commands": { "allow": ["kill"], "deny": [] } - }, - "allow-open": { - "identifier": "allow-open", - "description": "Enables the open command without any pre-configured scope.", - "commands": { "allow": ["open"], "deny": [] } - }, - "allow-spawn": { - "identifier": "allow-spawn", - "description": "Enables the spawn command without any pre-configured scope.", - "commands": { "allow": ["spawn"], "deny": [] } - }, - "allow-stdin-write": { - "identifier": "allow-stdin-write", - "description": "Enables the stdin_write command without any pre-configured scope.", - "commands": { "allow": ["stdin_write"], "deny": [] } - }, - "deny-execute": { - "identifier": "deny-execute", - "description": "Denies the execute command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["execute"] } - }, - "deny-kill": { - "identifier": "deny-kill", - "description": "Denies the kill command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["kill"] } - }, - "deny-open": { - "identifier": "deny-open", - "description": "Denies the open command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["open"] } - }, - "deny-spawn": { - "identifier": "deny-spawn", - "description": "Denies the spawn command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["spawn"] } - }, - "deny-stdin-write": { - "identifier": "deny-stdin-write", - "description": "Denies the stdin_write command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["stdin_write"] } - } - }, - "permission_sets": {}, - "global_scope_schema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "ShellAllowedArg": { - "anyOf": [ - { - "description": "A non-configurable argument that is passed to the command in the order it was specified.", - "type": "string" - }, - { - "additionalProperties": false, - "description": "A variable that is set while calling the command from the webview API.", - "properties": { - "raw": { - "default": false, - "description": "Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.", - "type": "boolean" - }, - "validator": { - "description": "[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ", - "type": "string" - } - }, - "required": ["validator"], - "type": "object" - } - ], - "description": "A command argument allowed to be executed by the webview API." - }, - "ShellAllowedArgs": { - "anyOf": [ - { - "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.", - "type": "boolean" - }, - { - "description": "A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.", - "items": { "$ref": "#/definitions/ShellAllowedArg" }, - "type": "array" - } - ], - "description": "A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration." - } - }, - "description": "A command allowed to be executed by the webview API.", - "properties": { - "args": { - "allOf": [{ "$ref": "#/definitions/ShellAllowedArgs" }], - "description": "The allowed arguments for the command execution." - }, - "cmd": { - "description": "The command name. It 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" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - }, - "required": ["args", "cmd", "name", "sidecar"], - "title": "Entry", - "type": "object" - } - }, - "updater": { - "default_permission": { - "identifier": "default", - "description": "This permission set configures which kind of\nupdater functions are exposed to the frontend.\n\n#### Granted Permissions\n\nThe full workflow from checking for updates to installing them\nis enabled.\n\n", - "permissions": [ - "allow-check", - "allow-download", - "allow-install", - "allow-download-and-install" - ] - }, - "permissions": { - "allow-check": { - "identifier": "allow-check", - "description": "Enables the check command without any pre-configured scope.", - "commands": { "allow": ["check"], "deny": [] } - }, - "allow-download": { - "identifier": "allow-download", - "description": "Enables the download command without any pre-configured scope.", - "commands": { "allow": ["download"], "deny": [] } - }, - "allow-download-and-install": { - "identifier": "allow-download-and-install", - "description": "Enables the download_and_install command without any pre-configured scope.", - "commands": { "allow": ["download_and_install"], "deny": [] } - }, - "allow-install": { - "identifier": "allow-install", - "description": "Enables the install command without any pre-configured scope.", - "commands": { "allow": ["install"], "deny": [] } - }, - "deny-check": { - "identifier": "deny-check", - "description": "Denies the check command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["check"] } - }, - "deny-download": { - "identifier": "deny-download", - "description": "Denies the download command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["download"] } - }, - "deny-download-and-install": { - "identifier": "deny-download-and-install", - "description": "Denies the download_and_install command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["download_and_install"] } - }, - "deny-install": { - "identifier": "deny-install", - "description": "Denies the install command without any pre-configured scope.", - "commands": { "allow": [], "deny": ["install"] } - } - }, - "permission_sets": {}, - "global_scope_schema": null - } -} diff --git a/src-tauri/gen/schemas/capabilities.json b/src-tauri/gen/schemas/capabilities.json deleted file mode 100644 index 66545c9..0000000 --- a/src-tauri/gen/schemas/capabilities.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "desktop-capability": { - "identifier": "desktop-capability", - "description": "", - "local": true, - "permissions": ["global-shortcut:default", "updater:default"], - "platforms": ["macOS", "windows", "linux"] - }, - "migrated": { - "identifier": "migrated", - "description": "permissions that were migrated from v1", - "local": true, - "windows": ["main"], - "permissions": [ - "core:default", - "fs:allow-read-file", - "fs:allow-exists", - { - "identifier": "fs:scope", - "allow": ["$APPDATA/**", "$RESOURCE/../**", "**"] - }, - "core:window:allow-create", - "core:window:allow-center", - "core:window:allow-request-user-attention", - "core:window:allow-set-resizable", - "core:window:allow-set-maximizable", - "core:window:allow-set-minimizable", - "core:window:allow-set-closable", - "core:window:allow-set-title", - "core:window:allow-maximize", - "core:window:allow-unmaximize", - "core:window:allow-minimize", - "core:window:allow-unminimize", - "core:window:allow-show", - "core:window:allow-hide", - "core:window:allow-close", - "core:window:allow-set-decorations", - "core:window:allow-set-always-on-top", - "core:window:allow-set-content-protected", - "core:window:allow-set-size", - "core:window:allow-set-min-size", - "core:window:allow-set-max-size", - "core:window:allow-set-position", - "core:window:allow-set-fullscreen", - "core:window:allow-set-focus", - "core:window:allow-set-icon", - "core:window:allow-set-skip-taskbar", - "core:window:allow-set-cursor-grab", - "core:window:allow-set-cursor-visible", - "core:window:allow-set-cursor-icon", - "core:window:allow-set-cursor-position", - "core:window:allow-set-ignore-cursor-events", - "core:window:allow-start-dragging", - "core:webview:allow-print", - "shell:allow-execute", - "shell:allow-open", - "dialog:allow-open", - "notification:default", - "global-shortcut:allow-is-registered", - "global-shortcut:allow-register", - "global-shortcut:allow-register-all", - "global-shortcut:allow-unregister", - "global-shortcut:allow-unregister-all", - "process:allow-restart", - "process:allow-exit", - "clipboard-manager:allow-read-text", - "clipboard-manager:allow-write-text", - "shell:default", - "dialog:default", - "fs:default", - "notification:default" - ] - } -} diff --git a/src-tauri/gen/schemas/desktop-schema.json b/src-tauri/gen/schemas/desktop-schema.json deleted file mode 100644 index 1d67880..0000000 --- a/src-tauri/gen/schemas/desktop-schema.json +++ /dev/null @@ -1,5171 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "CapabilityFile", - "description": "Capability formats accepted in a capability file.", - "anyOf": [ - { - "description": "A single capability.", - "allOf": [ - { - "$ref": "#/definitions/Capability" - } - ] - }, - { - "description": "A list of capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "description": "A list of capabilities.", - "type": "object", - "required": ["capabilities"], - "properties": { - "capabilities": { - "description": "The list of capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } - } - ], - "definitions": { - "Capability": { - "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```", - "type": "object", - "required": ["identifier", "permissions"], - "properties": { - "identifier": { - "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`", - "type": "string" - }, - "description": { - "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.", - "default": "", - "type": "string" - }, - "remote": { - "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```", - "anyOf": [ - { - "$ref": "#/definitions/CapabilityRemote" - }, - { - "type": "null" - } - ] - }, - "local": { - "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.", - "default": true, - "type": "boolean" - }, - "windows": { - "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`", - "type": "array", - "items": { - "type": "string" - } - }, - "webviews": { - "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`", - "type": "array", - "items": { - "type": "string" - } - }, - "permissions": { - "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```", - "type": "array", - "items": { - "$ref": "#/definitions/PermissionEntry" - }, - "uniqueItems": true - }, - "platforms": { - "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`", - "type": ["array", "null"], - "items": { - "$ref": "#/definitions/Target" - } - } - } - }, - "CapabilityRemote": { - "description": "Configuration for remote URLs that are associated with the capability.", - "type": "object", - "required": ["urls"], - "properties": { - "urls": { - "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "PermissionEntry": { - "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.", - "anyOf": [ - { - "description": "Reference a permission or permission set by identifier.", - "allOf": [ - { - "$ref": "#/definitions/Identifier" - } - ] - }, - { - "description": "Reference a permission or permission set by identifier and extends its scope.", - "type": "object", - "oneOf": [ - { - "type": "object", - "required": ["identifier"], - "properties": { - "identifier": { - "oneOf": [ - { - "description": "fs:default -> This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\nOn Windows the webview data folder access is denied.\n\n", - "type": "string", - "enum": ["fs:default"] - }, - { - "description": "fs:allow-app-meta -> This allows non-recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta"] - }, - { - "description": "fs:allow-app-meta-recursive -> This allows full recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta-recursive"] - }, - { - "description": "fs:allow-app-read -> This allows non-recursive read access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-read"] - }, - { - "description": "fs:allow-app-read-recursive -> This allows full recursive read access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-read-recursive"] - }, - { - "description": "fs:allow-app-write -> This allows non-recursive write access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-write"] - }, - { - "description": "fs:allow-app-write-recursive -> This allows full recursive write access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-write-recursive"] - }, - { - "description": "fs:allow-appcache-meta -> This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta"] - }, - { - "description": "fs:allow-appcache-meta-recursive -> This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta-recursive"] - }, - { - "description": "fs:allow-appcache-read -> This allows non-recursive read access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-read"] - }, - { - "description": "fs:allow-appcache-read-recursive -> This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-read-recursive"] - }, - { - "description": "fs:allow-appcache-write -> This allows non-recursive write access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-write"] - }, - { - "description": "fs:allow-appcache-write-recursive -> This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-write-recursive"] - }, - { - "description": "fs:allow-appconfig-meta -> This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta"] - }, - { - "description": "fs:allow-appconfig-meta-recursive -> This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta-recursive"] - }, - { - "description": "fs:allow-appconfig-read -> This allows non-recursive read access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-read"] - }, - { - "description": "fs:allow-appconfig-read-recursive -> This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-read-recursive"] - }, - { - "description": "fs:allow-appconfig-write -> This allows non-recursive write access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-write"] - }, - { - "description": "fs:allow-appconfig-write-recursive -> This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-write-recursive"] - }, - { - "description": "fs:allow-appdata-meta -> This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta"] - }, - { - "description": "fs:allow-appdata-meta-recursive -> This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta-recursive"] - }, - { - "description": "fs:allow-appdata-read -> This allows non-recursive read access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-read"] - }, - { - "description": "fs:allow-appdata-read-recursive -> This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-read-recursive"] - }, - { - "description": "fs:allow-appdata-write -> This allows non-recursive write access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-write"] - }, - { - "description": "fs:allow-appdata-write-recursive -> This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-write-recursive"] - }, - { - "description": "fs:allow-applocaldata-meta -> This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta"] - }, - { - "description": "fs:allow-applocaldata-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta-recursive"] - }, - { - "description": "fs:allow-applocaldata-read -> This allows non-recursive read access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-read"] - }, - { - "description": "fs:allow-applocaldata-read-recursive -> This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-read-recursive"] - }, - { - "description": "fs:allow-applocaldata-write -> This allows non-recursive write access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-write"] - }, - { - "description": "fs:allow-applocaldata-write-recursive -> This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-write-recursive"] - }, - { - "description": "fs:allow-applog-meta -> This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta"] - }, - { - "description": "fs:allow-applog-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta-recursive"] - }, - { - "description": "fs:allow-applog-read -> This allows non-recursive read access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-read"] - }, - { - "description": "fs:allow-applog-read-recursive -> This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-read-recursive"] - }, - { - "description": "fs:allow-applog-write -> This allows non-recursive write access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-write"] - }, - { - "description": "fs:allow-applog-write-recursive -> This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-write-recursive"] - }, - { - "description": "fs:allow-audio-meta -> This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta"] - }, - { - "description": "fs:allow-audio-meta-recursive -> This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta-recursive"] - }, - { - "description": "fs:allow-audio-read -> This allows non-recursive read access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-read"] - }, - { - "description": "fs:allow-audio-read-recursive -> This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-read-recursive"] - }, - { - "description": "fs:allow-audio-write -> This allows non-recursive write access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-write"] - }, - { - "description": "fs:allow-audio-write-recursive -> This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-write-recursive"] - }, - { - "description": "fs:allow-cache-meta -> This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta"] - }, - { - "description": "fs:allow-cache-meta-recursive -> This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta-recursive"] - }, - { - "description": "fs:allow-cache-read -> This allows non-recursive read access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-read"] - }, - { - "description": "fs:allow-cache-read-recursive -> This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-read-recursive"] - }, - { - "description": "fs:allow-cache-write -> This allows non-recursive write access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-write"] - }, - { - "description": "fs:allow-cache-write-recursive -> This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-write-recursive"] - }, - { - "description": "fs:allow-config-meta -> This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta"] - }, - { - "description": "fs:allow-config-meta-recursive -> This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta-recursive"] - }, - { - "description": "fs:allow-config-read -> This allows non-recursive read access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-read"] - }, - { - "description": "fs:allow-config-read-recursive -> This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-read-recursive"] - }, - { - "description": "fs:allow-config-write -> This allows non-recursive write access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-write"] - }, - { - "description": "fs:allow-config-write-recursive -> This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-write-recursive"] - }, - { - "description": "fs:allow-data-meta -> This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta"] - }, - { - "description": "fs:allow-data-meta-recursive -> This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta-recursive"] - }, - { - "description": "fs:allow-data-read -> This allows non-recursive read access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-read"] - }, - { - "description": "fs:allow-data-read-recursive -> This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-read-recursive"] - }, - { - "description": "fs:allow-data-write -> This allows non-recursive write access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-write"] - }, - { - "description": "fs:allow-data-write-recursive -> This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-write-recursive"] - }, - { - "description": "fs:allow-desktop-meta -> This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta"] - }, - { - "description": "fs:allow-desktop-meta-recursive -> This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta-recursive"] - }, - { - "description": "fs:allow-desktop-read -> This allows non-recursive read access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-read"] - }, - { - "description": "fs:allow-desktop-read-recursive -> This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-read-recursive"] - }, - { - "description": "fs:allow-desktop-write -> This allows non-recursive write access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-write"] - }, - { - "description": "fs:allow-desktop-write-recursive -> This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-write-recursive"] - }, - { - "description": "fs:allow-document-meta -> This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta"] - }, - { - "description": "fs:allow-document-meta-recursive -> This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta-recursive"] - }, - { - "description": "fs:allow-document-read -> This allows non-recursive read access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-read"] - }, - { - "description": "fs:allow-document-read-recursive -> This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-read-recursive"] - }, - { - "description": "fs:allow-document-write -> This allows non-recursive write access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-write"] - }, - { - "description": "fs:allow-document-write-recursive -> This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-write-recursive"] - }, - { - "description": "fs:allow-download-meta -> This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta"] - }, - { - "description": "fs:allow-download-meta-recursive -> This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta-recursive"] - }, - { - "description": "fs:allow-download-read -> This allows non-recursive read access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-read"] - }, - { - "description": "fs:allow-download-read-recursive -> This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-read-recursive"] - }, - { - "description": "fs:allow-download-write -> This allows non-recursive write access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-write"] - }, - { - "description": "fs:allow-download-write-recursive -> This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-write-recursive"] - }, - { - "description": "fs:allow-exe-meta -> This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta"] - }, - { - "description": "fs:allow-exe-meta-recursive -> This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta-recursive"] - }, - { - "description": "fs:allow-exe-read -> This allows non-recursive read access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-read"] - }, - { - "description": "fs:allow-exe-read-recursive -> This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-read-recursive"] - }, - { - "description": "fs:allow-exe-write -> This allows non-recursive write access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-write"] - }, - { - "description": "fs:allow-exe-write-recursive -> This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-write-recursive"] - }, - { - "description": "fs:allow-font-meta -> This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta"] - }, - { - "description": "fs:allow-font-meta-recursive -> This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta-recursive"] - }, - { - "description": "fs:allow-font-read -> This allows non-recursive read access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-read"] - }, - { - "description": "fs:allow-font-read-recursive -> This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-read-recursive"] - }, - { - "description": "fs:allow-font-write -> This allows non-recursive write access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-write"] - }, - { - "description": "fs:allow-font-write-recursive -> This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-write-recursive"] - }, - { - "description": "fs:allow-home-meta -> This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta"] - }, - { - "description": "fs:allow-home-meta-recursive -> This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta-recursive"] - }, - { - "description": "fs:allow-home-read -> This allows non-recursive read access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-read"] - }, - { - "description": "fs:allow-home-read-recursive -> This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-read-recursive"] - }, - { - "description": "fs:allow-home-write -> This allows non-recursive write access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-write"] - }, - { - "description": "fs:allow-home-write-recursive -> This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-write-recursive"] - }, - { - "description": "fs:allow-localdata-meta -> This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta"] - }, - { - "description": "fs:allow-localdata-meta-recursive -> This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta-recursive"] - }, - { - "description": "fs:allow-localdata-read -> This allows non-recursive read access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-read"] - }, - { - "description": "fs:allow-localdata-read-recursive -> This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-read-recursive"] - }, - { - "description": "fs:allow-localdata-write -> This allows non-recursive write access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-write"] - }, - { - "description": "fs:allow-localdata-write-recursive -> This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-write-recursive"] - }, - { - "description": "fs:allow-log-meta -> This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta"] - }, - { - "description": "fs:allow-log-meta-recursive -> This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta-recursive"] - }, - { - "description": "fs:allow-log-read -> This allows non-recursive read access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-read"] - }, - { - "description": "fs:allow-log-read-recursive -> This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-read-recursive"] - }, - { - "description": "fs:allow-log-write -> This allows non-recursive write access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-write"] - }, - { - "description": "fs:allow-log-write-recursive -> This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-write-recursive"] - }, - { - "description": "fs:allow-picture-meta -> This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta"] - }, - { - "description": "fs:allow-picture-meta-recursive -> This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta-recursive"] - }, - { - "description": "fs:allow-picture-read -> This allows non-recursive read access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-read"] - }, - { - "description": "fs:allow-picture-read-recursive -> This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-read-recursive"] - }, - { - "description": "fs:allow-picture-write -> This allows non-recursive write access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-write"] - }, - { - "description": "fs:allow-picture-write-recursive -> This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-write-recursive"] - }, - { - "description": "fs:allow-public-meta -> This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta"] - }, - { - "description": "fs:allow-public-meta-recursive -> This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta-recursive"] - }, - { - "description": "fs:allow-public-read -> This allows non-recursive read access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-read"] - }, - { - "description": "fs:allow-public-read-recursive -> This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-read-recursive"] - }, - { - "description": "fs:allow-public-write -> This allows non-recursive write access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-write"] - }, - { - "description": "fs:allow-public-write-recursive -> This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-write-recursive"] - }, - { - "description": "fs:allow-resource-meta -> This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta"] - }, - { - "description": "fs:allow-resource-meta-recursive -> This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta-recursive"] - }, - { - "description": "fs:allow-resource-read -> This allows non-recursive read access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-read"] - }, - { - "description": "fs:allow-resource-read-recursive -> This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-read-recursive"] - }, - { - "description": "fs:allow-resource-write -> This allows non-recursive write access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-write"] - }, - { - "description": "fs:allow-resource-write-recursive -> This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-write-recursive"] - }, - { - "description": "fs:allow-runtime-meta -> This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta"] - }, - { - "description": "fs:allow-runtime-meta-recursive -> This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta-recursive"] - }, - { - "description": "fs:allow-runtime-read -> This allows non-recursive read access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-read"] - }, - { - "description": "fs:allow-runtime-read-recursive -> This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-read-recursive"] - }, - { - "description": "fs:allow-runtime-write -> This allows non-recursive write access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-write"] - }, - { - "description": "fs:allow-runtime-write-recursive -> This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-write-recursive"] - }, - { - "description": "fs:allow-temp-meta -> This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta"] - }, - { - "description": "fs:allow-temp-meta-recursive -> This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta-recursive"] - }, - { - "description": "fs:allow-temp-read -> This allows non-recursive read access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-read"] - }, - { - "description": "fs:allow-temp-read-recursive -> This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-read-recursive"] - }, - { - "description": "fs:allow-temp-write -> This allows non-recursive write access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-write"] - }, - { - "description": "fs:allow-temp-write-recursive -> This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-write-recursive"] - }, - { - "description": "fs:allow-template-meta -> This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta"] - }, - { - "description": "fs:allow-template-meta-recursive -> This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta-recursive"] - }, - { - "description": "fs:allow-template-read -> This allows non-recursive read access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-read"] - }, - { - "description": "fs:allow-template-read-recursive -> This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-read-recursive"] - }, - { - "description": "fs:allow-template-write -> This allows non-recursive write access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-write"] - }, - { - "description": "fs:allow-template-write-recursive -> This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-write-recursive"] - }, - { - "description": "fs:allow-video-meta -> This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta"] - }, - { - "description": "fs:allow-video-meta-recursive -> This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta-recursive"] - }, - { - "description": "fs:allow-video-read -> This allows non-recursive read access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-read"] - }, - { - "description": "fs:allow-video-read-recursive -> This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-read-recursive"] - }, - { - "description": "fs:allow-video-write -> This allows non-recursive write access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-write"] - }, - { - "description": "fs:allow-video-write-recursive -> This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-write-recursive"] - }, - { - "description": "fs:deny-default -> This denies access to dangerous Tauri relevant files and folders by default.", - "type": "string", - "enum": ["fs:deny-default"] - }, - { - "description": "fs:allow-copy-file -> Enables the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-copy-file"] - }, - { - "description": "fs:allow-create -> Enables the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-create"] - }, - { - "description": "fs:allow-exists -> Enables the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-exists"] - }, - { - "description": "fs:allow-fstat -> Enables the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-fstat"] - }, - { - "description": "fs:allow-ftruncate -> Enables the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-ftruncate"] - }, - { - "description": "fs:allow-lstat -> Enables the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-lstat"] - }, - { - "description": "fs:allow-mkdir -> Enables the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-mkdir"] - }, - { - "description": "fs:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-open"] - }, - { - "description": "fs:allow-read -> Enables the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read"] - }, - { - "description": "fs:allow-read-dir -> Enables the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-dir"] - }, - { - "description": "fs:allow-read-file -> Enables the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-file"] - }, - { - "description": "fs:allow-read-text-file -> Enables the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file"] - }, - { - "description": "fs:allow-read-text-file-lines -> Enables the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines"] - }, - { - "description": "fs:allow-read-text-file-lines-next -> Enables the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines-next"] - }, - { - "description": "fs:allow-remove -> Enables the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-remove"] - }, - { - "description": "fs:allow-rename -> Enables the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-rename"] - }, - { - "description": "fs:allow-seek -> Enables the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-seek"] - }, - { - "description": "fs:allow-stat -> Enables the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-stat"] - }, - { - "description": "fs:allow-truncate -> Enables the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-truncate"] - }, - { - "description": "fs:allow-unwatch -> Enables the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-unwatch"] - }, - { - "description": "fs:allow-watch -> Enables the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-watch"] - }, - { - "description": "fs:allow-write -> Enables the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write"] - }, - { - "description": "fs:allow-write-file -> Enables the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-file"] - }, - { - "description": "fs:allow-write-text-file -> Enables the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-text-file"] - }, - { - "description": "fs:create-app-specific-dirs -> This permissions allows to create the application specific directories.\n", - "type": "string", - "enum": ["fs:create-app-specific-dirs"] - }, - { - "description": "fs:deny-copy-file -> Denies the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-copy-file"] - }, - { - "description": "fs:deny-create -> Denies the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-create"] - }, - { - "description": "fs:deny-exists -> Denies the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-exists"] - }, - { - "description": "fs:deny-fstat -> Denies the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-fstat"] - }, - { - "description": "fs:deny-ftruncate -> Denies the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-ftruncate"] - }, - { - "description": "fs:deny-lstat -> Denies the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-lstat"] - }, - { - "description": "fs:deny-mkdir -> Denies the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-mkdir"] - }, - { - "description": "fs:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-open"] - }, - { - "description": "fs:deny-read -> Denies the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read"] - }, - { - "description": "fs:deny-read-dir -> Denies the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-dir"] - }, - { - "description": "fs:deny-read-file -> Denies the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-file"] - }, - { - "description": "fs:deny-read-text-file -> Denies the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file"] - }, - { - "description": "fs:deny-read-text-file-lines -> Denies the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines"] - }, - { - "description": "fs:deny-read-text-file-lines-next -> Denies the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines-next"] - }, - { - "description": "fs:deny-remove -> Denies the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-remove"] - }, - { - "description": "fs:deny-rename -> Denies the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-rename"] - }, - { - "description": "fs:deny-seek -> Denies the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-seek"] - }, - { - "description": "fs:deny-stat -> Denies the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-stat"] - }, - { - "description": "fs:deny-truncate -> Denies the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-truncate"] - }, - { - "description": "fs:deny-unwatch -> Denies the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-unwatch"] - }, - { - "description": "fs:deny-watch -> Denies the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-watch"] - }, - { - "description": "fs:deny-webview-data-linux -> This denies read access to the\n`$APPLOCALDATA` folder on linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-linux"] - }, - { - "description": "fs:deny-webview-data-windows -> This denies read access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-windows"] - }, - { - "description": "fs:deny-write -> Denies the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write"] - }, - { - "description": "fs:deny-write-file -> Denies the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-file"] - }, - { - "description": "fs:deny-write-text-file -> Denies the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-text-file"] - }, - { - "description": "fs:read-all -> This enables all read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-all"] - }, - { - "description": "fs:read-app-specific-dirs-recursive -> This permission allows recursive read functionality on the application\nspecific base directories. \n", - "type": "string", - "enum": ["fs:read-app-specific-dirs-recursive"] - }, - { - "description": "fs:read-dirs -> This enables directory read and file metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-dirs"] - }, - { - "description": "fs:read-files -> This enables file read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-files"] - }, - { - "description": "fs:read-meta -> This enables all index or metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-meta"] - }, - { - "description": "fs:scope -> An empty permission you can use to modify the global scope.", - "type": "string", - "enum": ["fs:scope"] - }, - { - "description": "fs:scope-app -> This scope permits access to all files and list content of top level directories in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app"] - }, - { - "description": "fs:scope-app-index -> This scope permits to list all files and folders in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app-index"] - }, - { - "description": "fs:scope-app-recursive -> This scope permits recursive access to the complete `$APP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-app-recursive"] - }, - { - "description": "fs:scope-appcache -> This scope permits access to all files and list content of top level directories in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache"] - }, - { - "description": "fs:scope-appcache-index -> This scope permits to list all files and folders in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache-index"] - }, - { - "description": "fs:scope-appcache-recursive -> This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appcache-recursive"] - }, - { - "description": "fs:scope-appconfig -> This scope permits access to all files and list content of top level directories in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig"] - }, - { - "description": "fs:scope-appconfig-index -> This scope permits to list all files and folders in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig-index"] - }, - { - "description": "fs:scope-appconfig-recursive -> This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appconfig-recursive"] - }, - { - "description": "fs:scope-appdata -> This scope permits access to all files and list content of top level directories in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata"] - }, - { - "description": "fs:scope-appdata-index -> This scope permits to list all files and folders in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata-index"] - }, - { - "description": "fs:scope-appdata-recursive -> This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appdata-recursive"] - }, - { - "description": "fs:scope-applocaldata -> This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata"] - }, - { - "description": "fs:scope-applocaldata-index -> This scope permits to list all files and folders in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata-index"] - }, - { - "description": "fs:scope-applocaldata-recursive -> This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applocaldata-recursive"] - }, - { - "description": "fs:scope-applog -> This scope permits access to all files and list content of top level directories in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog"] - }, - { - "description": "fs:scope-applog-index -> This scope permits to list all files and folders in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog-index"] - }, - { - "description": "fs:scope-applog-recursive -> This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applog-recursive"] - }, - { - "description": "fs:scope-audio -> This scope permits access to all files and list content of top level directories in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio"] - }, - { - "description": "fs:scope-audio-index -> This scope permits to list all files and folders in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio-index"] - }, - { - "description": "fs:scope-audio-recursive -> This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-audio-recursive"] - }, - { - "description": "fs:scope-cache -> This scope permits access to all files and list content of top level directories in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache"] - }, - { - "description": "fs:scope-cache-index -> This scope permits to list all files and folders in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache-index"] - }, - { - "description": "fs:scope-cache-recursive -> This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-cache-recursive"] - }, - { - "description": "fs:scope-config -> This scope permits access to all files and list content of top level directories in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config"] - }, - { - "description": "fs:scope-config-index -> This scope permits to list all files and folders in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config-index"] - }, - { - "description": "fs:scope-config-recursive -> This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-config-recursive"] - }, - { - "description": "fs:scope-data -> This scope permits access to all files and list content of top level directories in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data"] - }, - { - "description": "fs:scope-data-index -> This scope permits to list all files and folders in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data-index"] - }, - { - "description": "fs:scope-data-recursive -> This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-data-recursive"] - }, - { - "description": "fs:scope-desktop -> This scope permits access to all files and list content of top level directories in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop"] - }, - { - "description": "fs:scope-desktop-index -> This scope permits to list all files and folders in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop-index"] - }, - { - "description": "fs:scope-desktop-recursive -> This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-desktop-recursive"] - }, - { - "description": "fs:scope-document -> This scope permits access to all files and list content of top level directories in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document"] - }, - { - "description": "fs:scope-document-index -> This scope permits to list all files and folders in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document-index"] - }, - { - "description": "fs:scope-document-recursive -> This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-document-recursive"] - }, - { - "description": "fs:scope-download -> This scope permits access to all files and list content of top level directories in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download"] - }, - { - "description": "fs:scope-download-index -> This scope permits to list all files and folders in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download-index"] - }, - { - "description": "fs:scope-download-recursive -> This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-download-recursive"] - }, - { - "description": "fs:scope-exe -> This scope permits access to all files and list content of top level directories in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe"] - }, - { - "description": "fs:scope-exe-index -> This scope permits to list all files and folders in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe-index"] - }, - { - "description": "fs:scope-exe-recursive -> This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-exe-recursive"] - }, - { - "description": "fs:scope-font -> This scope permits access to all files and list content of top level directories in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font"] - }, - { - "description": "fs:scope-font-index -> This scope permits to list all files and folders in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font-index"] - }, - { - "description": "fs:scope-font-recursive -> This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-font-recursive"] - }, - { - "description": "fs:scope-home -> This scope permits access to all files and list content of top level directories in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home"] - }, - { - "description": "fs:scope-home-index -> This scope permits to list all files and folders in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home-index"] - }, - { - "description": "fs:scope-home-recursive -> This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-home-recursive"] - }, - { - "description": "fs:scope-localdata -> This scope permits access to all files and list content of top level directories in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata"] - }, - { - "description": "fs:scope-localdata-index -> This scope permits to list all files and folders in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata-index"] - }, - { - "description": "fs:scope-localdata-recursive -> This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-localdata-recursive"] - }, - { - "description": "fs:scope-log -> This scope permits access to all files and list content of top level directories in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log"] - }, - { - "description": "fs:scope-log-index -> This scope permits to list all files and folders in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log-index"] - }, - { - "description": "fs:scope-log-recursive -> This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-log-recursive"] - }, - { - "description": "fs:scope-picture -> This scope permits access to all files and list content of top level directories in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture"] - }, - { - "description": "fs:scope-picture-index -> This scope permits to list all files and folders in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture-index"] - }, - { - "description": "fs:scope-picture-recursive -> This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-picture-recursive"] - }, - { - "description": "fs:scope-public -> This scope permits access to all files and list content of top level directories in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public"] - }, - { - "description": "fs:scope-public-index -> This scope permits to list all files and folders in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public-index"] - }, - { - "description": "fs:scope-public-recursive -> This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-public-recursive"] - }, - { - "description": "fs:scope-resource -> This scope permits access to all files and list content of top level directories in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource"] - }, - { - "description": "fs:scope-resource-index -> This scope permits to list all files and folders in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource-index"] - }, - { - "description": "fs:scope-resource-recursive -> This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-resource-recursive"] - }, - { - "description": "fs:scope-runtime -> This scope permits access to all files and list content of top level directories in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime"] - }, - { - "description": "fs:scope-runtime-index -> This scope permits to list all files and folders in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime-index"] - }, - { - "description": "fs:scope-runtime-recursive -> This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-runtime-recursive"] - }, - { - "description": "fs:scope-temp -> This scope permits access to all files and list content of top level directories in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp"] - }, - { - "description": "fs:scope-temp-index -> This scope permits to list all files and folders in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp-index"] - }, - { - "description": "fs:scope-temp-recursive -> This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-temp-recursive"] - }, - { - "description": "fs:scope-template -> This scope permits access to all files and list content of top level directories in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template"] - }, - { - "description": "fs:scope-template-index -> This scope permits to list all files and folders in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template-index"] - }, - { - "description": "fs:scope-template-recursive -> This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-template-recursive"] - }, - { - "description": "fs:scope-video -> This scope permits access to all files and list content of top level directories in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video"] - }, - { - "description": "fs:scope-video-index -> This scope permits to list all files and folders in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video-index"] - }, - { - "description": "fs:scope-video-recursive -> This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-video-recursive"] - }, - { - "description": "fs:write-all -> This enables all write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-all"] - }, - { - "description": "fs:write-files -> This enables all file write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-files"] - } - ] - }, - "allow": { - "items": { - "title": "FsScopeEntry", - "description": "FS scope entry.", - "anyOf": [ - { - "description": "FS scope path.", - "type": "string" - }, - { - "type": "object", - "required": ["path"], - "properties": { - "path": { - "description": "FS scope path.", - "type": "string" - } - } - } - ] - } - }, - "deny": { - "items": { - "title": "FsScopeEntry", - "description": "FS scope entry.", - "anyOf": [ - { - "description": "FS scope path.", - "type": "string" - }, - { - "type": "object", - "required": ["path"], - "properties": { - "path": { - "description": "FS scope path.", - "type": "string" - } - } - } - ] - } - } - } - }, - { - "type": "object", - "required": ["identifier"], - "properties": { - "identifier": { - "oneOf": [ - { - "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n", - "type": "string", - "enum": ["shell:default"] - }, - { - "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-execute"] - }, - { - "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-kill"] - }, - { - "description": "shell:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-open"] - }, - { - "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-spawn"] - }, - { - "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-stdin-write"] - }, - { - "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-execute"] - }, - { - "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-kill"] - }, - { - "description": "shell:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-open"] - }, - { - "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-spawn"] - }, - { - "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-stdin-write"] - } - ] - }, - "allow": { - "items": { - "title": "Entry", - "description": "A command allowed to be executed by the webview API.", - "type": "object", - "required": ["args", "cmd", "name", "sidecar"], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It 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" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - } - } - }, - "deny": { - "items": { - "title": "Entry", - "description": "A command allowed to be executed by the webview API.", - "type": "object", - "required": ["args", "cmd", "name", "sidecar"], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It 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" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - } - } - } - } - } - ] - } - ] - }, - "Identifier": { - "oneOf": [ - { - "description": "clipboard-manager:default -> No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n", - "type": "string", - "enum": ["clipboard-manager:default"] - }, - { - "description": "clipboard-manager:allow-clear -> Enables the clear command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-clear"] - }, - { - "description": "clipboard-manager:allow-read-image -> Enables the read_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-read-image"] - }, - { - "description": "clipboard-manager:allow-read-text -> Enables the read_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-read-text"] - }, - { - "description": "clipboard-manager:allow-write-html -> Enables the write_html command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-write-html"] - }, - { - "description": "clipboard-manager:allow-write-image -> Enables the write_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-write-image"] - }, - { - "description": "clipboard-manager:allow-write-text -> Enables the write_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-write-text"] - }, - { - "description": "clipboard-manager:deny-clear -> Denies the clear command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-clear"] - }, - { - "description": "clipboard-manager:deny-read-image -> Denies the read_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-read-image"] - }, - { - "description": "clipboard-manager:deny-read-text -> Denies the read_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-read-text"] - }, - { - "description": "clipboard-manager:deny-write-html -> Denies the write_html command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-write-html"] - }, - { - "description": "clipboard-manager:deny-write-image -> Denies the write_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-write-image"] - }, - { - "description": "clipboard-manager:deny-write-text -> Denies the write_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-write-text"] - }, - { - "description": "core:app:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:app:default"] - }, - { - "description": "core:app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-app-hide"] - }, - { - "description": "core:app:allow-app-show -> Enables the app_show command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-app-show"] - }, - { - "description": "core:app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-default-window-icon"] - }, - { - "description": "core:app:allow-name -> Enables the name command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-name"] - }, - { - "description": "core:app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-tauri-version"] - }, - { - "description": "core:app:allow-version -> Enables the version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-version"] - }, - { - "description": "core:app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-app-hide"] - }, - { - "description": "core:app:deny-app-show -> Denies the app_show command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-app-show"] - }, - { - "description": "core:app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-default-window-icon"] - }, - { - "description": "core:app:deny-name -> Denies the name command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-name"] - }, - { - "description": "core:app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-tauri-version"] - }, - { - "description": "core:app:deny-version -> Denies the version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-version"] - }, - { - "description": "core:event:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:event:default"] - }, - { - "description": "core:event:allow-emit -> Enables the emit command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-emit"] - }, - { - "description": "core:event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-emit-to"] - }, - { - "description": "core:event:allow-listen -> Enables the listen command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-listen"] - }, - { - "description": "core:event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-unlisten"] - }, - { - "description": "core:event:deny-emit -> Denies the emit command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-emit"] - }, - { - "description": "core:event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-emit-to"] - }, - { - "description": "core:event:deny-listen -> Denies the listen command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-listen"] - }, - { - "description": "core:event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-unlisten"] - }, - { - "description": "core:image:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:image:default"] - }, - { - "description": "core:image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-from-bytes"] - }, - { - "description": "core:image:allow-from-path -> Enables the from_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-from-path"] - }, - { - "description": "core:image:allow-new -> Enables the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-new"] - }, - { - "description": "core:image:allow-rgba -> Enables the rgba command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-rgba"] - }, - { - "description": "core:image:allow-size -> Enables the size command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-size"] - }, - { - "description": "core:image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-from-bytes"] - }, - { - "description": "core:image:deny-from-path -> Denies the from_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-from-path"] - }, - { - "description": "core:image:deny-new -> Denies the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-new"] - }, - { - "description": "core:image:deny-rgba -> Denies the rgba command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-rgba"] - }, - { - "description": "core:image:deny-size -> Denies the size command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-size"] - }, - { - "description": "core:menu:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:menu:default"] - }, - { - "description": "core:menu:allow-append -> Enables the append command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-append"] - }, - { - "description": "core:menu:allow-create-default -> Enables the create_default command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-create-default"] - }, - { - "description": "core:menu:allow-get -> Enables the get command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-get"] - }, - { - "description": "core:menu:allow-insert -> Enables the insert command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-insert"] - }, - { - "description": "core:menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-is-checked"] - }, - { - "description": "core:menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-is-enabled"] - }, - { - "description": "core:menu:allow-items -> Enables the items command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-items"] - }, - { - "description": "core:menu:allow-new -> Enables the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-new"] - }, - { - "description": "core:menu:allow-popup -> Enables the popup command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-popup"] - }, - { - "description": "core:menu:allow-prepend -> Enables the prepend command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-prepend"] - }, - { - "description": "core:menu:allow-remove -> Enables the remove command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-remove"] - }, - { - "description": "core:menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-remove-at"] - }, - { - "description": "core:menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-accelerator"] - }, - { - "description": "core:menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-app-menu"] - }, - { - "description": "core:menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-help-menu-for-nsapp"] - }, - { - "description": "core:menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-window-menu"] - }, - { - "description": "core:menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-windows-menu-for-nsapp"] - }, - { - "description": "core:menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-checked"] - }, - { - "description": "core:menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-enabled"] - }, - { - "description": "core:menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-icon"] - }, - { - "description": "core:menu:allow-set-text -> Enables the set_text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-text"] - }, - { - "description": "core:menu:allow-text -> Enables the text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-text"] - }, - { - "description": "core:menu:deny-append -> Denies the append command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-append"] - }, - { - "description": "core:menu:deny-create-default -> Denies the create_default command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-create-default"] - }, - { - "description": "core:menu:deny-get -> Denies the get command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-get"] - }, - { - "description": "core:menu:deny-insert -> Denies the insert command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-insert"] - }, - { - "description": "core:menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-is-checked"] - }, - { - "description": "core:menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-is-enabled"] - }, - { - "description": "core:menu:deny-items -> Denies the items command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-items"] - }, - { - "description": "core:menu:deny-new -> Denies the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-new"] - }, - { - "description": "core:menu:deny-popup -> Denies the popup command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-popup"] - }, - { - "description": "core:menu:deny-prepend -> Denies the prepend command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-prepend"] - }, - { - "description": "core:menu:deny-remove -> Denies the remove command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-remove"] - }, - { - "description": "core:menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-remove-at"] - }, - { - "description": "core:menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-accelerator"] - }, - { - "description": "core:menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-app-menu"] - }, - { - "description": "core:menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-help-menu-for-nsapp"] - }, - { - "description": "core:menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-window-menu"] - }, - { - "description": "core:menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-windows-menu-for-nsapp"] - }, - { - "description": "core:menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-checked"] - }, - { - "description": "core:menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-enabled"] - }, - { - "description": "core:menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-icon"] - }, - { - "description": "core:menu:deny-set-text -> Denies the set_text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-text"] - }, - { - "description": "core:menu:deny-text -> Denies the text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-text"] - }, - { - "description": "core:path:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:path:default"] - }, - { - "description": "core:path:allow-basename -> Enables the basename command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-basename"] - }, - { - "description": "core:path:allow-dirname -> Enables the dirname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-dirname"] - }, - { - "description": "core:path:allow-extname -> Enables the extname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-extname"] - }, - { - "description": "core:path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-is-absolute"] - }, - { - "description": "core:path:allow-join -> Enables the join command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-join"] - }, - { - "description": "core:path:allow-normalize -> Enables the normalize command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-normalize"] - }, - { - "description": "core:path:allow-resolve -> Enables the resolve command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-resolve"] - }, - { - "description": "core:path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-resolve-directory"] - }, - { - "description": "core:path:deny-basename -> Denies the basename command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-basename"] - }, - { - "description": "core:path:deny-dirname -> Denies the dirname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-dirname"] - }, - { - "description": "core:path:deny-extname -> Denies the extname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-extname"] - }, - { - "description": "core:path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-is-absolute"] - }, - { - "description": "core:path:deny-join -> Denies the join command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-join"] - }, - { - "description": "core:path:deny-normalize -> Denies the normalize command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-normalize"] - }, - { - "description": "core:path:deny-resolve -> Denies the resolve command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-resolve"] - }, - { - "description": "core:path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-resolve-directory"] - }, - { - "description": "core:resources:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:resources:default"] - }, - { - "description": "core:resources:allow-close -> Enables the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:resources:allow-close"] - }, - { - "description": "core:resources:deny-close -> Denies the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:resources:deny-close"] - }, - { - "description": "core:tray:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:tray:default"] - }, - { - "description": "core:tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-get-by-id"] - }, - { - "description": "core:tray:allow-new -> Enables the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-new"] - }, - { - "description": "core:tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-remove-by-id"] - }, - { - "description": "core:tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-icon"] - }, - { - "description": "core:tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-icon-as-template"] - }, - { - "description": "core:tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-menu"] - }, - { - "description": "core:tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-show-menu-on-left-click"] - }, - { - "description": "core:tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-temp-dir-path"] - }, - { - "description": "core:tray:allow-set-title -> Enables the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-title"] - }, - { - "description": "core:tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-tooltip"] - }, - { - "description": "core:tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-visible"] - }, - { - "description": "core:tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-get-by-id"] - }, - { - "description": "core:tray:deny-new -> Denies the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-new"] - }, - { - "description": "core:tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-remove-by-id"] - }, - { - "description": "core:tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-icon"] - }, - { - "description": "core:tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-icon-as-template"] - }, - { - "description": "core:tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-menu"] - }, - { - "description": "core:tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-show-menu-on-left-click"] - }, - { - "description": "core:tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-temp-dir-path"] - }, - { - "description": "core:tray:deny-set-title -> Denies the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-title"] - }, - { - "description": "core:tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-tooltip"] - }, - { - "description": "core:tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-visible"] - }, - { - "description": "core:webview:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:webview:default"] - }, - { - "description": "core:webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-create-webview"] - }, - { - "description": "core:webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-create-webview-window"] - }, - { - "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-get-all-webviews"] - }, - { - "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-internal-toggle-devtools"] - }, - { - "description": "core:webview:allow-print -> Enables the print command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-print"] - }, - { - "description": "core:webview:allow-reparent -> Enables the reparent command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-reparent"] - }, - { - "description": "core:webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-focus"] - }, - { - "description": "core:webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-position"] - }, - { - "description": "core:webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-size"] - }, - { - "description": "core:webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-zoom"] - }, - { - "description": "core:webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-webview-close"] - }, - { - "description": "core:webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-webview-position"] - }, - { - "description": "core:webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-webview-size"] - }, - { - "description": "core:webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-create-webview"] - }, - { - "description": "core:webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-create-webview-window"] - }, - { - "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-get-all-webviews"] - }, - { - "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-internal-toggle-devtools"] - }, - { - "description": "core:webview:deny-print -> Denies the print command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-print"] - }, - { - "description": "core:webview:deny-reparent -> Denies the reparent command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-reparent"] - }, - { - "description": "core:webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-focus"] - }, - { - "description": "core:webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-position"] - }, - { - "description": "core:webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-size"] - }, - { - "description": "core:webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-zoom"] - }, - { - "description": "core:webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-webview-close"] - }, - { - "description": "core:webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-webview-position"] - }, - { - "description": "core:webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-webview-size"] - }, - { - "description": "core:window:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:window:default"] - }, - { - "description": "core:window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-available-monitors"] - }, - { - "description": "core:window:allow-center -> Enables the center command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-center"] - }, - { - "description": "core:window:allow-close -> Enables the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-close"] - }, - { - "description": "core:window:allow-create -> Enables the create command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-create"] - }, - { - "description": "core:window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-current-monitor"] - }, - { - "description": "core:window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-cursor-position"] - }, - { - "description": "core:window:allow-destroy -> Enables the destroy command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-destroy"] - }, - { - "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-get-all-windows"] - }, - { - "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-hide"] - }, - { - "description": "core:window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-inner-position"] - }, - { - "description": "core:window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-inner-size"] - }, - { - "description": "core:window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-internal-toggle-maximize"] - }, - { - "description": "core:window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-closable"] - }, - { - "description": "core:window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-decorated"] - }, - { - "description": "core:window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-focused"] - }, - { - "description": "core:window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-fullscreen"] - }, - { - "description": "core:window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-maximizable"] - }, - { - "description": "core:window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-maximized"] - }, - { - "description": "core:window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-minimizable"] - }, - { - "description": "core:window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-minimized"] - }, - { - "description": "core:window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-resizable"] - }, - { - "description": "core:window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-visible"] - }, - { - "description": "core:window:allow-maximize -> Enables the maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-maximize"] - }, - { - "description": "core:window:allow-minimize -> Enables the minimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-minimize"] - }, - { - "description": "core:window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-monitor-from-point"] - }, - { - "description": "core:window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-outer-position"] - }, - { - "description": "core:window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-outer-size"] - }, - { - "description": "core:window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-primary-monitor"] - }, - { - "description": "core:window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-request-user-attention"] - }, - { - "description": "core:window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-scale-factor"] - }, - { - "description": "core:window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-always-on-bottom"] - }, - { - "description": "core:window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-always-on-top"] - }, - { - "description": "core:window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-closable"] - }, - { - "description": "core:window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-content-protected"] - }, - { - "description": "core:window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-grab"] - }, - { - "description": "core:window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-icon"] - }, - { - "description": "core:window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-position"] - }, - { - "description": "core:window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-visible"] - }, - { - "description": "core:window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-decorations"] - }, - { - "description": "core:window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-effects"] - }, - { - "description": "core:window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-focus"] - }, - { - "description": "core:window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-fullscreen"] - }, - { - "description": "core:window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-icon"] - }, - { - "description": "core:window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-ignore-cursor-events"] - }, - { - "description": "core:window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-max-size"] - }, - { - "description": "core:window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-maximizable"] - }, - { - "description": "core:window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-min-size"] - }, - { - "description": "core:window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-minimizable"] - }, - { - "description": "core:window:allow-set-position -> Enables the set_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-position"] - }, - { - "description": "core:window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-progress-bar"] - }, - { - "description": "core:window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-resizable"] - }, - { - "description": "core:window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-shadow"] - }, - { - "description": "core:window:allow-set-size -> Enables the set_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-size"] - }, - { - "description": "core:window:allow-set-size-constraints -> Enables the set_size_constraints command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-size-constraints"] - }, - { - "description": "core:window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-skip-taskbar"] - }, - { - "description": "core:window:allow-set-title -> Enables the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-title"] - }, - { - "description": "core:window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-title-bar-style"] - }, - { - "description": "core:window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-visible-on-all-workspaces"] - }, - { - "description": "core:window:allow-show -> Enables the show command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-show"] - }, - { - "description": "core:window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-start-dragging"] - }, - { - "description": "core:window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-start-resize-dragging"] - }, - { - "description": "core:window:allow-theme -> Enables the theme command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-theme"] - }, - { - "description": "core:window:allow-title -> Enables the title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-title"] - }, - { - "description": "core:window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-toggle-maximize"] - }, - { - "description": "core:window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-unmaximize"] - }, - { - "description": "core:window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-unminimize"] - }, - { - "description": "core:window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-available-monitors"] - }, - { - "description": "core:window:deny-center -> Denies the center command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-center"] - }, - { - "description": "core:window:deny-close -> Denies the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-close"] - }, - { - "description": "core:window:deny-create -> Denies the create command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-create"] - }, - { - "description": "core:window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-current-monitor"] - }, - { - "description": "core:window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-cursor-position"] - }, - { - "description": "core:window:deny-destroy -> Denies the destroy command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-destroy"] - }, - { - "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-get-all-windows"] - }, - { - "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-hide"] - }, - { - "description": "core:window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-inner-position"] - }, - { - "description": "core:window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-inner-size"] - }, - { - "description": "core:window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-internal-toggle-maximize"] - }, - { - "description": "core:window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-closable"] - }, - { - "description": "core:window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-decorated"] - }, - { - "description": "core:window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-focused"] - }, - { - "description": "core:window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-fullscreen"] - }, - { - "description": "core:window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-maximizable"] - }, - { - "description": "core:window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-maximized"] - }, - { - "description": "core:window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-minimizable"] - }, - { - "description": "core:window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-minimized"] - }, - { - "description": "core:window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-resizable"] - }, - { - "description": "core:window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-visible"] - }, - { - "description": "core:window:deny-maximize -> Denies the maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-maximize"] - }, - { - "description": "core:window:deny-minimize -> Denies the minimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-minimize"] - }, - { - "description": "core:window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-monitor-from-point"] - }, - { - "description": "core:window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-outer-position"] - }, - { - "description": "core:window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-outer-size"] - }, - { - "description": "core:window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-primary-monitor"] - }, - { - "description": "core:window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-request-user-attention"] - }, - { - "description": "core:window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-scale-factor"] - }, - { - "description": "core:window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-always-on-bottom"] - }, - { - "description": "core:window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-always-on-top"] - }, - { - "description": "core:window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-closable"] - }, - { - "description": "core:window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-content-protected"] - }, - { - "description": "core:window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-grab"] - }, - { - "description": "core:window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-icon"] - }, - { - "description": "core:window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-position"] - }, - { - "description": "core:window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-visible"] - }, - { - "description": "core:window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-decorations"] - }, - { - "description": "core:window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-effects"] - }, - { - "description": "core:window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-focus"] - }, - { - "description": "core:window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-fullscreen"] - }, - { - "description": "core:window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-icon"] - }, - { - "description": "core:window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-ignore-cursor-events"] - }, - { - "description": "core:window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-max-size"] - }, - { - "description": "core:window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-maximizable"] - }, - { - "description": "core:window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-min-size"] - }, - { - "description": "core:window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-minimizable"] - }, - { - "description": "core:window:deny-set-position -> Denies the set_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-position"] - }, - { - "description": "core:window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-progress-bar"] - }, - { - "description": "core:window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-resizable"] - }, - { - "description": "core:window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-shadow"] - }, - { - "description": "core:window:deny-set-size -> Denies the set_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-size"] - }, - { - "description": "core:window:deny-set-size-constraints -> Denies the set_size_constraints command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-size-constraints"] - }, - { - "description": "core:window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-skip-taskbar"] - }, - { - "description": "core:window:deny-set-title -> Denies the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-title"] - }, - { - "description": "core:window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-title-bar-style"] - }, - { - "description": "core:window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-visible-on-all-workspaces"] - }, - { - "description": "core:window:deny-show -> Denies the show command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-show"] - }, - { - "description": "core:window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-start-dragging"] - }, - { - "description": "core:window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-start-resize-dragging"] - }, - { - "description": "core:window:deny-theme -> Denies the theme command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-theme"] - }, - { - "description": "core:window:deny-title -> Denies the title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-title"] - }, - { - "description": "core:window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-toggle-maximize"] - }, - { - "description": "core:window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-unmaximize"] - }, - { - "description": "core:window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-unminimize"] - }, - { - "description": "dialog:default -> This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n", - "type": "string", - "enum": ["dialog:default"] - }, - { - "description": "dialog:allow-ask -> Enables the ask command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-ask"] - }, - { - "description": "dialog:allow-confirm -> Enables the confirm command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-confirm"] - }, - { - "description": "dialog:allow-message -> Enables the message command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-message"] - }, - { - "description": "dialog:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-open"] - }, - { - "description": "dialog:allow-save -> Enables the save command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-save"] - }, - { - "description": "dialog:deny-ask -> Denies the ask command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-ask"] - }, - { - "description": "dialog:deny-confirm -> Denies the confirm command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-confirm"] - }, - { - "description": "dialog:deny-message -> Denies the message command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-message"] - }, - { - "description": "dialog:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-open"] - }, - { - "description": "dialog:deny-save -> Denies the save command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-save"] - }, - { - "description": "fs:allow-app-meta -> This allows non-recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta"] - }, - { - "description": "fs:allow-app-meta-recursive -> This allows full recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta-recursive"] - }, - { - "description": "fs:allow-app-read -> This allows non-recursive read access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-read"] - }, - { - "description": "fs:allow-app-read-recursive -> This allows full recursive read access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-read-recursive"] - }, - { - "description": "fs:allow-app-write -> This allows non-recursive write access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-write"] - }, - { - "description": "fs:allow-app-write-recursive -> This allows full recursive write access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-write-recursive"] - }, - { - "description": "fs:allow-appcache-meta -> This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta"] - }, - { - "description": "fs:allow-appcache-meta-recursive -> This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta-recursive"] - }, - { - "description": "fs:allow-appcache-read -> This allows non-recursive read access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-read"] - }, - { - "description": "fs:allow-appcache-read-recursive -> This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-read-recursive"] - }, - { - "description": "fs:allow-appcache-write -> This allows non-recursive write access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-write"] - }, - { - "description": "fs:allow-appcache-write-recursive -> This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-write-recursive"] - }, - { - "description": "fs:allow-appconfig-meta -> This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta"] - }, - { - "description": "fs:allow-appconfig-meta-recursive -> This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta-recursive"] - }, - { - "description": "fs:allow-appconfig-read -> This allows non-recursive read access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-read"] - }, - { - "description": "fs:allow-appconfig-read-recursive -> This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-read-recursive"] - }, - { - "description": "fs:allow-appconfig-write -> This allows non-recursive write access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-write"] - }, - { - "description": "fs:allow-appconfig-write-recursive -> This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-write-recursive"] - }, - { - "description": "fs:allow-appdata-meta -> This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta"] - }, - { - "description": "fs:allow-appdata-meta-recursive -> This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta-recursive"] - }, - { - "description": "fs:allow-appdata-read -> This allows non-recursive read access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-read"] - }, - { - "description": "fs:allow-appdata-read-recursive -> This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-read-recursive"] - }, - { - "description": "fs:allow-appdata-write -> This allows non-recursive write access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-write"] - }, - { - "description": "fs:allow-appdata-write-recursive -> This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-write-recursive"] - }, - { - "description": "fs:allow-applocaldata-meta -> This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta"] - }, - { - "description": "fs:allow-applocaldata-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta-recursive"] - }, - { - "description": "fs:allow-applocaldata-read -> This allows non-recursive read access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-read"] - }, - { - "description": "fs:allow-applocaldata-read-recursive -> This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-read-recursive"] - }, - { - "description": "fs:allow-applocaldata-write -> This allows non-recursive write access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-write"] - }, - { - "description": "fs:allow-applocaldata-write-recursive -> This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-write-recursive"] - }, - { - "description": "fs:allow-applog-meta -> This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta"] - }, - { - "description": "fs:allow-applog-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta-recursive"] - }, - { - "description": "fs:allow-applog-read -> This allows non-recursive read access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-read"] - }, - { - "description": "fs:allow-applog-read-recursive -> This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-read-recursive"] - }, - { - "description": "fs:allow-applog-write -> This allows non-recursive write access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-write"] - }, - { - "description": "fs:allow-applog-write-recursive -> This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-write-recursive"] - }, - { - "description": "fs:allow-audio-meta -> This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta"] - }, - { - "description": "fs:allow-audio-meta-recursive -> This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta-recursive"] - }, - { - "description": "fs:allow-audio-read -> This allows non-recursive read access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-read"] - }, - { - "description": "fs:allow-audio-read-recursive -> This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-read-recursive"] - }, - { - "description": "fs:allow-audio-write -> This allows non-recursive write access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-write"] - }, - { - "description": "fs:allow-audio-write-recursive -> This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-write-recursive"] - }, - { - "description": "fs:allow-cache-meta -> This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta"] - }, - { - "description": "fs:allow-cache-meta-recursive -> This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta-recursive"] - }, - { - "description": "fs:allow-cache-read -> This allows non-recursive read access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-read"] - }, - { - "description": "fs:allow-cache-read-recursive -> This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-read-recursive"] - }, - { - "description": "fs:allow-cache-write -> This allows non-recursive write access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-write"] - }, - { - "description": "fs:allow-cache-write-recursive -> This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-write-recursive"] - }, - { - "description": "fs:allow-config-meta -> This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta"] - }, - { - "description": "fs:allow-config-meta-recursive -> This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta-recursive"] - }, - { - "description": "fs:allow-config-read -> This allows non-recursive read access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-read"] - }, - { - "description": "fs:allow-config-read-recursive -> This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-read-recursive"] - }, - { - "description": "fs:allow-config-write -> This allows non-recursive write access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-write"] - }, - { - "description": "fs:allow-config-write-recursive -> This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-write-recursive"] - }, - { - "description": "fs:allow-data-meta -> This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta"] - }, - { - "description": "fs:allow-data-meta-recursive -> This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta-recursive"] - }, - { - "description": "fs:allow-data-read -> This allows non-recursive read access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-read"] - }, - { - "description": "fs:allow-data-read-recursive -> This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-read-recursive"] - }, - { - "description": "fs:allow-data-write -> This allows non-recursive write access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-write"] - }, - { - "description": "fs:allow-data-write-recursive -> This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-write-recursive"] - }, - { - "description": "fs:allow-desktop-meta -> This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta"] - }, - { - "description": "fs:allow-desktop-meta-recursive -> This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta-recursive"] - }, - { - "description": "fs:allow-desktop-read -> This allows non-recursive read access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-read"] - }, - { - "description": "fs:allow-desktop-read-recursive -> This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-read-recursive"] - }, - { - "description": "fs:allow-desktop-write -> This allows non-recursive write access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-write"] - }, - { - "description": "fs:allow-desktop-write-recursive -> This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-write-recursive"] - }, - { - "description": "fs:allow-document-meta -> This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta"] - }, - { - "description": "fs:allow-document-meta-recursive -> This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta-recursive"] - }, - { - "description": "fs:allow-document-read -> This allows non-recursive read access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-read"] - }, - { - "description": "fs:allow-document-read-recursive -> This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-read-recursive"] - }, - { - "description": "fs:allow-document-write -> This allows non-recursive write access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-write"] - }, - { - "description": "fs:allow-document-write-recursive -> This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-write-recursive"] - }, - { - "description": "fs:allow-download-meta -> This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta"] - }, - { - "description": "fs:allow-download-meta-recursive -> This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta-recursive"] - }, - { - "description": "fs:allow-download-read -> This allows non-recursive read access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-read"] - }, - { - "description": "fs:allow-download-read-recursive -> This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-read-recursive"] - }, - { - "description": "fs:allow-download-write -> This allows non-recursive write access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-write"] - }, - { - "description": "fs:allow-download-write-recursive -> This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-write-recursive"] - }, - { - "description": "fs:allow-exe-meta -> This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta"] - }, - { - "description": "fs:allow-exe-meta-recursive -> This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta-recursive"] - }, - { - "description": "fs:allow-exe-read -> This allows non-recursive read access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-read"] - }, - { - "description": "fs:allow-exe-read-recursive -> This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-read-recursive"] - }, - { - "description": "fs:allow-exe-write -> This allows non-recursive write access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-write"] - }, - { - "description": "fs:allow-exe-write-recursive -> This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-write-recursive"] - }, - { - "description": "fs:allow-font-meta -> This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta"] - }, - { - "description": "fs:allow-font-meta-recursive -> This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta-recursive"] - }, - { - "description": "fs:allow-font-read -> This allows non-recursive read access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-read"] - }, - { - "description": "fs:allow-font-read-recursive -> This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-read-recursive"] - }, - { - "description": "fs:allow-font-write -> This allows non-recursive write access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-write"] - }, - { - "description": "fs:allow-font-write-recursive -> This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-write-recursive"] - }, - { - "description": "fs:allow-home-meta -> This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta"] - }, - { - "description": "fs:allow-home-meta-recursive -> This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta-recursive"] - }, - { - "description": "fs:allow-home-read -> This allows non-recursive read access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-read"] - }, - { - "description": "fs:allow-home-read-recursive -> This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-read-recursive"] - }, - { - "description": "fs:allow-home-write -> This allows non-recursive write access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-write"] - }, - { - "description": "fs:allow-home-write-recursive -> This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-write-recursive"] - }, - { - "description": "fs:allow-localdata-meta -> This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta"] - }, - { - "description": "fs:allow-localdata-meta-recursive -> This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta-recursive"] - }, - { - "description": "fs:allow-localdata-read -> This allows non-recursive read access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-read"] - }, - { - "description": "fs:allow-localdata-read-recursive -> This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-read-recursive"] - }, - { - "description": "fs:allow-localdata-write -> This allows non-recursive write access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-write"] - }, - { - "description": "fs:allow-localdata-write-recursive -> This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-write-recursive"] - }, - { - "description": "fs:allow-log-meta -> This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta"] - }, - { - "description": "fs:allow-log-meta-recursive -> This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta-recursive"] - }, - { - "description": "fs:allow-log-read -> This allows non-recursive read access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-read"] - }, - { - "description": "fs:allow-log-read-recursive -> This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-read-recursive"] - }, - { - "description": "fs:allow-log-write -> This allows non-recursive write access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-write"] - }, - { - "description": "fs:allow-log-write-recursive -> This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-write-recursive"] - }, - { - "description": "fs:allow-picture-meta -> This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta"] - }, - { - "description": "fs:allow-picture-meta-recursive -> This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta-recursive"] - }, - { - "description": "fs:allow-picture-read -> This allows non-recursive read access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-read"] - }, - { - "description": "fs:allow-picture-read-recursive -> This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-read-recursive"] - }, - { - "description": "fs:allow-picture-write -> This allows non-recursive write access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-write"] - }, - { - "description": "fs:allow-picture-write-recursive -> This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-write-recursive"] - }, - { - "description": "fs:allow-public-meta -> This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta"] - }, - { - "description": "fs:allow-public-meta-recursive -> This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta-recursive"] - }, - { - "description": "fs:allow-public-read -> This allows non-recursive read access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-read"] - }, - { - "description": "fs:allow-public-read-recursive -> This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-read-recursive"] - }, - { - "description": "fs:allow-public-write -> This allows non-recursive write access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-write"] - }, - { - "description": "fs:allow-public-write-recursive -> This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-write-recursive"] - }, - { - "description": "fs:allow-resource-meta -> This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta"] - }, - { - "description": "fs:allow-resource-meta-recursive -> This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta-recursive"] - }, - { - "description": "fs:allow-resource-read -> This allows non-recursive read access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-read"] - }, - { - "description": "fs:allow-resource-read-recursive -> This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-read-recursive"] - }, - { - "description": "fs:allow-resource-write -> This allows non-recursive write access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-write"] - }, - { - "description": "fs:allow-resource-write-recursive -> This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-write-recursive"] - }, - { - "description": "fs:allow-runtime-meta -> This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta"] - }, - { - "description": "fs:allow-runtime-meta-recursive -> This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta-recursive"] - }, - { - "description": "fs:allow-runtime-read -> This allows non-recursive read access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-read"] - }, - { - "description": "fs:allow-runtime-read-recursive -> This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-read-recursive"] - }, - { - "description": "fs:allow-runtime-write -> This allows non-recursive write access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-write"] - }, - { - "description": "fs:allow-runtime-write-recursive -> This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-write-recursive"] - }, - { - "description": "fs:allow-temp-meta -> This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta"] - }, - { - "description": "fs:allow-temp-meta-recursive -> This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta-recursive"] - }, - { - "description": "fs:allow-temp-read -> This allows non-recursive read access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-read"] - }, - { - "description": "fs:allow-temp-read-recursive -> This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-read-recursive"] - }, - { - "description": "fs:allow-temp-write -> This allows non-recursive write access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-write"] - }, - { - "description": "fs:allow-temp-write-recursive -> This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-write-recursive"] - }, - { - "description": "fs:allow-template-meta -> This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta"] - }, - { - "description": "fs:allow-template-meta-recursive -> This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta-recursive"] - }, - { - "description": "fs:allow-template-read -> This allows non-recursive read access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-read"] - }, - { - "description": "fs:allow-template-read-recursive -> This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-read-recursive"] - }, - { - "description": "fs:allow-template-write -> This allows non-recursive write access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-write"] - }, - { - "description": "fs:allow-template-write-recursive -> This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-write-recursive"] - }, - { - "description": "fs:allow-video-meta -> This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta"] - }, - { - "description": "fs:allow-video-meta-recursive -> This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta-recursive"] - }, - { - "description": "fs:allow-video-read -> This allows non-recursive read access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-read"] - }, - { - "description": "fs:allow-video-read-recursive -> This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-read-recursive"] - }, - { - "description": "fs:allow-video-write -> This allows non-recursive write access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-write"] - }, - { - "description": "fs:allow-video-write-recursive -> This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-write-recursive"] - }, - { - "description": "fs:deny-default -> This denies access to dangerous Tauri relevant files and folders by default.", - "type": "string", - "enum": ["fs:deny-default"] - }, - { - "description": "fs:default -> This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\nOn Windows the webview data folder access is denied.\n\n", - "type": "string", - "enum": ["fs:default"] - }, - { - "description": "fs:allow-copy-file -> Enables the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-copy-file"] - }, - { - "description": "fs:allow-create -> Enables the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-create"] - }, - { - "description": "fs:allow-exists -> Enables the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-exists"] - }, - { - "description": "fs:allow-fstat -> Enables the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-fstat"] - }, - { - "description": "fs:allow-ftruncate -> Enables the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-ftruncate"] - }, - { - "description": "fs:allow-lstat -> Enables the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-lstat"] - }, - { - "description": "fs:allow-mkdir -> Enables the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-mkdir"] - }, - { - "description": "fs:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-open"] - }, - { - "description": "fs:allow-read -> Enables the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read"] - }, - { - "description": "fs:allow-read-dir -> Enables the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-dir"] - }, - { - "description": "fs:allow-read-file -> Enables the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-file"] - }, - { - "description": "fs:allow-read-text-file -> Enables the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file"] - }, - { - "description": "fs:allow-read-text-file-lines -> Enables the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines"] - }, - { - "description": "fs:allow-read-text-file-lines-next -> Enables the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines-next"] - }, - { - "description": "fs:allow-remove -> Enables the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-remove"] - }, - { - "description": "fs:allow-rename -> Enables the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-rename"] - }, - { - "description": "fs:allow-seek -> Enables the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-seek"] - }, - { - "description": "fs:allow-stat -> Enables the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-stat"] - }, - { - "description": "fs:allow-truncate -> Enables the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-truncate"] - }, - { - "description": "fs:allow-unwatch -> Enables the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-unwatch"] - }, - { - "description": "fs:allow-watch -> Enables the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-watch"] - }, - { - "description": "fs:allow-write -> Enables the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write"] - }, - { - "description": "fs:allow-write-file -> Enables the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-file"] - }, - { - "description": "fs:allow-write-text-file -> Enables the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-text-file"] - }, - { - "description": "fs:create-app-specific-dirs -> This permissions allows to create the application specific directories.\n", - "type": "string", - "enum": ["fs:create-app-specific-dirs"] - }, - { - "description": "fs:deny-copy-file -> Denies the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-copy-file"] - }, - { - "description": "fs:deny-create -> Denies the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-create"] - }, - { - "description": "fs:deny-exists -> Denies the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-exists"] - }, - { - "description": "fs:deny-fstat -> Denies the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-fstat"] - }, - { - "description": "fs:deny-ftruncate -> Denies the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-ftruncate"] - }, - { - "description": "fs:deny-lstat -> Denies the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-lstat"] - }, - { - "description": "fs:deny-mkdir -> Denies the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-mkdir"] - }, - { - "description": "fs:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-open"] - }, - { - "description": "fs:deny-read -> Denies the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read"] - }, - { - "description": "fs:deny-read-dir -> Denies the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-dir"] - }, - { - "description": "fs:deny-read-file -> Denies the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-file"] - }, - { - "description": "fs:deny-read-text-file -> Denies the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file"] - }, - { - "description": "fs:deny-read-text-file-lines -> Denies the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines"] - }, - { - "description": "fs:deny-read-text-file-lines-next -> Denies the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines-next"] - }, - { - "description": "fs:deny-remove -> Denies the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-remove"] - }, - { - "description": "fs:deny-rename -> Denies the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-rename"] - }, - { - "description": "fs:deny-seek -> Denies the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-seek"] - }, - { - "description": "fs:deny-stat -> Denies the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-stat"] - }, - { - "description": "fs:deny-truncate -> Denies the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-truncate"] - }, - { - "description": "fs:deny-unwatch -> Denies the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-unwatch"] - }, - { - "description": "fs:deny-watch -> Denies the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-watch"] - }, - { - "description": "fs:deny-webview-data-linux -> This denies read access to the\n`$APPLOCALDATA` folder on linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-linux"] - }, - { - "description": "fs:deny-webview-data-windows -> This denies read access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-windows"] - }, - { - "description": "fs:deny-write -> Denies the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write"] - }, - { - "description": "fs:deny-write-file -> Denies the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-file"] - }, - { - "description": "fs:deny-write-text-file -> Denies the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-text-file"] - }, - { - "description": "fs:read-all -> This enables all read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-all"] - }, - { - "description": "fs:read-app-specific-dirs-recursive -> This permission allows recursive read functionality on the application\nspecific base directories. \n", - "type": "string", - "enum": ["fs:read-app-specific-dirs-recursive"] - }, - { - "description": "fs:read-dirs -> This enables directory read and file metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-dirs"] - }, - { - "description": "fs:read-files -> This enables file read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-files"] - }, - { - "description": "fs:read-meta -> This enables all index or metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-meta"] - }, - { - "description": "fs:scope -> An empty permission you can use to modify the global scope.", - "type": "string", - "enum": ["fs:scope"] - }, - { - "description": "fs:scope-app -> This scope permits access to all files and list content of top level directories in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app"] - }, - { - "description": "fs:scope-app-index -> This scope permits to list all files and folders in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app-index"] - }, - { - "description": "fs:scope-app-recursive -> This scope permits recursive access to the complete `$APP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-app-recursive"] - }, - { - "description": "fs:scope-appcache -> This scope permits access to all files and list content of top level directories in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache"] - }, - { - "description": "fs:scope-appcache-index -> This scope permits to list all files and folders in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache-index"] - }, - { - "description": "fs:scope-appcache-recursive -> This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appcache-recursive"] - }, - { - "description": "fs:scope-appconfig -> This scope permits access to all files and list content of top level directories in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig"] - }, - { - "description": "fs:scope-appconfig-index -> This scope permits to list all files and folders in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig-index"] - }, - { - "description": "fs:scope-appconfig-recursive -> This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appconfig-recursive"] - }, - { - "description": "fs:scope-appdata -> This scope permits access to all files and list content of top level directories in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata"] - }, - { - "description": "fs:scope-appdata-index -> This scope permits to list all files and folders in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata-index"] - }, - { - "description": "fs:scope-appdata-recursive -> This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appdata-recursive"] - }, - { - "description": "fs:scope-applocaldata -> This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata"] - }, - { - "description": "fs:scope-applocaldata-index -> This scope permits to list all files and folders in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata-index"] - }, - { - "description": "fs:scope-applocaldata-recursive -> This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applocaldata-recursive"] - }, - { - "description": "fs:scope-applog -> This scope permits access to all files and list content of top level directories in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog"] - }, - { - "description": "fs:scope-applog-index -> This scope permits to list all files and folders in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog-index"] - }, - { - "description": "fs:scope-applog-recursive -> This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applog-recursive"] - }, - { - "description": "fs:scope-audio -> This scope permits access to all files and list content of top level directories in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio"] - }, - { - "description": "fs:scope-audio-index -> This scope permits to list all files and folders in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio-index"] - }, - { - "description": "fs:scope-audio-recursive -> This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-audio-recursive"] - }, - { - "description": "fs:scope-cache -> This scope permits access to all files and list content of top level directories in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache"] - }, - { - "description": "fs:scope-cache-index -> This scope permits to list all files and folders in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache-index"] - }, - { - "description": "fs:scope-cache-recursive -> This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-cache-recursive"] - }, - { - "description": "fs:scope-config -> This scope permits access to all files and list content of top level directories in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config"] - }, - { - "description": "fs:scope-config-index -> This scope permits to list all files and folders in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config-index"] - }, - { - "description": "fs:scope-config-recursive -> This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-config-recursive"] - }, - { - "description": "fs:scope-data -> This scope permits access to all files and list content of top level directories in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data"] - }, - { - "description": "fs:scope-data-index -> This scope permits to list all files and folders in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data-index"] - }, - { - "description": "fs:scope-data-recursive -> This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-data-recursive"] - }, - { - "description": "fs:scope-desktop -> This scope permits access to all files and list content of top level directories in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop"] - }, - { - "description": "fs:scope-desktop-index -> This scope permits to list all files and folders in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop-index"] - }, - { - "description": "fs:scope-desktop-recursive -> This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-desktop-recursive"] - }, - { - "description": "fs:scope-document -> This scope permits access to all files and list content of top level directories in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document"] - }, - { - "description": "fs:scope-document-index -> This scope permits to list all files and folders in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document-index"] - }, - { - "description": "fs:scope-document-recursive -> This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-document-recursive"] - }, - { - "description": "fs:scope-download -> This scope permits access to all files and list content of top level directories in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download"] - }, - { - "description": "fs:scope-download-index -> This scope permits to list all files and folders in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download-index"] - }, - { - "description": "fs:scope-download-recursive -> This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-download-recursive"] - }, - { - "description": "fs:scope-exe -> This scope permits access to all files and list content of top level directories in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe"] - }, - { - "description": "fs:scope-exe-index -> This scope permits to list all files and folders in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe-index"] - }, - { - "description": "fs:scope-exe-recursive -> This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-exe-recursive"] - }, - { - "description": "fs:scope-font -> This scope permits access to all files and list content of top level directories in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font"] - }, - { - "description": "fs:scope-font-index -> This scope permits to list all files and folders in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font-index"] - }, - { - "description": "fs:scope-font-recursive -> This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-font-recursive"] - }, - { - "description": "fs:scope-home -> This scope permits access to all files and list content of top level directories in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home"] - }, - { - "description": "fs:scope-home-index -> This scope permits to list all files and folders in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home-index"] - }, - { - "description": "fs:scope-home-recursive -> This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-home-recursive"] - }, - { - "description": "fs:scope-localdata -> This scope permits access to all files and list content of top level directories in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata"] - }, - { - "description": "fs:scope-localdata-index -> This scope permits to list all files and folders in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata-index"] - }, - { - "description": "fs:scope-localdata-recursive -> This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-localdata-recursive"] - }, - { - "description": "fs:scope-log -> This scope permits access to all files and list content of top level directories in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log"] - }, - { - "description": "fs:scope-log-index -> This scope permits to list all files and folders in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log-index"] - }, - { - "description": "fs:scope-log-recursive -> This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-log-recursive"] - }, - { - "description": "fs:scope-picture -> This scope permits access to all files and list content of top level directories in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture"] - }, - { - "description": "fs:scope-picture-index -> This scope permits to list all files and folders in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture-index"] - }, - { - "description": "fs:scope-picture-recursive -> This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-picture-recursive"] - }, - { - "description": "fs:scope-public -> This scope permits access to all files and list content of top level directories in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public"] - }, - { - "description": "fs:scope-public-index -> This scope permits to list all files and folders in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public-index"] - }, - { - "description": "fs:scope-public-recursive -> This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-public-recursive"] - }, - { - "description": "fs:scope-resource -> This scope permits access to all files and list content of top level directories in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource"] - }, - { - "description": "fs:scope-resource-index -> This scope permits to list all files and folders in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource-index"] - }, - { - "description": "fs:scope-resource-recursive -> This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-resource-recursive"] - }, - { - "description": "fs:scope-runtime -> This scope permits access to all files and list content of top level directories in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime"] - }, - { - "description": "fs:scope-runtime-index -> This scope permits to list all files and folders in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime-index"] - }, - { - "description": "fs:scope-runtime-recursive -> This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-runtime-recursive"] - }, - { - "description": "fs:scope-temp -> This scope permits access to all files and list content of top level directories in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp"] - }, - { - "description": "fs:scope-temp-index -> This scope permits to list all files and folders in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp-index"] - }, - { - "description": "fs:scope-temp-recursive -> This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-temp-recursive"] - }, - { - "description": "fs:scope-template -> This scope permits access to all files and list content of top level directories in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template"] - }, - { - "description": "fs:scope-template-index -> This scope permits to list all files and folders in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template-index"] - }, - { - "description": "fs:scope-template-recursive -> This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-template-recursive"] - }, - { - "description": "fs:scope-video -> This scope permits access to all files and list content of top level directories in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video"] - }, - { - "description": "fs:scope-video-index -> This scope permits to list all files and folders in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video-index"] - }, - { - "description": "fs:scope-video-recursive -> This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-video-recursive"] - }, - { - "description": "fs:write-all -> This enables all write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-all"] - }, - { - "description": "fs:write-files -> This enables all file write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-files"] - }, - { - "description": "global-shortcut:default -> No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n", - "type": "string", - "enum": ["global-shortcut:default"] - }, - { - "description": "global-shortcut:allow-is-registered -> Enables the is_registered command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-is-registered"] - }, - { - "description": "global-shortcut:allow-register -> Enables the register command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-register"] - }, - { - "description": "global-shortcut:allow-register-all -> Enables the register_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-register-all"] - }, - { - "description": "global-shortcut:allow-unregister -> Enables the unregister command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-unregister"] - }, - { - "description": "global-shortcut:allow-unregister-all -> Enables the unregister_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-unregister-all"] - }, - { - "description": "global-shortcut:deny-is-registered -> Denies the is_registered command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-is-registered"] - }, - { - "description": "global-shortcut:deny-register -> Denies the register command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-register"] - }, - { - "description": "global-shortcut:deny-register-all -> Denies the register_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-register-all"] - }, - { - "description": "global-shortcut:deny-unregister -> Denies the unregister command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-unregister"] - }, - { - "description": "global-shortcut:deny-unregister-all -> Denies the unregister_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-unregister-all"] - }, - { - "description": "notification:default -> This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n", - "type": "string", - "enum": ["notification:default"] - }, - { - "description": "notification:allow-batch -> Enables the batch command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-batch"] - }, - { - "description": "notification:allow-cancel -> Enables the cancel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-cancel"] - }, - { - "description": "notification:allow-check-permissions -> Enables the check_permissions command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-check-permissions"] - }, - { - "description": "notification:allow-create-channel -> Enables the create_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-create-channel"] - }, - { - "description": "notification:allow-delete-channel -> Enables the delete_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-delete-channel"] - }, - { - "description": "notification:allow-get-active -> Enables the get_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-get-active"] - }, - { - "description": "notification:allow-get-pending -> Enables the get_pending command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-get-pending"] - }, - { - "description": "notification:allow-is-permission-granted -> Enables the is_permission_granted command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-is-permission-granted"] - }, - { - "description": "notification:allow-list-channels -> Enables the list_channels command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-list-channels"] - }, - { - "description": "notification:allow-notify -> Enables the notify command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-notify"] - }, - { - "description": "notification:allow-permission-state -> Enables the permission_state command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-permission-state"] - }, - { - "description": "notification:allow-register-action-types -> Enables the register_action_types command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-register-action-types"] - }, - { - "description": "notification:allow-register-listener -> Enables the register_listener command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-register-listener"] - }, - { - "description": "notification:allow-remove-active -> Enables the remove_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-remove-active"] - }, - { - "description": "notification:allow-request-permission -> Enables the request_permission command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-request-permission"] - }, - { - "description": "notification:allow-show -> Enables the show command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-show"] - }, - { - "description": "notification:deny-batch -> Denies the batch command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-batch"] - }, - { - "description": "notification:deny-cancel -> Denies the cancel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-cancel"] - }, - { - "description": "notification:deny-check-permissions -> Denies the check_permissions command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-check-permissions"] - }, - { - "description": "notification:deny-create-channel -> Denies the create_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-create-channel"] - }, - { - "description": "notification:deny-delete-channel -> Denies the delete_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-delete-channel"] - }, - { - "description": "notification:deny-get-active -> Denies the get_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-get-active"] - }, - { - "description": "notification:deny-get-pending -> Denies the get_pending command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-get-pending"] - }, - { - "description": "notification:deny-is-permission-granted -> Denies the is_permission_granted command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-is-permission-granted"] - }, - { - "description": "notification:deny-list-channels -> Denies the list_channels command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-list-channels"] - }, - { - "description": "notification:deny-notify -> Denies the notify command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-notify"] - }, - { - "description": "notification:deny-permission-state -> Denies the permission_state command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-permission-state"] - }, - { - "description": "notification:deny-register-action-types -> Denies the register_action_types command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-register-action-types"] - }, - { - "description": "notification:deny-register-listener -> Denies the register_listener command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-register-listener"] - }, - { - "description": "notification:deny-remove-active -> Denies the remove_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-remove-active"] - }, - { - "description": "notification:deny-request-permission -> Denies the request_permission command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-request-permission"] - }, - { - "description": "notification:deny-show -> Denies the show command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-show"] - }, - { - "description": "process:default -> This permission set configures which\nprocess feeatures are by default exposed.\n\n#### Granted Permissions\n\nThis enables to quit via `allow-exit` and restart via `allow-restart`\nthe application.\n", - "type": "string", - "enum": ["process:default"] - }, - { - "description": "process:allow-exit -> Enables the exit command without any pre-configured scope.", - "type": "string", - "enum": ["process:allow-exit"] - }, - { - "description": "process:allow-restart -> Enables the restart command without any pre-configured scope.", - "type": "string", - "enum": ["process:allow-restart"] - }, - { - "description": "process:deny-exit -> Denies the exit command without any pre-configured scope.", - "type": "string", - "enum": ["process:deny-exit"] - }, - { - "description": "process:deny-restart -> Denies the restart command without any pre-configured scope.", - "type": "string", - "enum": ["process:deny-restart"] - }, - { - "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n", - "type": "string", - "enum": ["shell:default"] - }, - { - "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-execute"] - }, - { - "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-kill"] - }, - { - "description": "shell:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-open"] - }, - { - "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-spawn"] - }, - { - "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-stdin-write"] - }, - { - "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-execute"] - }, - { - "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-kill"] - }, - { - "description": "shell:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-open"] - }, - { - "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-spawn"] - }, - { - "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-stdin-write"] - }, - { - "description": "updater:default -> This permission set configures which kind of\nupdater functions are exposed to the frontend.\n\n#### Granted Permissions\n\nThe full workflow from checking for updates to installing them\nis enabled.\n\n", - "type": "string", - "enum": ["updater:default"] - }, - { - "description": "updater:allow-check -> Enables the check command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-check"] - }, - { - "description": "updater:allow-download -> Enables the download command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-download"] - }, - { - "description": "updater:allow-download-and-install -> Enables the download_and_install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-download-and-install"] - }, - { - "description": "updater:allow-install -> Enables the install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-install"] - }, - { - "description": "updater:deny-check -> Denies the check command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-check"] - }, - { - "description": "updater:deny-download -> Denies the download command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-download"] - }, - { - "description": "updater:deny-download-and-install -> Denies the download_and_install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-download-and-install"] - }, - { - "description": "updater:deny-install -> Denies the install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-install"] - } - ] - }, - "Value": { - "description": "All supported ACL values.", - "anyOf": [ - { - "description": "Represents a null JSON value.", - "type": "null" - }, - { - "description": "Represents a [`bool`].", - "type": "boolean" - }, - { - "description": "Represents a valid ACL [`Number`].", - "allOf": [ - { - "$ref": "#/definitions/Number" - } - ] - }, - { - "description": "Represents a [`String`].", - "type": "string" - }, - { - "description": "Represents a list of other [`Value`]s.", - "type": "array", - "items": { - "$ref": "#/definitions/Value" - } - }, - { - "description": "Represents a map of [`String`] keys to [`Value`]s.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Value" - } - } - ] - }, - "Number": { - "description": "A valid ACL number.", - "anyOf": [ - { - "description": "Represents an [`i64`].", - "type": "integer", - "format": "int64" - }, - { - "description": "Represents a [`f64`].", - "type": "number", - "format": "double" - } - ] - }, - "Target": { - "description": "Platform target.", - "oneOf": [ - { - "description": "MacOS.", - "type": "string", - "enum": ["macOS"] - }, - { - "description": "Windows.", - "type": "string", - "enum": ["windows"] - }, - { - "description": "Linux.", - "type": "string", - "enum": ["linux"] - }, - { - "description": "Android.", - "type": "string", - "enum": ["android"] - }, - { - "description": "iOS.", - "type": "string", - "enum": ["iOS"] - } - ] - }, - "ShellAllowedArg": { - "description": "A command argument allowed to be executed by the webview API.", - "anyOf": [ - { - "description": "A non-configurable argument that is passed to the command in the order it was specified.", - "type": "string" - }, - { - "description": "A variable that is set while calling the command from the webview API.", - "type": "object", - "required": ["validator"], - "properties": { - "raw": { - "description": "Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.", - "default": false, - "type": "boolean" - }, - "validator": { - "description": "[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ", - "type": "string" - } - }, - "additionalProperties": false - } - ] - }, - "ShellAllowedArgs": { - "description": "A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.", - "anyOf": [ - { - "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.", - "type": "boolean" - }, - { - "description": "A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.", - "type": "array", - "items": { - "$ref": "#/definitions/ShellAllowedArg" - } - } - ] - } - } -} diff --git a/src-tauri/gen/schemas/macOS-schema.json b/src-tauri/gen/schemas/macOS-schema.json deleted file mode 100644 index 1d67880..0000000 --- a/src-tauri/gen/schemas/macOS-schema.json +++ /dev/null @@ -1,5171 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "CapabilityFile", - "description": "Capability formats accepted in a capability file.", - "anyOf": [ - { - "description": "A single capability.", - "allOf": [ - { - "$ref": "#/definitions/Capability" - } - ] - }, - { - "description": "A list of capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "description": "A list of capabilities.", - "type": "object", - "required": ["capabilities"], - "properties": { - "capabilities": { - "description": "The list of capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - } - } - } - ], - "definitions": { - "Capability": { - "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```", - "type": "object", - "required": ["identifier", "permissions"], - "properties": { - "identifier": { - "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`", - "type": "string" - }, - "description": { - "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.", - "default": "", - "type": "string" - }, - "remote": { - "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```", - "anyOf": [ - { - "$ref": "#/definitions/CapabilityRemote" - }, - { - "type": "null" - } - ] - }, - "local": { - "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.", - "default": true, - "type": "boolean" - }, - "windows": { - "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`", - "type": "array", - "items": { - "type": "string" - } - }, - "webviews": { - "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`", - "type": "array", - "items": { - "type": "string" - } - }, - "permissions": { - "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```", - "type": "array", - "items": { - "$ref": "#/definitions/PermissionEntry" - }, - "uniqueItems": true - }, - "platforms": { - "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`", - "type": ["array", "null"], - "items": { - "$ref": "#/definitions/Target" - } - } - } - }, - "CapabilityRemote": { - "description": "Configuration for remote URLs that are associated with the capability.", - "type": "object", - "required": ["urls"], - "properties": { - "urls": { - "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "PermissionEntry": { - "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.", - "anyOf": [ - { - "description": "Reference a permission or permission set by identifier.", - "allOf": [ - { - "$ref": "#/definitions/Identifier" - } - ] - }, - { - "description": "Reference a permission or permission set by identifier and extends its scope.", - "type": "object", - "oneOf": [ - { - "type": "object", - "required": ["identifier"], - "properties": { - "identifier": { - "oneOf": [ - { - "description": "fs:default -> This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\nOn Windows the webview data folder access is denied.\n\n", - "type": "string", - "enum": ["fs:default"] - }, - { - "description": "fs:allow-app-meta -> This allows non-recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta"] - }, - { - "description": "fs:allow-app-meta-recursive -> This allows full recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta-recursive"] - }, - { - "description": "fs:allow-app-read -> This allows non-recursive read access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-read"] - }, - { - "description": "fs:allow-app-read-recursive -> This allows full recursive read access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-read-recursive"] - }, - { - "description": "fs:allow-app-write -> This allows non-recursive write access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-write"] - }, - { - "description": "fs:allow-app-write-recursive -> This allows full recursive write access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-write-recursive"] - }, - { - "description": "fs:allow-appcache-meta -> This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta"] - }, - { - "description": "fs:allow-appcache-meta-recursive -> This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta-recursive"] - }, - { - "description": "fs:allow-appcache-read -> This allows non-recursive read access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-read"] - }, - { - "description": "fs:allow-appcache-read-recursive -> This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-read-recursive"] - }, - { - "description": "fs:allow-appcache-write -> This allows non-recursive write access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-write"] - }, - { - "description": "fs:allow-appcache-write-recursive -> This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-write-recursive"] - }, - { - "description": "fs:allow-appconfig-meta -> This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta"] - }, - { - "description": "fs:allow-appconfig-meta-recursive -> This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta-recursive"] - }, - { - "description": "fs:allow-appconfig-read -> This allows non-recursive read access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-read"] - }, - { - "description": "fs:allow-appconfig-read-recursive -> This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-read-recursive"] - }, - { - "description": "fs:allow-appconfig-write -> This allows non-recursive write access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-write"] - }, - { - "description": "fs:allow-appconfig-write-recursive -> This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-write-recursive"] - }, - { - "description": "fs:allow-appdata-meta -> This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta"] - }, - { - "description": "fs:allow-appdata-meta-recursive -> This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta-recursive"] - }, - { - "description": "fs:allow-appdata-read -> This allows non-recursive read access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-read"] - }, - { - "description": "fs:allow-appdata-read-recursive -> This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-read-recursive"] - }, - { - "description": "fs:allow-appdata-write -> This allows non-recursive write access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-write"] - }, - { - "description": "fs:allow-appdata-write-recursive -> This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-write-recursive"] - }, - { - "description": "fs:allow-applocaldata-meta -> This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta"] - }, - { - "description": "fs:allow-applocaldata-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta-recursive"] - }, - { - "description": "fs:allow-applocaldata-read -> This allows non-recursive read access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-read"] - }, - { - "description": "fs:allow-applocaldata-read-recursive -> This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-read-recursive"] - }, - { - "description": "fs:allow-applocaldata-write -> This allows non-recursive write access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-write"] - }, - { - "description": "fs:allow-applocaldata-write-recursive -> This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-write-recursive"] - }, - { - "description": "fs:allow-applog-meta -> This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta"] - }, - { - "description": "fs:allow-applog-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta-recursive"] - }, - { - "description": "fs:allow-applog-read -> This allows non-recursive read access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-read"] - }, - { - "description": "fs:allow-applog-read-recursive -> This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-read-recursive"] - }, - { - "description": "fs:allow-applog-write -> This allows non-recursive write access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-write"] - }, - { - "description": "fs:allow-applog-write-recursive -> This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-write-recursive"] - }, - { - "description": "fs:allow-audio-meta -> This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta"] - }, - { - "description": "fs:allow-audio-meta-recursive -> This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta-recursive"] - }, - { - "description": "fs:allow-audio-read -> This allows non-recursive read access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-read"] - }, - { - "description": "fs:allow-audio-read-recursive -> This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-read-recursive"] - }, - { - "description": "fs:allow-audio-write -> This allows non-recursive write access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-write"] - }, - { - "description": "fs:allow-audio-write-recursive -> This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-write-recursive"] - }, - { - "description": "fs:allow-cache-meta -> This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta"] - }, - { - "description": "fs:allow-cache-meta-recursive -> This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta-recursive"] - }, - { - "description": "fs:allow-cache-read -> This allows non-recursive read access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-read"] - }, - { - "description": "fs:allow-cache-read-recursive -> This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-read-recursive"] - }, - { - "description": "fs:allow-cache-write -> This allows non-recursive write access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-write"] - }, - { - "description": "fs:allow-cache-write-recursive -> This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-write-recursive"] - }, - { - "description": "fs:allow-config-meta -> This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta"] - }, - { - "description": "fs:allow-config-meta-recursive -> This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta-recursive"] - }, - { - "description": "fs:allow-config-read -> This allows non-recursive read access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-read"] - }, - { - "description": "fs:allow-config-read-recursive -> This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-read-recursive"] - }, - { - "description": "fs:allow-config-write -> This allows non-recursive write access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-write"] - }, - { - "description": "fs:allow-config-write-recursive -> This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-write-recursive"] - }, - { - "description": "fs:allow-data-meta -> This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta"] - }, - { - "description": "fs:allow-data-meta-recursive -> This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta-recursive"] - }, - { - "description": "fs:allow-data-read -> This allows non-recursive read access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-read"] - }, - { - "description": "fs:allow-data-read-recursive -> This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-read-recursive"] - }, - { - "description": "fs:allow-data-write -> This allows non-recursive write access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-write"] - }, - { - "description": "fs:allow-data-write-recursive -> This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-write-recursive"] - }, - { - "description": "fs:allow-desktop-meta -> This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta"] - }, - { - "description": "fs:allow-desktop-meta-recursive -> This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta-recursive"] - }, - { - "description": "fs:allow-desktop-read -> This allows non-recursive read access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-read"] - }, - { - "description": "fs:allow-desktop-read-recursive -> This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-read-recursive"] - }, - { - "description": "fs:allow-desktop-write -> This allows non-recursive write access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-write"] - }, - { - "description": "fs:allow-desktop-write-recursive -> This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-write-recursive"] - }, - { - "description": "fs:allow-document-meta -> This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta"] - }, - { - "description": "fs:allow-document-meta-recursive -> This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta-recursive"] - }, - { - "description": "fs:allow-document-read -> This allows non-recursive read access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-read"] - }, - { - "description": "fs:allow-document-read-recursive -> This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-read-recursive"] - }, - { - "description": "fs:allow-document-write -> This allows non-recursive write access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-write"] - }, - { - "description": "fs:allow-document-write-recursive -> This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-write-recursive"] - }, - { - "description": "fs:allow-download-meta -> This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta"] - }, - { - "description": "fs:allow-download-meta-recursive -> This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta-recursive"] - }, - { - "description": "fs:allow-download-read -> This allows non-recursive read access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-read"] - }, - { - "description": "fs:allow-download-read-recursive -> This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-read-recursive"] - }, - { - "description": "fs:allow-download-write -> This allows non-recursive write access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-write"] - }, - { - "description": "fs:allow-download-write-recursive -> This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-write-recursive"] - }, - { - "description": "fs:allow-exe-meta -> This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta"] - }, - { - "description": "fs:allow-exe-meta-recursive -> This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta-recursive"] - }, - { - "description": "fs:allow-exe-read -> This allows non-recursive read access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-read"] - }, - { - "description": "fs:allow-exe-read-recursive -> This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-read-recursive"] - }, - { - "description": "fs:allow-exe-write -> This allows non-recursive write access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-write"] - }, - { - "description": "fs:allow-exe-write-recursive -> This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-write-recursive"] - }, - { - "description": "fs:allow-font-meta -> This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta"] - }, - { - "description": "fs:allow-font-meta-recursive -> This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta-recursive"] - }, - { - "description": "fs:allow-font-read -> This allows non-recursive read access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-read"] - }, - { - "description": "fs:allow-font-read-recursive -> This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-read-recursive"] - }, - { - "description": "fs:allow-font-write -> This allows non-recursive write access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-write"] - }, - { - "description": "fs:allow-font-write-recursive -> This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-write-recursive"] - }, - { - "description": "fs:allow-home-meta -> This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta"] - }, - { - "description": "fs:allow-home-meta-recursive -> This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta-recursive"] - }, - { - "description": "fs:allow-home-read -> This allows non-recursive read access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-read"] - }, - { - "description": "fs:allow-home-read-recursive -> This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-read-recursive"] - }, - { - "description": "fs:allow-home-write -> This allows non-recursive write access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-write"] - }, - { - "description": "fs:allow-home-write-recursive -> This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-write-recursive"] - }, - { - "description": "fs:allow-localdata-meta -> This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta"] - }, - { - "description": "fs:allow-localdata-meta-recursive -> This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta-recursive"] - }, - { - "description": "fs:allow-localdata-read -> This allows non-recursive read access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-read"] - }, - { - "description": "fs:allow-localdata-read-recursive -> This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-read-recursive"] - }, - { - "description": "fs:allow-localdata-write -> This allows non-recursive write access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-write"] - }, - { - "description": "fs:allow-localdata-write-recursive -> This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-write-recursive"] - }, - { - "description": "fs:allow-log-meta -> This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta"] - }, - { - "description": "fs:allow-log-meta-recursive -> This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta-recursive"] - }, - { - "description": "fs:allow-log-read -> This allows non-recursive read access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-read"] - }, - { - "description": "fs:allow-log-read-recursive -> This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-read-recursive"] - }, - { - "description": "fs:allow-log-write -> This allows non-recursive write access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-write"] - }, - { - "description": "fs:allow-log-write-recursive -> This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-write-recursive"] - }, - { - "description": "fs:allow-picture-meta -> This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta"] - }, - { - "description": "fs:allow-picture-meta-recursive -> This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta-recursive"] - }, - { - "description": "fs:allow-picture-read -> This allows non-recursive read access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-read"] - }, - { - "description": "fs:allow-picture-read-recursive -> This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-read-recursive"] - }, - { - "description": "fs:allow-picture-write -> This allows non-recursive write access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-write"] - }, - { - "description": "fs:allow-picture-write-recursive -> This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-write-recursive"] - }, - { - "description": "fs:allow-public-meta -> This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta"] - }, - { - "description": "fs:allow-public-meta-recursive -> This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta-recursive"] - }, - { - "description": "fs:allow-public-read -> This allows non-recursive read access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-read"] - }, - { - "description": "fs:allow-public-read-recursive -> This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-read-recursive"] - }, - { - "description": "fs:allow-public-write -> This allows non-recursive write access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-write"] - }, - { - "description": "fs:allow-public-write-recursive -> This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-write-recursive"] - }, - { - "description": "fs:allow-resource-meta -> This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta"] - }, - { - "description": "fs:allow-resource-meta-recursive -> This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta-recursive"] - }, - { - "description": "fs:allow-resource-read -> This allows non-recursive read access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-read"] - }, - { - "description": "fs:allow-resource-read-recursive -> This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-read-recursive"] - }, - { - "description": "fs:allow-resource-write -> This allows non-recursive write access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-write"] - }, - { - "description": "fs:allow-resource-write-recursive -> This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-write-recursive"] - }, - { - "description": "fs:allow-runtime-meta -> This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta"] - }, - { - "description": "fs:allow-runtime-meta-recursive -> This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta-recursive"] - }, - { - "description": "fs:allow-runtime-read -> This allows non-recursive read access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-read"] - }, - { - "description": "fs:allow-runtime-read-recursive -> This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-read-recursive"] - }, - { - "description": "fs:allow-runtime-write -> This allows non-recursive write access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-write"] - }, - { - "description": "fs:allow-runtime-write-recursive -> This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-write-recursive"] - }, - { - "description": "fs:allow-temp-meta -> This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta"] - }, - { - "description": "fs:allow-temp-meta-recursive -> This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta-recursive"] - }, - { - "description": "fs:allow-temp-read -> This allows non-recursive read access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-read"] - }, - { - "description": "fs:allow-temp-read-recursive -> This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-read-recursive"] - }, - { - "description": "fs:allow-temp-write -> This allows non-recursive write access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-write"] - }, - { - "description": "fs:allow-temp-write-recursive -> This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-write-recursive"] - }, - { - "description": "fs:allow-template-meta -> This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta"] - }, - { - "description": "fs:allow-template-meta-recursive -> This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta-recursive"] - }, - { - "description": "fs:allow-template-read -> This allows non-recursive read access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-read"] - }, - { - "description": "fs:allow-template-read-recursive -> This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-read-recursive"] - }, - { - "description": "fs:allow-template-write -> This allows non-recursive write access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-write"] - }, - { - "description": "fs:allow-template-write-recursive -> This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-write-recursive"] - }, - { - "description": "fs:allow-video-meta -> This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta"] - }, - { - "description": "fs:allow-video-meta-recursive -> This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta-recursive"] - }, - { - "description": "fs:allow-video-read -> This allows non-recursive read access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-read"] - }, - { - "description": "fs:allow-video-read-recursive -> This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-read-recursive"] - }, - { - "description": "fs:allow-video-write -> This allows non-recursive write access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-write"] - }, - { - "description": "fs:allow-video-write-recursive -> This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-write-recursive"] - }, - { - "description": "fs:deny-default -> This denies access to dangerous Tauri relevant files and folders by default.", - "type": "string", - "enum": ["fs:deny-default"] - }, - { - "description": "fs:allow-copy-file -> Enables the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-copy-file"] - }, - { - "description": "fs:allow-create -> Enables the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-create"] - }, - { - "description": "fs:allow-exists -> Enables the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-exists"] - }, - { - "description": "fs:allow-fstat -> Enables the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-fstat"] - }, - { - "description": "fs:allow-ftruncate -> Enables the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-ftruncate"] - }, - { - "description": "fs:allow-lstat -> Enables the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-lstat"] - }, - { - "description": "fs:allow-mkdir -> Enables the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-mkdir"] - }, - { - "description": "fs:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-open"] - }, - { - "description": "fs:allow-read -> Enables the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read"] - }, - { - "description": "fs:allow-read-dir -> Enables the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-dir"] - }, - { - "description": "fs:allow-read-file -> Enables the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-file"] - }, - { - "description": "fs:allow-read-text-file -> Enables the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file"] - }, - { - "description": "fs:allow-read-text-file-lines -> Enables the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines"] - }, - { - "description": "fs:allow-read-text-file-lines-next -> Enables the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines-next"] - }, - { - "description": "fs:allow-remove -> Enables the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-remove"] - }, - { - "description": "fs:allow-rename -> Enables the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-rename"] - }, - { - "description": "fs:allow-seek -> Enables the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-seek"] - }, - { - "description": "fs:allow-stat -> Enables the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-stat"] - }, - { - "description": "fs:allow-truncate -> Enables the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-truncate"] - }, - { - "description": "fs:allow-unwatch -> Enables the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-unwatch"] - }, - { - "description": "fs:allow-watch -> Enables the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-watch"] - }, - { - "description": "fs:allow-write -> Enables the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write"] - }, - { - "description": "fs:allow-write-file -> Enables the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-file"] - }, - { - "description": "fs:allow-write-text-file -> Enables the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-text-file"] - }, - { - "description": "fs:create-app-specific-dirs -> This permissions allows to create the application specific directories.\n", - "type": "string", - "enum": ["fs:create-app-specific-dirs"] - }, - { - "description": "fs:deny-copy-file -> Denies the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-copy-file"] - }, - { - "description": "fs:deny-create -> Denies the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-create"] - }, - { - "description": "fs:deny-exists -> Denies the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-exists"] - }, - { - "description": "fs:deny-fstat -> Denies the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-fstat"] - }, - { - "description": "fs:deny-ftruncate -> Denies the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-ftruncate"] - }, - { - "description": "fs:deny-lstat -> Denies the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-lstat"] - }, - { - "description": "fs:deny-mkdir -> Denies the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-mkdir"] - }, - { - "description": "fs:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-open"] - }, - { - "description": "fs:deny-read -> Denies the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read"] - }, - { - "description": "fs:deny-read-dir -> Denies the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-dir"] - }, - { - "description": "fs:deny-read-file -> Denies the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-file"] - }, - { - "description": "fs:deny-read-text-file -> Denies the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file"] - }, - { - "description": "fs:deny-read-text-file-lines -> Denies the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines"] - }, - { - "description": "fs:deny-read-text-file-lines-next -> Denies the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines-next"] - }, - { - "description": "fs:deny-remove -> Denies the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-remove"] - }, - { - "description": "fs:deny-rename -> Denies the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-rename"] - }, - { - "description": "fs:deny-seek -> Denies the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-seek"] - }, - { - "description": "fs:deny-stat -> Denies the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-stat"] - }, - { - "description": "fs:deny-truncate -> Denies the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-truncate"] - }, - { - "description": "fs:deny-unwatch -> Denies the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-unwatch"] - }, - { - "description": "fs:deny-watch -> Denies the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-watch"] - }, - { - "description": "fs:deny-webview-data-linux -> This denies read access to the\n`$APPLOCALDATA` folder on linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-linux"] - }, - { - "description": "fs:deny-webview-data-windows -> This denies read access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-windows"] - }, - { - "description": "fs:deny-write -> Denies the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write"] - }, - { - "description": "fs:deny-write-file -> Denies the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-file"] - }, - { - "description": "fs:deny-write-text-file -> Denies the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-text-file"] - }, - { - "description": "fs:read-all -> This enables all read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-all"] - }, - { - "description": "fs:read-app-specific-dirs-recursive -> This permission allows recursive read functionality on the application\nspecific base directories. \n", - "type": "string", - "enum": ["fs:read-app-specific-dirs-recursive"] - }, - { - "description": "fs:read-dirs -> This enables directory read and file metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-dirs"] - }, - { - "description": "fs:read-files -> This enables file read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-files"] - }, - { - "description": "fs:read-meta -> This enables all index or metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-meta"] - }, - { - "description": "fs:scope -> An empty permission you can use to modify the global scope.", - "type": "string", - "enum": ["fs:scope"] - }, - { - "description": "fs:scope-app -> This scope permits access to all files and list content of top level directories in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app"] - }, - { - "description": "fs:scope-app-index -> This scope permits to list all files and folders in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app-index"] - }, - { - "description": "fs:scope-app-recursive -> This scope permits recursive access to the complete `$APP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-app-recursive"] - }, - { - "description": "fs:scope-appcache -> This scope permits access to all files and list content of top level directories in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache"] - }, - { - "description": "fs:scope-appcache-index -> This scope permits to list all files and folders in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache-index"] - }, - { - "description": "fs:scope-appcache-recursive -> This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appcache-recursive"] - }, - { - "description": "fs:scope-appconfig -> This scope permits access to all files and list content of top level directories in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig"] - }, - { - "description": "fs:scope-appconfig-index -> This scope permits to list all files and folders in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig-index"] - }, - { - "description": "fs:scope-appconfig-recursive -> This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appconfig-recursive"] - }, - { - "description": "fs:scope-appdata -> This scope permits access to all files and list content of top level directories in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata"] - }, - { - "description": "fs:scope-appdata-index -> This scope permits to list all files and folders in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata-index"] - }, - { - "description": "fs:scope-appdata-recursive -> This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appdata-recursive"] - }, - { - "description": "fs:scope-applocaldata -> This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata"] - }, - { - "description": "fs:scope-applocaldata-index -> This scope permits to list all files and folders in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata-index"] - }, - { - "description": "fs:scope-applocaldata-recursive -> This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applocaldata-recursive"] - }, - { - "description": "fs:scope-applog -> This scope permits access to all files and list content of top level directories in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog"] - }, - { - "description": "fs:scope-applog-index -> This scope permits to list all files and folders in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog-index"] - }, - { - "description": "fs:scope-applog-recursive -> This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applog-recursive"] - }, - { - "description": "fs:scope-audio -> This scope permits access to all files and list content of top level directories in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio"] - }, - { - "description": "fs:scope-audio-index -> This scope permits to list all files and folders in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio-index"] - }, - { - "description": "fs:scope-audio-recursive -> This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-audio-recursive"] - }, - { - "description": "fs:scope-cache -> This scope permits access to all files and list content of top level directories in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache"] - }, - { - "description": "fs:scope-cache-index -> This scope permits to list all files and folders in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache-index"] - }, - { - "description": "fs:scope-cache-recursive -> This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-cache-recursive"] - }, - { - "description": "fs:scope-config -> This scope permits access to all files and list content of top level directories in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config"] - }, - { - "description": "fs:scope-config-index -> This scope permits to list all files and folders in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config-index"] - }, - { - "description": "fs:scope-config-recursive -> This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-config-recursive"] - }, - { - "description": "fs:scope-data -> This scope permits access to all files and list content of top level directories in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data"] - }, - { - "description": "fs:scope-data-index -> This scope permits to list all files and folders in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data-index"] - }, - { - "description": "fs:scope-data-recursive -> This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-data-recursive"] - }, - { - "description": "fs:scope-desktop -> This scope permits access to all files and list content of top level directories in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop"] - }, - { - "description": "fs:scope-desktop-index -> This scope permits to list all files and folders in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop-index"] - }, - { - "description": "fs:scope-desktop-recursive -> This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-desktop-recursive"] - }, - { - "description": "fs:scope-document -> This scope permits access to all files and list content of top level directories in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document"] - }, - { - "description": "fs:scope-document-index -> This scope permits to list all files and folders in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document-index"] - }, - { - "description": "fs:scope-document-recursive -> This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-document-recursive"] - }, - { - "description": "fs:scope-download -> This scope permits access to all files and list content of top level directories in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download"] - }, - { - "description": "fs:scope-download-index -> This scope permits to list all files and folders in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download-index"] - }, - { - "description": "fs:scope-download-recursive -> This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-download-recursive"] - }, - { - "description": "fs:scope-exe -> This scope permits access to all files and list content of top level directories in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe"] - }, - { - "description": "fs:scope-exe-index -> This scope permits to list all files and folders in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe-index"] - }, - { - "description": "fs:scope-exe-recursive -> This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-exe-recursive"] - }, - { - "description": "fs:scope-font -> This scope permits access to all files and list content of top level directories in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font"] - }, - { - "description": "fs:scope-font-index -> This scope permits to list all files and folders in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font-index"] - }, - { - "description": "fs:scope-font-recursive -> This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-font-recursive"] - }, - { - "description": "fs:scope-home -> This scope permits access to all files and list content of top level directories in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home"] - }, - { - "description": "fs:scope-home-index -> This scope permits to list all files and folders in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home-index"] - }, - { - "description": "fs:scope-home-recursive -> This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-home-recursive"] - }, - { - "description": "fs:scope-localdata -> This scope permits access to all files and list content of top level directories in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata"] - }, - { - "description": "fs:scope-localdata-index -> This scope permits to list all files and folders in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata-index"] - }, - { - "description": "fs:scope-localdata-recursive -> This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-localdata-recursive"] - }, - { - "description": "fs:scope-log -> This scope permits access to all files and list content of top level directories in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log"] - }, - { - "description": "fs:scope-log-index -> This scope permits to list all files and folders in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log-index"] - }, - { - "description": "fs:scope-log-recursive -> This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-log-recursive"] - }, - { - "description": "fs:scope-picture -> This scope permits access to all files and list content of top level directories in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture"] - }, - { - "description": "fs:scope-picture-index -> This scope permits to list all files and folders in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture-index"] - }, - { - "description": "fs:scope-picture-recursive -> This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-picture-recursive"] - }, - { - "description": "fs:scope-public -> This scope permits access to all files and list content of top level directories in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public"] - }, - { - "description": "fs:scope-public-index -> This scope permits to list all files and folders in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public-index"] - }, - { - "description": "fs:scope-public-recursive -> This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-public-recursive"] - }, - { - "description": "fs:scope-resource -> This scope permits access to all files and list content of top level directories in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource"] - }, - { - "description": "fs:scope-resource-index -> This scope permits to list all files and folders in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource-index"] - }, - { - "description": "fs:scope-resource-recursive -> This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-resource-recursive"] - }, - { - "description": "fs:scope-runtime -> This scope permits access to all files and list content of top level directories in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime"] - }, - { - "description": "fs:scope-runtime-index -> This scope permits to list all files and folders in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime-index"] - }, - { - "description": "fs:scope-runtime-recursive -> This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-runtime-recursive"] - }, - { - "description": "fs:scope-temp -> This scope permits access to all files and list content of top level directories in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp"] - }, - { - "description": "fs:scope-temp-index -> This scope permits to list all files and folders in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp-index"] - }, - { - "description": "fs:scope-temp-recursive -> This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-temp-recursive"] - }, - { - "description": "fs:scope-template -> This scope permits access to all files and list content of top level directories in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template"] - }, - { - "description": "fs:scope-template-index -> This scope permits to list all files and folders in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template-index"] - }, - { - "description": "fs:scope-template-recursive -> This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-template-recursive"] - }, - { - "description": "fs:scope-video -> This scope permits access to all files and list content of top level directories in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video"] - }, - { - "description": "fs:scope-video-index -> This scope permits to list all files and folders in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video-index"] - }, - { - "description": "fs:scope-video-recursive -> This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-video-recursive"] - }, - { - "description": "fs:write-all -> This enables all write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-all"] - }, - { - "description": "fs:write-files -> This enables all file write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-files"] - } - ] - }, - "allow": { - "items": { - "title": "FsScopeEntry", - "description": "FS scope entry.", - "anyOf": [ - { - "description": "FS scope path.", - "type": "string" - }, - { - "type": "object", - "required": ["path"], - "properties": { - "path": { - "description": "FS scope path.", - "type": "string" - } - } - } - ] - } - }, - "deny": { - "items": { - "title": "FsScopeEntry", - "description": "FS scope entry.", - "anyOf": [ - { - "description": "FS scope path.", - "type": "string" - }, - { - "type": "object", - "required": ["path"], - "properties": { - "path": { - "description": "FS scope path.", - "type": "string" - } - } - } - ] - } - } - } - }, - { - "type": "object", - "required": ["identifier"], - "properties": { - "identifier": { - "oneOf": [ - { - "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n", - "type": "string", - "enum": ["shell:default"] - }, - { - "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-execute"] - }, - { - "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-kill"] - }, - { - "description": "shell:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-open"] - }, - { - "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-spawn"] - }, - { - "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-stdin-write"] - }, - { - "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-execute"] - }, - { - "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-kill"] - }, - { - "description": "shell:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-open"] - }, - { - "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-spawn"] - }, - { - "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-stdin-write"] - } - ] - }, - "allow": { - "items": { - "title": "Entry", - "description": "A command allowed to be executed by the webview API.", - "type": "object", - "required": ["args", "cmd", "name", "sidecar"], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It 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" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - } - } - }, - "deny": { - "items": { - "title": "Entry", - "description": "A command allowed to be executed by the webview API.", - "type": "object", - "required": ["args", "cmd", "name", "sidecar"], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It 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" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - } - } - } - } - } - ] - } - ] - }, - "Identifier": { - "oneOf": [ - { - "description": "clipboard-manager:default -> No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n", - "type": "string", - "enum": ["clipboard-manager:default"] - }, - { - "description": "clipboard-manager:allow-clear -> Enables the clear command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-clear"] - }, - { - "description": "clipboard-manager:allow-read-image -> Enables the read_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-read-image"] - }, - { - "description": "clipboard-manager:allow-read-text -> Enables the read_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-read-text"] - }, - { - "description": "clipboard-manager:allow-write-html -> Enables the write_html command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-write-html"] - }, - { - "description": "clipboard-manager:allow-write-image -> Enables the write_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-write-image"] - }, - { - "description": "clipboard-manager:allow-write-text -> Enables the write_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:allow-write-text"] - }, - { - "description": "clipboard-manager:deny-clear -> Denies the clear command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-clear"] - }, - { - "description": "clipboard-manager:deny-read-image -> Denies the read_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-read-image"] - }, - { - "description": "clipboard-manager:deny-read-text -> Denies the read_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-read-text"] - }, - { - "description": "clipboard-manager:deny-write-html -> Denies the write_html command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-write-html"] - }, - { - "description": "clipboard-manager:deny-write-image -> Denies the write_image command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-write-image"] - }, - { - "description": "clipboard-manager:deny-write-text -> Denies the write_text command without any pre-configured scope.", - "type": "string", - "enum": ["clipboard-manager:deny-write-text"] - }, - { - "description": "core:app:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:app:default"] - }, - { - "description": "core:app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-app-hide"] - }, - { - "description": "core:app:allow-app-show -> Enables the app_show command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-app-show"] - }, - { - "description": "core:app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-default-window-icon"] - }, - { - "description": "core:app:allow-name -> Enables the name command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-name"] - }, - { - "description": "core:app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-tauri-version"] - }, - { - "description": "core:app:allow-version -> Enables the version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:allow-version"] - }, - { - "description": "core:app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-app-hide"] - }, - { - "description": "core:app:deny-app-show -> Denies the app_show command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-app-show"] - }, - { - "description": "core:app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-default-window-icon"] - }, - { - "description": "core:app:deny-name -> Denies the name command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-name"] - }, - { - "description": "core:app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-tauri-version"] - }, - { - "description": "core:app:deny-version -> Denies the version command without any pre-configured scope.", - "type": "string", - "enum": ["core:app:deny-version"] - }, - { - "description": "core:event:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:event:default"] - }, - { - "description": "core:event:allow-emit -> Enables the emit command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-emit"] - }, - { - "description": "core:event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-emit-to"] - }, - { - "description": "core:event:allow-listen -> Enables the listen command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-listen"] - }, - { - "description": "core:event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:allow-unlisten"] - }, - { - "description": "core:event:deny-emit -> Denies the emit command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-emit"] - }, - { - "description": "core:event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-emit-to"] - }, - { - "description": "core:event:deny-listen -> Denies the listen command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-listen"] - }, - { - "description": "core:event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.", - "type": "string", - "enum": ["core:event:deny-unlisten"] - }, - { - "description": "core:image:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:image:default"] - }, - { - "description": "core:image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-from-bytes"] - }, - { - "description": "core:image:allow-from-path -> Enables the from_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-from-path"] - }, - { - "description": "core:image:allow-new -> Enables the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-new"] - }, - { - "description": "core:image:allow-rgba -> Enables the rgba command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-rgba"] - }, - { - "description": "core:image:allow-size -> Enables the size command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:allow-size"] - }, - { - "description": "core:image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-from-bytes"] - }, - { - "description": "core:image:deny-from-path -> Denies the from_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-from-path"] - }, - { - "description": "core:image:deny-new -> Denies the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-new"] - }, - { - "description": "core:image:deny-rgba -> Denies the rgba command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-rgba"] - }, - { - "description": "core:image:deny-size -> Denies the size command without any pre-configured scope.", - "type": "string", - "enum": ["core:image:deny-size"] - }, - { - "description": "core:menu:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:menu:default"] - }, - { - "description": "core:menu:allow-append -> Enables the append command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-append"] - }, - { - "description": "core:menu:allow-create-default -> Enables the create_default command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-create-default"] - }, - { - "description": "core:menu:allow-get -> Enables the get command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-get"] - }, - { - "description": "core:menu:allow-insert -> Enables the insert command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-insert"] - }, - { - "description": "core:menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-is-checked"] - }, - { - "description": "core:menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-is-enabled"] - }, - { - "description": "core:menu:allow-items -> Enables the items command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-items"] - }, - { - "description": "core:menu:allow-new -> Enables the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-new"] - }, - { - "description": "core:menu:allow-popup -> Enables the popup command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-popup"] - }, - { - "description": "core:menu:allow-prepend -> Enables the prepend command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-prepend"] - }, - { - "description": "core:menu:allow-remove -> Enables the remove command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-remove"] - }, - { - "description": "core:menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-remove-at"] - }, - { - "description": "core:menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-accelerator"] - }, - { - "description": "core:menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-app-menu"] - }, - { - "description": "core:menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-help-menu-for-nsapp"] - }, - { - "description": "core:menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-window-menu"] - }, - { - "description": "core:menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-as-windows-menu-for-nsapp"] - }, - { - "description": "core:menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-checked"] - }, - { - "description": "core:menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-enabled"] - }, - { - "description": "core:menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-icon"] - }, - { - "description": "core:menu:allow-set-text -> Enables the set_text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-set-text"] - }, - { - "description": "core:menu:allow-text -> Enables the text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:allow-text"] - }, - { - "description": "core:menu:deny-append -> Denies the append command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-append"] - }, - { - "description": "core:menu:deny-create-default -> Denies the create_default command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-create-default"] - }, - { - "description": "core:menu:deny-get -> Denies the get command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-get"] - }, - { - "description": "core:menu:deny-insert -> Denies the insert command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-insert"] - }, - { - "description": "core:menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-is-checked"] - }, - { - "description": "core:menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-is-enabled"] - }, - { - "description": "core:menu:deny-items -> Denies the items command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-items"] - }, - { - "description": "core:menu:deny-new -> Denies the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-new"] - }, - { - "description": "core:menu:deny-popup -> Denies the popup command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-popup"] - }, - { - "description": "core:menu:deny-prepend -> Denies the prepend command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-prepend"] - }, - { - "description": "core:menu:deny-remove -> Denies the remove command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-remove"] - }, - { - "description": "core:menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-remove-at"] - }, - { - "description": "core:menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-accelerator"] - }, - { - "description": "core:menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-app-menu"] - }, - { - "description": "core:menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-help-menu-for-nsapp"] - }, - { - "description": "core:menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-window-menu"] - }, - { - "description": "core:menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-as-windows-menu-for-nsapp"] - }, - { - "description": "core:menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-checked"] - }, - { - "description": "core:menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-enabled"] - }, - { - "description": "core:menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-icon"] - }, - { - "description": "core:menu:deny-set-text -> Denies the set_text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-set-text"] - }, - { - "description": "core:menu:deny-text -> Denies the text command without any pre-configured scope.", - "type": "string", - "enum": ["core:menu:deny-text"] - }, - { - "description": "core:path:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:path:default"] - }, - { - "description": "core:path:allow-basename -> Enables the basename command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-basename"] - }, - { - "description": "core:path:allow-dirname -> Enables the dirname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-dirname"] - }, - { - "description": "core:path:allow-extname -> Enables the extname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-extname"] - }, - { - "description": "core:path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-is-absolute"] - }, - { - "description": "core:path:allow-join -> Enables the join command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-join"] - }, - { - "description": "core:path:allow-normalize -> Enables the normalize command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-normalize"] - }, - { - "description": "core:path:allow-resolve -> Enables the resolve command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-resolve"] - }, - { - "description": "core:path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:allow-resolve-directory"] - }, - { - "description": "core:path:deny-basename -> Denies the basename command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-basename"] - }, - { - "description": "core:path:deny-dirname -> Denies the dirname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-dirname"] - }, - { - "description": "core:path:deny-extname -> Denies the extname command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-extname"] - }, - { - "description": "core:path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-is-absolute"] - }, - { - "description": "core:path:deny-join -> Denies the join command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-join"] - }, - { - "description": "core:path:deny-normalize -> Denies the normalize command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-normalize"] - }, - { - "description": "core:path:deny-resolve -> Denies the resolve command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-resolve"] - }, - { - "description": "core:path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.", - "type": "string", - "enum": ["core:path:deny-resolve-directory"] - }, - { - "description": "core:resources:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:resources:default"] - }, - { - "description": "core:resources:allow-close -> Enables the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:resources:allow-close"] - }, - { - "description": "core:resources:deny-close -> Denies the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:resources:deny-close"] - }, - { - "description": "core:tray:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:tray:default"] - }, - { - "description": "core:tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-get-by-id"] - }, - { - "description": "core:tray:allow-new -> Enables the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-new"] - }, - { - "description": "core:tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-remove-by-id"] - }, - { - "description": "core:tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-icon"] - }, - { - "description": "core:tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-icon-as-template"] - }, - { - "description": "core:tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-menu"] - }, - { - "description": "core:tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-show-menu-on-left-click"] - }, - { - "description": "core:tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-temp-dir-path"] - }, - { - "description": "core:tray:allow-set-title -> Enables the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-title"] - }, - { - "description": "core:tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-tooltip"] - }, - { - "description": "core:tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:allow-set-visible"] - }, - { - "description": "core:tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-get-by-id"] - }, - { - "description": "core:tray:deny-new -> Denies the new command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-new"] - }, - { - "description": "core:tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-remove-by-id"] - }, - { - "description": "core:tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-icon"] - }, - { - "description": "core:tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-icon-as-template"] - }, - { - "description": "core:tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-menu"] - }, - { - "description": "core:tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-show-menu-on-left-click"] - }, - { - "description": "core:tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-temp-dir-path"] - }, - { - "description": "core:tray:deny-set-title -> Denies the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-title"] - }, - { - "description": "core:tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-tooltip"] - }, - { - "description": "core:tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:tray:deny-set-visible"] - }, - { - "description": "core:webview:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:webview:default"] - }, - { - "description": "core:webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-create-webview"] - }, - { - "description": "core:webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-create-webview-window"] - }, - { - "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-get-all-webviews"] - }, - { - "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-internal-toggle-devtools"] - }, - { - "description": "core:webview:allow-print -> Enables the print command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-print"] - }, - { - "description": "core:webview:allow-reparent -> Enables the reparent command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-reparent"] - }, - { - "description": "core:webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-focus"] - }, - { - "description": "core:webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-position"] - }, - { - "description": "core:webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-size"] - }, - { - "description": "core:webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-set-webview-zoom"] - }, - { - "description": "core:webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-webview-close"] - }, - { - "description": "core:webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-webview-position"] - }, - { - "description": "core:webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:allow-webview-size"] - }, - { - "description": "core:webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-create-webview"] - }, - { - "description": "core:webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-create-webview-window"] - }, - { - "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-get-all-webviews"] - }, - { - "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-internal-toggle-devtools"] - }, - { - "description": "core:webview:deny-print -> Denies the print command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-print"] - }, - { - "description": "core:webview:deny-reparent -> Denies the reparent command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-reparent"] - }, - { - "description": "core:webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-focus"] - }, - { - "description": "core:webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-position"] - }, - { - "description": "core:webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-size"] - }, - { - "description": "core:webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-set-webview-zoom"] - }, - { - "description": "core:webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-webview-close"] - }, - { - "description": "core:webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-webview-position"] - }, - { - "description": "core:webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:webview:deny-webview-size"] - }, - { - "description": "core:window:default -> Default permissions for the plugin.", - "type": "string", - "enum": ["core:window:default"] - }, - { - "description": "core:window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-available-monitors"] - }, - { - "description": "core:window:allow-center -> Enables the center command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-center"] - }, - { - "description": "core:window:allow-close -> Enables the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-close"] - }, - { - "description": "core:window:allow-create -> Enables the create command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-create"] - }, - { - "description": "core:window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-current-monitor"] - }, - { - "description": "core:window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-cursor-position"] - }, - { - "description": "core:window:allow-destroy -> Enables the destroy command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-destroy"] - }, - { - "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-get-all-windows"] - }, - { - "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-hide"] - }, - { - "description": "core:window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-inner-position"] - }, - { - "description": "core:window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-inner-size"] - }, - { - "description": "core:window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-internal-toggle-maximize"] - }, - { - "description": "core:window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-closable"] - }, - { - "description": "core:window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-decorated"] - }, - { - "description": "core:window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-focused"] - }, - { - "description": "core:window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-fullscreen"] - }, - { - "description": "core:window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-maximizable"] - }, - { - "description": "core:window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-maximized"] - }, - { - "description": "core:window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-minimizable"] - }, - { - "description": "core:window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-minimized"] - }, - { - "description": "core:window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-resizable"] - }, - { - "description": "core:window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-is-visible"] - }, - { - "description": "core:window:allow-maximize -> Enables the maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-maximize"] - }, - { - "description": "core:window:allow-minimize -> Enables the minimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-minimize"] - }, - { - "description": "core:window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-monitor-from-point"] - }, - { - "description": "core:window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-outer-position"] - }, - { - "description": "core:window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-outer-size"] - }, - { - "description": "core:window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-primary-monitor"] - }, - { - "description": "core:window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-request-user-attention"] - }, - { - "description": "core:window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-scale-factor"] - }, - { - "description": "core:window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-always-on-bottom"] - }, - { - "description": "core:window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-always-on-top"] - }, - { - "description": "core:window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-closable"] - }, - { - "description": "core:window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-content-protected"] - }, - { - "description": "core:window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-grab"] - }, - { - "description": "core:window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-icon"] - }, - { - "description": "core:window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-position"] - }, - { - "description": "core:window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-cursor-visible"] - }, - { - "description": "core:window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-decorations"] - }, - { - "description": "core:window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-effects"] - }, - { - "description": "core:window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-focus"] - }, - { - "description": "core:window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-fullscreen"] - }, - { - "description": "core:window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-icon"] - }, - { - "description": "core:window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-ignore-cursor-events"] - }, - { - "description": "core:window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-max-size"] - }, - { - "description": "core:window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-maximizable"] - }, - { - "description": "core:window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-min-size"] - }, - { - "description": "core:window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-minimizable"] - }, - { - "description": "core:window:allow-set-position -> Enables the set_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-position"] - }, - { - "description": "core:window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-progress-bar"] - }, - { - "description": "core:window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-resizable"] - }, - { - "description": "core:window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-shadow"] - }, - { - "description": "core:window:allow-set-size -> Enables the set_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-size"] - }, - { - "description": "core:window:allow-set-size-constraints -> Enables the set_size_constraints command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-size-constraints"] - }, - { - "description": "core:window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-skip-taskbar"] - }, - { - "description": "core:window:allow-set-title -> Enables the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-title"] - }, - { - "description": "core:window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-title-bar-style"] - }, - { - "description": "core:window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-set-visible-on-all-workspaces"] - }, - { - "description": "core:window:allow-show -> Enables the show command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-show"] - }, - { - "description": "core:window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-start-dragging"] - }, - { - "description": "core:window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-start-resize-dragging"] - }, - { - "description": "core:window:allow-theme -> Enables the theme command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-theme"] - }, - { - "description": "core:window:allow-title -> Enables the title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-title"] - }, - { - "description": "core:window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-toggle-maximize"] - }, - { - "description": "core:window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-unmaximize"] - }, - { - "description": "core:window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:allow-unminimize"] - }, - { - "description": "core:window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-available-monitors"] - }, - { - "description": "core:window:deny-center -> Denies the center command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-center"] - }, - { - "description": "core:window:deny-close -> Denies the close command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-close"] - }, - { - "description": "core:window:deny-create -> Denies the create command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-create"] - }, - { - "description": "core:window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-current-monitor"] - }, - { - "description": "core:window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-cursor-position"] - }, - { - "description": "core:window:deny-destroy -> Denies the destroy command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-destroy"] - }, - { - "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-get-all-windows"] - }, - { - "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-hide"] - }, - { - "description": "core:window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-inner-position"] - }, - { - "description": "core:window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-inner-size"] - }, - { - "description": "core:window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-internal-toggle-maximize"] - }, - { - "description": "core:window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-closable"] - }, - { - "description": "core:window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-decorated"] - }, - { - "description": "core:window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-focused"] - }, - { - "description": "core:window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-fullscreen"] - }, - { - "description": "core:window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-maximizable"] - }, - { - "description": "core:window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-maximized"] - }, - { - "description": "core:window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-minimizable"] - }, - { - "description": "core:window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-minimized"] - }, - { - "description": "core:window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-resizable"] - }, - { - "description": "core:window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-is-visible"] - }, - { - "description": "core:window:deny-maximize -> Denies the maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-maximize"] - }, - { - "description": "core:window:deny-minimize -> Denies the minimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-minimize"] - }, - { - "description": "core:window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-monitor-from-point"] - }, - { - "description": "core:window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-outer-position"] - }, - { - "description": "core:window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-outer-size"] - }, - { - "description": "core:window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-primary-monitor"] - }, - { - "description": "core:window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-request-user-attention"] - }, - { - "description": "core:window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-scale-factor"] - }, - { - "description": "core:window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-always-on-bottom"] - }, - { - "description": "core:window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-always-on-top"] - }, - { - "description": "core:window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-closable"] - }, - { - "description": "core:window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-content-protected"] - }, - { - "description": "core:window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-grab"] - }, - { - "description": "core:window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-icon"] - }, - { - "description": "core:window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-position"] - }, - { - "description": "core:window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-cursor-visible"] - }, - { - "description": "core:window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-decorations"] - }, - { - "description": "core:window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-effects"] - }, - { - "description": "core:window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-focus"] - }, - { - "description": "core:window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-fullscreen"] - }, - { - "description": "core:window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-icon"] - }, - { - "description": "core:window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-ignore-cursor-events"] - }, - { - "description": "core:window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-max-size"] - }, - { - "description": "core:window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-maximizable"] - }, - { - "description": "core:window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-min-size"] - }, - { - "description": "core:window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-minimizable"] - }, - { - "description": "core:window:deny-set-position -> Denies the set_position command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-position"] - }, - { - "description": "core:window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-progress-bar"] - }, - { - "description": "core:window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-resizable"] - }, - { - "description": "core:window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-shadow"] - }, - { - "description": "core:window:deny-set-size -> Denies the set_size command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-size"] - }, - { - "description": "core:window:deny-set-size-constraints -> Denies the set_size_constraints command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-size-constraints"] - }, - { - "description": "core:window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-skip-taskbar"] - }, - { - "description": "core:window:deny-set-title -> Denies the set_title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-title"] - }, - { - "description": "core:window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-title-bar-style"] - }, - { - "description": "core:window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-set-visible-on-all-workspaces"] - }, - { - "description": "core:window:deny-show -> Denies the show command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-show"] - }, - { - "description": "core:window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-start-dragging"] - }, - { - "description": "core:window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-start-resize-dragging"] - }, - { - "description": "core:window:deny-theme -> Denies the theme command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-theme"] - }, - { - "description": "core:window:deny-title -> Denies the title command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-title"] - }, - { - "description": "core:window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-toggle-maximize"] - }, - { - "description": "core:window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-unmaximize"] - }, - { - "description": "core:window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.", - "type": "string", - "enum": ["core:window:deny-unminimize"] - }, - { - "description": "dialog:default -> This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n", - "type": "string", - "enum": ["dialog:default"] - }, - { - "description": "dialog:allow-ask -> Enables the ask command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-ask"] - }, - { - "description": "dialog:allow-confirm -> Enables the confirm command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-confirm"] - }, - { - "description": "dialog:allow-message -> Enables the message command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-message"] - }, - { - "description": "dialog:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-open"] - }, - { - "description": "dialog:allow-save -> Enables the save command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:allow-save"] - }, - { - "description": "dialog:deny-ask -> Denies the ask command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-ask"] - }, - { - "description": "dialog:deny-confirm -> Denies the confirm command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-confirm"] - }, - { - "description": "dialog:deny-message -> Denies the message command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-message"] - }, - { - "description": "dialog:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-open"] - }, - { - "description": "dialog:deny-save -> Denies the save command without any pre-configured scope.", - "type": "string", - "enum": ["dialog:deny-save"] - }, - { - "description": "fs:allow-app-meta -> This allows non-recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta"] - }, - { - "description": "fs:allow-app-meta-recursive -> This allows full recursive read access to metadata of the `$APP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-app-meta-recursive"] - }, - { - "description": "fs:allow-app-read -> This allows non-recursive read access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-read"] - }, - { - "description": "fs:allow-app-read-recursive -> This allows full recursive read access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-read-recursive"] - }, - { - "description": "fs:allow-app-write -> This allows non-recursive write access to the `$APP` folder.", - "type": "string", - "enum": ["fs:allow-app-write"] - }, - { - "description": "fs:allow-app-write-recursive -> This allows full recursive write access to the complete `$APP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-app-write-recursive"] - }, - { - "description": "fs:allow-appcache-meta -> This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta"] - }, - { - "description": "fs:allow-appcache-meta-recursive -> This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appcache-meta-recursive"] - }, - { - "description": "fs:allow-appcache-read -> This allows non-recursive read access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-read"] - }, - { - "description": "fs:allow-appcache-read-recursive -> This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-read-recursive"] - }, - { - "description": "fs:allow-appcache-write -> This allows non-recursive write access to the `$APPCACHE` folder.", - "type": "string", - "enum": ["fs:allow-appcache-write"] - }, - { - "description": "fs:allow-appcache-write-recursive -> This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appcache-write-recursive"] - }, - { - "description": "fs:allow-appconfig-meta -> This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta"] - }, - { - "description": "fs:allow-appconfig-meta-recursive -> This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appconfig-meta-recursive"] - }, - { - "description": "fs:allow-appconfig-read -> This allows non-recursive read access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-read"] - }, - { - "description": "fs:allow-appconfig-read-recursive -> This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-read-recursive"] - }, - { - "description": "fs:allow-appconfig-write -> This allows non-recursive write access to the `$APPCONFIG` folder.", - "type": "string", - "enum": ["fs:allow-appconfig-write"] - }, - { - "description": "fs:allow-appconfig-write-recursive -> This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appconfig-write-recursive"] - }, - { - "description": "fs:allow-appdata-meta -> This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta"] - }, - { - "description": "fs:allow-appdata-meta-recursive -> This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-appdata-meta-recursive"] - }, - { - "description": "fs:allow-appdata-read -> This allows non-recursive read access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-read"] - }, - { - "description": "fs:allow-appdata-read-recursive -> This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-read-recursive"] - }, - { - "description": "fs:allow-appdata-write -> This allows non-recursive write access to the `$APPDATA` folder.", - "type": "string", - "enum": ["fs:allow-appdata-write"] - }, - { - "description": "fs:allow-appdata-write-recursive -> This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-appdata-write-recursive"] - }, - { - "description": "fs:allow-applocaldata-meta -> This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta"] - }, - { - "description": "fs:allow-applocaldata-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applocaldata-meta-recursive"] - }, - { - "description": "fs:allow-applocaldata-read -> This allows non-recursive read access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-read"] - }, - { - "description": "fs:allow-applocaldata-read-recursive -> This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-read-recursive"] - }, - { - "description": "fs:allow-applocaldata-write -> This allows non-recursive write access to the `$APPLOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-applocaldata-write"] - }, - { - "description": "fs:allow-applocaldata-write-recursive -> This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applocaldata-write-recursive"] - }, - { - "description": "fs:allow-applog-meta -> This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta"] - }, - { - "description": "fs:allow-applog-meta-recursive -> This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-applog-meta-recursive"] - }, - { - "description": "fs:allow-applog-read -> This allows non-recursive read access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-read"] - }, - { - "description": "fs:allow-applog-read-recursive -> This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-read-recursive"] - }, - { - "description": "fs:allow-applog-write -> This allows non-recursive write access to the `$APPLOG` folder.", - "type": "string", - "enum": ["fs:allow-applog-write"] - }, - { - "description": "fs:allow-applog-write-recursive -> This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-applog-write-recursive"] - }, - { - "description": "fs:allow-audio-meta -> This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta"] - }, - { - "description": "fs:allow-audio-meta-recursive -> This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-audio-meta-recursive"] - }, - { - "description": "fs:allow-audio-read -> This allows non-recursive read access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-read"] - }, - { - "description": "fs:allow-audio-read-recursive -> This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-read-recursive"] - }, - { - "description": "fs:allow-audio-write -> This allows non-recursive write access to the `$AUDIO` folder.", - "type": "string", - "enum": ["fs:allow-audio-write"] - }, - { - "description": "fs:allow-audio-write-recursive -> This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-audio-write-recursive"] - }, - { - "description": "fs:allow-cache-meta -> This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta"] - }, - { - "description": "fs:allow-cache-meta-recursive -> This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-cache-meta-recursive"] - }, - { - "description": "fs:allow-cache-read -> This allows non-recursive read access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-read"] - }, - { - "description": "fs:allow-cache-read-recursive -> This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-read-recursive"] - }, - { - "description": "fs:allow-cache-write -> This allows non-recursive write access to the `$CACHE` folder.", - "type": "string", - "enum": ["fs:allow-cache-write"] - }, - { - "description": "fs:allow-cache-write-recursive -> This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-cache-write-recursive"] - }, - { - "description": "fs:allow-config-meta -> This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta"] - }, - { - "description": "fs:allow-config-meta-recursive -> This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-config-meta-recursive"] - }, - { - "description": "fs:allow-config-read -> This allows non-recursive read access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-read"] - }, - { - "description": "fs:allow-config-read-recursive -> This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-read-recursive"] - }, - { - "description": "fs:allow-config-write -> This allows non-recursive write access to the `$CONFIG` folder.", - "type": "string", - "enum": ["fs:allow-config-write"] - }, - { - "description": "fs:allow-config-write-recursive -> This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-config-write-recursive"] - }, - { - "description": "fs:allow-data-meta -> This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta"] - }, - { - "description": "fs:allow-data-meta-recursive -> This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-data-meta-recursive"] - }, - { - "description": "fs:allow-data-read -> This allows non-recursive read access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-read"] - }, - { - "description": "fs:allow-data-read-recursive -> This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-read-recursive"] - }, - { - "description": "fs:allow-data-write -> This allows non-recursive write access to the `$DATA` folder.", - "type": "string", - "enum": ["fs:allow-data-write"] - }, - { - "description": "fs:allow-data-write-recursive -> This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-data-write-recursive"] - }, - { - "description": "fs:allow-desktop-meta -> This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta"] - }, - { - "description": "fs:allow-desktop-meta-recursive -> This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-desktop-meta-recursive"] - }, - { - "description": "fs:allow-desktop-read -> This allows non-recursive read access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-read"] - }, - { - "description": "fs:allow-desktop-read-recursive -> This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-read-recursive"] - }, - { - "description": "fs:allow-desktop-write -> This allows non-recursive write access to the `$DESKTOP` folder.", - "type": "string", - "enum": ["fs:allow-desktop-write"] - }, - { - "description": "fs:allow-desktop-write-recursive -> This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-desktop-write-recursive"] - }, - { - "description": "fs:allow-document-meta -> This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta"] - }, - { - "description": "fs:allow-document-meta-recursive -> This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-document-meta-recursive"] - }, - { - "description": "fs:allow-document-read -> This allows non-recursive read access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-read"] - }, - { - "description": "fs:allow-document-read-recursive -> This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-read-recursive"] - }, - { - "description": "fs:allow-document-write -> This allows non-recursive write access to the `$DOCUMENT` folder.", - "type": "string", - "enum": ["fs:allow-document-write"] - }, - { - "description": "fs:allow-document-write-recursive -> This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-document-write-recursive"] - }, - { - "description": "fs:allow-download-meta -> This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta"] - }, - { - "description": "fs:allow-download-meta-recursive -> This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-download-meta-recursive"] - }, - { - "description": "fs:allow-download-read -> This allows non-recursive read access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-read"] - }, - { - "description": "fs:allow-download-read-recursive -> This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-read-recursive"] - }, - { - "description": "fs:allow-download-write -> This allows non-recursive write access to the `$DOWNLOAD` folder.", - "type": "string", - "enum": ["fs:allow-download-write"] - }, - { - "description": "fs:allow-download-write-recursive -> This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-download-write-recursive"] - }, - { - "description": "fs:allow-exe-meta -> This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta"] - }, - { - "description": "fs:allow-exe-meta-recursive -> This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-exe-meta-recursive"] - }, - { - "description": "fs:allow-exe-read -> This allows non-recursive read access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-read"] - }, - { - "description": "fs:allow-exe-read-recursive -> This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-read-recursive"] - }, - { - "description": "fs:allow-exe-write -> This allows non-recursive write access to the `$EXE` folder.", - "type": "string", - "enum": ["fs:allow-exe-write"] - }, - { - "description": "fs:allow-exe-write-recursive -> This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-exe-write-recursive"] - }, - { - "description": "fs:allow-font-meta -> This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta"] - }, - { - "description": "fs:allow-font-meta-recursive -> This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-font-meta-recursive"] - }, - { - "description": "fs:allow-font-read -> This allows non-recursive read access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-read"] - }, - { - "description": "fs:allow-font-read-recursive -> This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-read-recursive"] - }, - { - "description": "fs:allow-font-write -> This allows non-recursive write access to the `$FONT` folder.", - "type": "string", - "enum": ["fs:allow-font-write"] - }, - { - "description": "fs:allow-font-write-recursive -> This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-font-write-recursive"] - }, - { - "description": "fs:allow-home-meta -> This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta"] - }, - { - "description": "fs:allow-home-meta-recursive -> This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-home-meta-recursive"] - }, - { - "description": "fs:allow-home-read -> This allows non-recursive read access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-read"] - }, - { - "description": "fs:allow-home-read-recursive -> This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-read-recursive"] - }, - { - "description": "fs:allow-home-write -> This allows non-recursive write access to the `$HOME` folder.", - "type": "string", - "enum": ["fs:allow-home-write"] - }, - { - "description": "fs:allow-home-write-recursive -> This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-home-write-recursive"] - }, - { - "description": "fs:allow-localdata-meta -> This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta"] - }, - { - "description": "fs:allow-localdata-meta-recursive -> This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-localdata-meta-recursive"] - }, - { - "description": "fs:allow-localdata-read -> This allows non-recursive read access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-read"] - }, - { - "description": "fs:allow-localdata-read-recursive -> This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-read-recursive"] - }, - { - "description": "fs:allow-localdata-write -> This allows non-recursive write access to the `$LOCALDATA` folder.", - "type": "string", - "enum": ["fs:allow-localdata-write"] - }, - { - "description": "fs:allow-localdata-write-recursive -> This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-localdata-write-recursive"] - }, - { - "description": "fs:allow-log-meta -> This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta"] - }, - { - "description": "fs:allow-log-meta-recursive -> This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-log-meta-recursive"] - }, - { - "description": "fs:allow-log-read -> This allows non-recursive read access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-read"] - }, - { - "description": "fs:allow-log-read-recursive -> This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-read-recursive"] - }, - { - "description": "fs:allow-log-write -> This allows non-recursive write access to the `$LOG` folder.", - "type": "string", - "enum": ["fs:allow-log-write"] - }, - { - "description": "fs:allow-log-write-recursive -> This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-log-write-recursive"] - }, - { - "description": "fs:allow-picture-meta -> This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta"] - }, - { - "description": "fs:allow-picture-meta-recursive -> This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-picture-meta-recursive"] - }, - { - "description": "fs:allow-picture-read -> This allows non-recursive read access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-read"] - }, - { - "description": "fs:allow-picture-read-recursive -> This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-read-recursive"] - }, - { - "description": "fs:allow-picture-write -> This allows non-recursive write access to the `$PICTURE` folder.", - "type": "string", - "enum": ["fs:allow-picture-write"] - }, - { - "description": "fs:allow-picture-write-recursive -> This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-picture-write-recursive"] - }, - { - "description": "fs:allow-public-meta -> This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta"] - }, - { - "description": "fs:allow-public-meta-recursive -> This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-public-meta-recursive"] - }, - { - "description": "fs:allow-public-read -> This allows non-recursive read access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-read"] - }, - { - "description": "fs:allow-public-read-recursive -> This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-read-recursive"] - }, - { - "description": "fs:allow-public-write -> This allows non-recursive write access to the `$PUBLIC` folder.", - "type": "string", - "enum": ["fs:allow-public-write"] - }, - { - "description": "fs:allow-public-write-recursive -> This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-public-write-recursive"] - }, - { - "description": "fs:allow-resource-meta -> This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta"] - }, - { - "description": "fs:allow-resource-meta-recursive -> This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-resource-meta-recursive"] - }, - { - "description": "fs:allow-resource-read -> This allows non-recursive read access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-read"] - }, - { - "description": "fs:allow-resource-read-recursive -> This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-read-recursive"] - }, - { - "description": "fs:allow-resource-write -> This allows non-recursive write access to the `$RESOURCE` folder.", - "type": "string", - "enum": ["fs:allow-resource-write"] - }, - { - "description": "fs:allow-resource-write-recursive -> This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-resource-write-recursive"] - }, - { - "description": "fs:allow-runtime-meta -> This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta"] - }, - { - "description": "fs:allow-runtime-meta-recursive -> This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-runtime-meta-recursive"] - }, - { - "description": "fs:allow-runtime-read -> This allows non-recursive read access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-read"] - }, - { - "description": "fs:allow-runtime-read-recursive -> This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-read-recursive"] - }, - { - "description": "fs:allow-runtime-write -> This allows non-recursive write access to the `$RUNTIME` folder.", - "type": "string", - "enum": ["fs:allow-runtime-write"] - }, - { - "description": "fs:allow-runtime-write-recursive -> This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-runtime-write-recursive"] - }, - { - "description": "fs:allow-temp-meta -> This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta"] - }, - { - "description": "fs:allow-temp-meta-recursive -> This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-temp-meta-recursive"] - }, - { - "description": "fs:allow-temp-read -> This allows non-recursive read access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-read"] - }, - { - "description": "fs:allow-temp-read-recursive -> This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-read-recursive"] - }, - { - "description": "fs:allow-temp-write -> This allows non-recursive write access to the `$TEMP` folder.", - "type": "string", - "enum": ["fs:allow-temp-write"] - }, - { - "description": "fs:allow-temp-write-recursive -> This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-temp-write-recursive"] - }, - { - "description": "fs:allow-template-meta -> This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta"] - }, - { - "description": "fs:allow-template-meta-recursive -> This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-template-meta-recursive"] - }, - { - "description": "fs:allow-template-read -> This allows non-recursive read access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-read"] - }, - { - "description": "fs:allow-template-read-recursive -> This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-read-recursive"] - }, - { - "description": "fs:allow-template-write -> This allows non-recursive write access to the `$TEMPLATE` folder.", - "type": "string", - "enum": ["fs:allow-template-write"] - }, - { - "description": "fs:allow-template-write-recursive -> This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-template-write-recursive"] - }, - { - "description": "fs:allow-video-meta -> This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta"] - }, - { - "description": "fs:allow-video-meta-recursive -> This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.", - "type": "string", - "enum": ["fs:allow-video-meta-recursive"] - }, - { - "description": "fs:allow-video-read -> This allows non-recursive read access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-read"] - }, - { - "description": "fs:allow-video-read-recursive -> This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-read-recursive"] - }, - { - "description": "fs:allow-video-write -> This allows non-recursive write access to the `$VIDEO` folder.", - "type": "string", - "enum": ["fs:allow-video-write"] - }, - { - "description": "fs:allow-video-write-recursive -> This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.", - "type": "string", - "enum": ["fs:allow-video-write-recursive"] - }, - { - "description": "fs:deny-default -> This denies access to dangerous Tauri relevant files and folders by default.", - "type": "string", - "enum": ["fs:deny-default"] - }, - { - "description": "fs:default -> This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\nOn Windows the webview data folder access is denied.\n\n", - "type": "string", - "enum": ["fs:default"] - }, - { - "description": "fs:allow-copy-file -> Enables the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-copy-file"] - }, - { - "description": "fs:allow-create -> Enables the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-create"] - }, - { - "description": "fs:allow-exists -> Enables the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-exists"] - }, - { - "description": "fs:allow-fstat -> Enables the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-fstat"] - }, - { - "description": "fs:allow-ftruncate -> Enables the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-ftruncate"] - }, - { - "description": "fs:allow-lstat -> Enables the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-lstat"] - }, - { - "description": "fs:allow-mkdir -> Enables the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-mkdir"] - }, - { - "description": "fs:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-open"] - }, - { - "description": "fs:allow-read -> Enables the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read"] - }, - { - "description": "fs:allow-read-dir -> Enables the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-dir"] - }, - { - "description": "fs:allow-read-file -> Enables the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-file"] - }, - { - "description": "fs:allow-read-text-file -> Enables the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file"] - }, - { - "description": "fs:allow-read-text-file-lines -> Enables the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines"] - }, - { - "description": "fs:allow-read-text-file-lines-next -> Enables the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-read-text-file-lines-next"] - }, - { - "description": "fs:allow-remove -> Enables the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-remove"] - }, - { - "description": "fs:allow-rename -> Enables the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-rename"] - }, - { - "description": "fs:allow-seek -> Enables the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-seek"] - }, - { - "description": "fs:allow-stat -> Enables the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-stat"] - }, - { - "description": "fs:allow-truncate -> Enables the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-truncate"] - }, - { - "description": "fs:allow-unwatch -> Enables the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-unwatch"] - }, - { - "description": "fs:allow-watch -> Enables the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-watch"] - }, - { - "description": "fs:allow-write -> Enables the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write"] - }, - { - "description": "fs:allow-write-file -> Enables the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-file"] - }, - { - "description": "fs:allow-write-text-file -> Enables the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:allow-write-text-file"] - }, - { - "description": "fs:create-app-specific-dirs -> This permissions allows to create the application specific directories.\n", - "type": "string", - "enum": ["fs:create-app-specific-dirs"] - }, - { - "description": "fs:deny-copy-file -> Denies the copy_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-copy-file"] - }, - { - "description": "fs:deny-create -> Denies the create command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-create"] - }, - { - "description": "fs:deny-exists -> Denies the exists command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-exists"] - }, - { - "description": "fs:deny-fstat -> Denies the fstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-fstat"] - }, - { - "description": "fs:deny-ftruncate -> Denies the ftruncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-ftruncate"] - }, - { - "description": "fs:deny-lstat -> Denies the lstat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-lstat"] - }, - { - "description": "fs:deny-mkdir -> Denies the mkdir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-mkdir"] - }, - { - "description": "fs:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-open"] - }, - { - "description": "fs:deny-read -> Denies the read command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read"] - }, - { - "description": "fs:deny-read-dir -> Denies the read_dir command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-dir"] - }, - { - "description": "fs:deny-read-file -> Denies the read_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-file"] - }, - { - "description": "fs:deny-read-text-file -> Denies the read_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file"] - }, - { - "description": "fs:deny-read-text-file-lines -> Denies the read_text_file_lines command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines"] - }, - { - "description": "fs:deny-read-text-file-lines-next -> Denies the read_text_file_lines_next command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-read-text-file-lines-next"] - }, - { - "description": "fs:deny-remove -> Denies the remove command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-remove"] - }, - { - "description": "fs:deny-rename -> Denies the rename command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-rename"] - }, - { - "description": "fs:deny-seek -> Denies the seek command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-seek"] - }, - { - "description": "fs:deny-stat -> Denies the stat command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-stat"] - }, - { - "description": "fs:deny-truncate -> Denies the truncate command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-truncate"] - }, - { - "description": "fs:deny-unwatch -> Denies the unwatch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-unwatch"] - }, - { - "description": "fs:deny-watch -> Denies the watch command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-watch"] - }, - { - "description": "fs:deny-webview-data-linux -> This denies read access to the\n`$APPLOCALDATA` folder on linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-linux"] - }, - { - "description": "fs:deny-webview-data-windows -> This denies read access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.", - "type": "string", - "enum": ["fs:deny-webview-data-windows"] - }, - { - "description": "fs:deny-write -> Denies the write command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write"] - }, - { - "description": "fs:deny-write-file -> Denies the write_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-file"] - }, - { - "description": "fs:deny-write-text-file -> Denies the write_text_file command without any pre-configured scope.", - "type": "string", - "enum": ["fs:deny-write-text-file"] - }, - { - "description": "fs:read-all -> This enables all read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-all"] - }, - { - "description": "fs:read-app-specific-dirs-recursive -> This permission allows recursive read functionality on the application\nspecific base directories. \n", - "type": "string", - "enum": ["fs:read-app-specific-dirs-recursive"] - }, - { - "description": "fs:read-dirs -> This enables directory read and file metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-dirs"] - }, - { - "description": "fs:read-files -> This enables file read related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-files"] - }, - { - "description": "fs:read-meta -> This enables all index or metadata related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:read-meta"] - }, - { - "description": "fs:scope -> An empty permission you can use to modify the global scope.", - "type": "string", - "enum": ["fs:scope"] - }, - { - "description": "fs:scope-app -> This scope permits access to all files and list content of top level directories in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app"] - }, - { - "description": "fs:scope-app-index -> This scope permits to list all files and folders in the `$APP`folder.", - "type": "string", - "enum": ["fs:scope-app-index"] - }, - { - "description": "fs:scope-app-recursive -> This scope permits recursive access to the complete `$APP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-app-recursive"] - }, - { - "description": "fs:scope-appcache -> This scope permits access to all files and list content of top level directories in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache"] - }, - { - "description": "fs:scope-appcache-index -> This scope permits to list all files and folders in the `$APPCACHE`folder.", - "type": "string", - "enum": ["fs:scope-appcache-index"] - }, - { - "description": "fs:scope-appcache-recursive -> This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appcache-recursive"] - }, - { - "description": "fs:scope-appconfig -> This scope permits access to all files and list content of top level directories in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig"] - }, - { - "description": "fs:scope-appconfig-index -> This scope permits to list all files and folders in the `$APPCONFIG`folder.", - "type": "string", - "enum": ["fs:scope-appconfig-index"] - }, - { - "description": "fs:scope-appconfig-recursive -> This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appconfig-recursive"] - }, - { - "description": "fs:scope-appdata -> This scope permits access to all files and list content of top level directories in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata"] - }, - { - "description": "fs:scope-appdata-index -> This scope permits to list all files and folders in the `$APPDATA`folder.", - "type": "string", - "enum": ["fs:scope-appdata-index"] - }, - { - "description": "fs:scope-appdata-recursive -> This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-appdata-recursive"] - }, - { - "description": "fs:scope-applocaldata -> This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata"] - }, - { - "description": "fs:scope-applocaldata-index -> This scope permits to list all files and folders in the `$APPLOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-applocaldata-index"] - }, - { - "description": "fs:scope-applocaldata-recursive -> This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applocaldata-recursive"] - }, - { - "description": "fs:scope-applog -> This scope permits access to all files and list content of top level directories in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog"] - }, - { - "description": "fs:scope-applog-index -> This scope permits to list all files and folders in the `$APPLOG`folder.", - "type": "string", - "enum": ["fs:scope-applog-index"] - }, - { - "description": "fs:scope-applog-recursive -> This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-applog-recursive"] - }, - { - "description": "fs:scope-audio -> This scope permits access to all files and list content of top level directories in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio"] - }, - { - "description": "fs:scope-audio-index -> This scope permits to list all files and folders in the `$AUDIO`folder.", - "type": "string", - "enum": ["fs:scope-audio-index"] - }, - { - "description": "fs:scope-audio-recursive -> This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-audio-recursive"] - }, - { - "description": "fs:scope-cache -> This scope permits access to all files and list content of top level directories in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache"] - }, - { - "description": "fs:scope-cache-index -> This scope permits to list all files and folders in the `$CACHE`folder.", - "type": "string", - "enum": ["fs:scope-cache-index"] - }, - { - "description": "fs:scope-cache-recursive -> This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-cache-recursive"] - }, - { - "description": "fs:scope-config -> This scope permits access to all files and list content of top level directories in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config"] - }, - { - "description": "fs:scope-config-index -> This scope permits to list all files and folders in the `$CONFIG`folder.", - "type": "string", - "enum": ["fs:scope-config-index"] - }, - { - "description": "fs:scope-config-recursive -> This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-config-recursive"] - }, - { - "description": "fs:scope-data -> This scope permits access to all files and list content of top level directories in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data"] - }, - { - "description": "fs:scope-data-index -> This scope permits to list all files and folders in the `$DATA`folder.", - "type": "string", - "enum": ["fs:scope-data-index"] - }, - { - "description": "fs:scope-data-recursive -> This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-data-recursive"] - }, - { - "description": "fs:scope-desktop -> This scope permits access to all files and list content of top level directories in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop"] - }, - { - "description": "fs:scope-desktop-index -> This scope permits to list all files and folders in the `$DESKTOP`folder.", - "type": "string", - "enum": ["fs:scope-desktop-index"] - }, - { - "description": "fs:scope-desktop-recursive -> This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-desktop-recursive"] - }, - { - "description": "fs:scope-document -> This scope permits access to all files and list content of top level directories in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document"] - }, - { - "description": "fs:scope-document-index -> This scope permits to list all files and folders in the `$DOCUMENT`folder.", - "type": "string", - "enum": ["fs:scope-document-index"] - }, - { - "description": "fs:scope-document-recursive -> This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-document-recursive"] - }, - { - "description": "fs:scope-download -> This scope permits access to all files and list content of top level directories in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download"] - }, - { - "description": "fs:scope-download-index -> This scope permits to list all files and folders in the `$DOWNLOAD`folder.", - "type": "string", - "enum": ["fs:scope-download-index"] - }, - { - "description": "fs:scope-download-recursive -> This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-download-recursive"] - }, - { - "description": "fs:scope-exe -> This scope permits access to all files and list content of top level directories in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe"] - }, - { - "description": "fs:scope-exe-index -> This scope permits to list all files and folders in the `$EXE`folder.", - "type": "string", - "enum": ["fs:scope-exe-index"] - }, - { - "description": "fs:scope-exe-recursive -> This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-exe-recursive"] - }, - { - "description": "fs:scope-font -> This scope permits access to all files and list content of top level directories in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font"] - }, - { - "description": "fs:scope-font-index -> This scope permits to list all files and folders in the `$FONT`folder.", - "type": "string", - "enum": ["fs:scope-font-index"] - }, - { - "description": "fs:scope-font-recursive -> This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-font-recursive"] - }, - { - "description": "fs:scope-home -> This scope permits access to all files and list content of top level directories in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home"] - }, - { - "description": "fs:scope-home-index -> This scope permits to list all files and folders in the `$HOME`folder.", - "type": "string", - "enum": ["fs:scope-home-index"] - }, - { - "description": "fs:scope-home-recursive -> This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-home-recursive"] - }, - { - "description": "fs:scope-localdata -> This scope permits access to all files and list content of top level directories in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata"] - }, - { - "description": "fs:scope-localdata-index -> This scope permits to list all files and folders in the `$LOCALDATA`folder.", - "type": "string", - "enum": ["fs:scope-localdata-index"] - }, - { - "description": "fs:scope-localdata-recursive -> This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-localdata-recursive"] - }, - { - "description": "fs:scope-log -> This scope permits access to all files and list content of top level directories in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log"] - }, - { - "description": "fs:scope-log-index -> This scope permits to list all files and folders in the `$LOG`folder.", - "type": "string", - "enum": ["fs:scope-log-index"] - }, - { - "description": "fs:scope-log-recursive -> This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-log-recursive"] - }, - { - "description": "fs:scope-picture -> This scope permits access to all files and list content of top level directories in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture"] - }, - { - "description": "fs:scope-picture-index -> This scope permits to list all files and folders in the `$PICTURE`folder.", - "type": "string", - "enum": ["fs:scope-picture-index"] - }, - { - "description": "fs:scope-picture-recursive -> This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-picture-recursive"] - }, - { - "description": "fs:scope-public -> This scope permits access to all files and list content of top level directories in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public"] - }, - { - "description": "fs:scope-public-index -> This scope permits to list all files and folders in the `$PUBLIC`folder.", - "type": "string", - "enum": ["fs:scope-public-index"] - }, - { - "description": "fs:scope-public-recursive -> This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-public-recursive"] - }, - { - "description": "fs:scope-resource -> This scope permits access to all files and list content of top level directories in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource"] - }, - { - "description": "fs:scope-resource-index -> This scope permits to list all files and folders in the `$RESOURCE`folder.", - "type": "string", - "enum": ["fs:scope-resource-index"] - }, - { - "description": "fs:scope-resource-recursive -> This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-resource-recursive"] - }, - { - "description": "fs:scope-runtime -> This scope permits access to all files and list content of top level directories in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime"] - }, - { - "description": "fs:scope-runtime-index -> This scope permits to list all files and folders in the `$RUNTIME`folder.", - "type": "string", - "enum": ["fs:scope-runtime-index"] - }, - { - "description": "fs:scope-runtime-recursive -> This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-runtime-recursive"] - }, - { - "description": "fs:scope-temp -> This scope permits access to all files and list content of top level directories in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp"] - }, - { - "description": "fs:scope-temp-index -> This scope permits to list all files and folders in the `$TEMP`folder.", - "type": "string", - "enum": ["fs:scope-temp-index"] - }, - { - "description": "fs:scope-temp-recursive -> This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-temp-recursive"] - }, - { - "description": "fs:scope-template -> This scope permits access to all files and list content of top level directories in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template"] - }, - { - "description": "fs:scope-template-index -> This scope permits to list all files and folders in the `$TEMPLATE`folder.", - "type": "string", - "enum": ["fs:scope-template-index"] - }, - { - "description": "fs:scope-template-recursive -> This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-template-recursive"] - }, - { - "description": "fs:scope-video -> This scope permits access to all files and list content of top level directories in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video"] - }, - { - "description": "fs:scope-video-index -> This scope permits to list all files and folders in the `$VIDEO`folder.", - "type": "string", - "enum": ["fs:scope-video-index"] - }, - { - "description": "fs:scope-video-recursive -> This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.", - "type": "string", - "enum": ["fs:scope-video-recursive"] - }, - { - "description": "fs:write-all -> This enables all write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-all"] - }, - { - "description": "fs:write-files -> This enables all file write related commands without any pre-configured accessible paths.", - "type": "string", - "enum": ["fs:write-files"] - }, - { - "description": "global-shortcut:default -> No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n", - "type": "string", - "enum": ["global-shortcut:default"] - }, - { - "description": "global-shortcut:allow-is-registered -> Enables the is_registered command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-is-registered"] - }, - { - "description": "global-shortcut:allow-register -> Enables the register command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-register"] - }, - { - "description": "global-shortcut:allow-register-all -> Enables the register_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-register-all"] - }, - { - "description": "global-shortcut:allow-unregister -> Enables the unregister command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-unregister"] - }, - { - "description": "global-shortcut:allow-unregister-all -> Enables the unregister_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:allow-unregister-all"] - }, - { - "description": "global-shortcut:deny-is-registered -> Denies the is_registered command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-is-registered"] - }, - { - "description": "global-shortcut:deny-register -> Denies the register command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-register"] - }, - { - "description": "global-shortcut:deny-register-all -> Denies the register_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-register-all"] - }, - { - "description": "global-shortcut:deny-unregister -> Denies the unregister command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-unregister"] - }, - { - "description": "global-shortcut:deny-unregister-all -> Denies the unregister_all command without any pre-configured scope.", - "type": "string", - "enum": ["global-shortcut:deny-unregister-all"] - }, - { - "description": "notification:default -> This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n", - "type": "string", - "enum": ["notification:default"] - }, - { - "description": "notification:allow-batch -> Enables the batch command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-batch"] - }, - { - "description": "notification:allow-cancel -> Enables the cancel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-cancel"] - }, - { - "description": "notification:allow-check-permissions -> Enables the check_permissions command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-check-permissions"] - }, - { - "description": "notification:allow-create-channel -> Enables the create_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-create-channel"] - }, - { - "description": "notification:allow-delete-channel -> Enables the delete_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-delete-channel"] - }, - { - "description": "notification:allow-get-active -> Enables the get_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-get-active"] - }, - { - "description": "notification:allow-get-pending -> Enables the get_pending command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-get-pending"] - }, - { - "description": "notification:allow-is-permission-granted -> Enables the is_permission_granted command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-is-permission-granted"] - }, - { - "description": "notification:allow-list-channels -> Enables the list_channels command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-list-channels"] - }, - { - "description": "notification:allow-notify -> Enables the notify command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-notify"] - }, - { - "description": "notification:allow-permission-state -> Enables the permission_state command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-permission-state"] - }, - { - "description": "notification:allow-register-action-types -> Enables the register_action_types command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-register-action-types"] - }, - { - "description": "notification:allow-register-listener -> Enables the register_listener command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-register-listener"] - }, - { - "description": "notification:allow-remove-active -> Enables the remove_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-remove-active"] - }, - { - "description": "notification:allow-request-permission -> Enables the request_permission command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-request-permission"] - }, - { - "description": "notification:allow-show -> Enables the show command without any pre-configured scope.", - "type": "string", - "enum": ["notification:allow-show"] - }, - { - "description": "notification:deny-batch -> Denies the batch command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-batch"] - }, - { - "description": "notification:deny-cancel -> Denies the cancel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-cancel"] - }, - { - "description": "notification:deny-check-permissions -> Denies the check_permissions command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-check-permissions"] - }, - { - "description": "notification:deny-create-channel -> Denies the create_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-create-channel"] - }, - { - "description": "notification:deny-delete-channel -> Denies the delete_channel command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-delete-channel"] - }, - { - "description": "notification:deny-get-active -> Denies the get_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-get-active"] - }, - { - "description": "notification:deny-get-pending -> Denies the get_pending command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-get-pending"] - }, - { - "description": "notification:deny-is-permission-granted -> Denies the is_permission_granted command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-is-permission-granted"] - }, - { - "description": "notification:deny-list-channels -> Denies the list_channels command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-list-channels"] - }, - { - "description": "notification:deny-notify -> Denies the notify command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-notify"] - }, - { - "description": "notification:deny-permission-state -> Denies the permission_state command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-permission-state"] - }, - { - "description": "notification:deny-register-action-types -> Denies the register_action_types command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-register-action-types"] - }, - { - "description": "notification:deny-register-listener -> Denies the register_listener command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-register-listener"] - }, - { - "description": "notification:deny-remove-active -> Denies the remove_active command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-remove-active"] - }, - { - "description": "notification:deny-request-permission -> Denies the request_permission command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-request-permission"] - }, - { - "description": "notification:deny-show -> Denies the show command without any pre-configured scope.", - "type": "string", - "enum": ["notification:deny-show"] - }, - { - "description": "process:default -> This permission set configures which\nprocess feeatures are by default exposed.\n\n#### Granted Permissions\n\nThis enables to quit via `allow-exit` and restart via `allow-restart`\nthe application.\n", - "type": "string", - "enum": ["process:default"] - }, - { - "description": "process:allow-exit -> Enables the exit command without any pre-configured scope.", - "type": "string", - "enum": ["process:allow-exit"] - }, - { - "description": "process:allow-restart -> Enables the restart command without any pre-configured scope.", - "type": "string", - "enum": ["process:allow-restart"] - }, - { - "description": "process:deny-exit -> Denies the exit command without any pre-configured scope.", - "type": "string", - "enum": ["process:deny-exit"] - }, - { - "description": "process:deny-restart -> Denies the restart command without any pre-configured scope.", - "type": "string", - "enum": ["process:deny-restart"] - }, - { - "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n", - "type": "string", - "enum": ["shell:default"] - }, - { - "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-execute"] - }, - { - "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-kill"] - }, - { - "description": "shell:allow-open -> Enables the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-open"] - }, - { - "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-spawn"] - }, - { - "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:allow-stdin-write"] - }, - { - "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-execute"] - }, - { - "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-kill"] - }, - { - "description": "shell:deny-open -> Denies the open command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-open"] - }, - { - "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-spawn"] - }, - { - "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "enum": ["shell:deny-stdin-write"] - }, - { - "description": "updater:default -> This permission set configures which kind of\nupdater functions are exposed to the frontend.\n\n#### Granted Permissions\n\nThe full workflow from checking for updates to installing them\nis enabled.\n\n", - "type": "string", - "enum": ["updater:default"] - }, - { - "description": "updater:allow-check -> Enables the check command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-check"] - }, - { - "description": "updater:allow-download -> Enables the download command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-download"] - }, - { - "description": "updater:allow-download-and-install -> Enables the download_and_install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-download-and-install"] - }, - { - "description": "updater:allow-install -> Enables the install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:allow-install"] - }, - { - "description": "updater:deny-check -> Denies the check command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-check"] - }, - { - "description": "updater:deny-download -> Denies the download command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-download"] - }, - { - "description": "updater:deny-download-and-install -> Denies the download_and_install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-download-and-install"] - }, - { - "description": "updater:deny-install -> Denies the install command without any pre-configured scope.", - "type": "string", - "enum": ["updater:deny-install"] - } - ] - }, - "Value": { - "description": "All supported ACL values.", - "anyOf": [ - { - "description": "Represents a null JSON value.", - "type": "null" - }, - { - "description": "Represents a [`bool`].", - "type": "boolean" - }, - { - "description": "Represents a valid ACL [`Number`].", - "allOf": [ - { - "$ref": "#/definitions/Number" - } - ] - }, - { - "description": "Represents a [`String`].", - "type": "string" - }, - { - "description": "Represents a list of other [`Value`]s.", - "type": "array", - "items": { - "$ref": "#/definitions/Value" - } - }, - { - "description": "Represents a map of [`String`] keys to [`Value`]s.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Value" - } - } - ] - }, - "Number": { - "description": "A valid ACL number.", - "anyOf": [ - { - "description": "Represents an [`i64`].", - "type": "integer", - "format": "int64" - }, - { - "description": "Represents a [`f64`].", - "type": "number", - "format": "double" - } - ] - }, - "Target": { - "description": "Platform target.", - "oneOf": [ - { - "description": "MacOS.", - "type": "string", - "enum": ["macOS"] - }, - { - "description": "Windows.", - "type": "string", - "enum": ["windows"] - }, - { - "description": "Linux.", - "type": "string", - "enum": ["linux"] - }, - { - "description": "Android.", - "type": "string", - "enum": ["android"] - }, - { - "description": "iOS.", - "type": "string", - "enum": ["iOS"] - } - ] - }, - "ShellAllowedArg": { - "description": "A command argument allowed to be executed by the webview API.", - "anyOf": [ - { - "description": "A non-configurable argument that is passed to the command in the order it was specified.", - "type": "string" - }, - { - "description": "A variable that is set while calling the command from the webview API.", - "type": "object", - "required": ["validator"], - "properties": { - "raw": { - "description": "Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.", - "default": false, - "type": "boolean" - }, - "validator": { - "description": "[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ", - "type": "string" - } - }, - "additionalProperties": false - } - ] - }, - "ShellAllowedArgs": { - "description": "A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.", - "anyOf": [ - { - "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.", - "type": "boolean" - }, - { - "description": "A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.", - "type": "array", - "items": { - "$ref": "#/definitions/ShellAllowedArg" - } - } - ] - } - } -} diff --git a/src-tauri/src/core/core.rs b/src-tauri/src/core/core.rs index acea3b8..09d1270 100644 --- a/src-tauri/src/core/core.rs +++ b/src-tauri/src/core/core.rs @@ -36,8 +36,10 @@ impl CoreManager { pub fn init(&self, app_handle: &AppHandle) -> Result<()> { *self.app_handle.lock() = Some(app_handle.clone()); tauri::async_runtime::spawn(async { + log::trace!("run core start"); // 启动clash log_err!(Self::global().run_core().await); + log::trace!("run core end"); }); Ok(()) @@ -69,9 +71,9 @@ impl CoreManager { let test_dir = dirs::path_to_str(&test_dir)?; let app_handle_option = { let lock = self.app_handle.lock(); - lock.as_ref().cloned() + lock.as_ref().cloned() }; - + if let Some(app_handle) = app_handle_option { let output = app_handle .shell() diff --git a/src-tauri/src/core/tray.rs b/src-tauri/src/core/tray.rs index 585d032..633babf 100644 --- a/src-tauri/src/core/tray.rs +++ b/src-tauri/src/core/tray.rs @@ -1,126 +1,50 @@ use crate::{ cmds, config::Config, - feat, - utils::{dirs, resolve}, + feat, t, + utils::{ + dirs, + resolve::{self, VERSION}, + }, }; use anyhow::Result; -use tauri::menu::{MenuBuilder, MenuEvent, MenuItemBuilder, PredefinedMenuItem, SubmenuBuilder}; -use tauri::tray::{MouseButton, MouseButtonState, TrayIcon, TrayIconBuilder, TrayIconEvent}; +use tauri::tray::{MouseButton, MouseButtonState, TrayIconEvent}; +use tauri::{ + menu::{MenuEvent, MenuItem, PredefinedMenuItem, Submenu}, + Wry, +}; use tauri::{AppHandle, Manager}; pub struct Tray {} impl Tray { pub fn update_systray(app_handle: &AppHandle) -> Result<()> { - let zh = { Config::verge().latest().language == Some("zh".into()) }; - macro_rules! t { - ($en: expr, $zh: expr) => { - if zh { - $zh - } else { - $en + let tray = app_handle.tray_by_id("main").unwrap(); + tray.on_tray_icon_event(|tray, event| { + let tray_event = { Config::verge().latest().tray_event.clone() }; + let tray_event: String = tray_event.unwrap_or("main_window".into()); + if let TrayIconEvent::Click { + button: MouseButton::Left, + button_state: MouseButtonState::Up, + .. + } = event + { + let app = tray.app_handle(); + match tray_event.as_str() { + "system_proxy" => feat::toggle_system_proxy(), + "tun_mode" => feat::toggle_tun_mode(), + "main_window" => resolve::create_window(app), + _ => {} } - }; - } + } + }); + tray.on_menu_event(on_menu_event); - let version = app_handle.package_info().version.to_string(); - - let open_window = MenuItemBuilder::with_id("open_window", t!("Dashboard", "打开面板")) - .build(app_handle)?; - let rule_mode = - MenuItemBuilder::with_id("rule_mode", t!("Rule Mode", "规则模式")).build(app_handle)?; - let global_mode = MenuItemBuilder::with_id("global_mode", t!("Global Mode", "全局模式")) - .build(app_handle)?; - let direct_mode = MenuItemBuilder::with_id("direct_mode", t!("Direct Mode", "直连模式")) - .build(app_handle)?; - let system_proxy = MenuItemBuilder::with_id("system_proxy", t!("System Proxy", "系统代理")) - .build(app_handle)?; - let tun_mode = - MenuItemBuilder::with_id("tun_mode", t!("TUN Mode", "Tun 模式")).build(app_handle)?; - let copy_env = MenuItemBuilder::with_id("copy_env", t!("Copy Env", "复制环境变量")) - .build(app_handle)?; - let open_app_dir = MenuItemBuilder::with_id("open_app_dir", t!("App Dir", "应用目录")) - .build(app_handle)?; - let open_core_dir = MenuItemBuilder::with_id("open_core_dir", t!("Core Dir", "内核目录")) - .build(app_handle)?; - let open_logs_dir = MenuItemBuilder::with_id("open_logs_dir", t!("Logs Dir", "日志目录")) - .build(app_handle)?; - let open_dir = SubmenuBuilder::with_id(app_handle, "open_dir", t!("Open Dir", "打开目录")) - .items(&[&open_app_dir, &open_core_dir, &open_logs_dir]) - .build()?; - let restart_clash = - MenuItemBuilder::with_id("restart_clash", t!("Restart Clash", "重启 Clash")) - .build(app_handle)?; - let restart_app = MenuItemBuilder::with_id("restart_app", t!("Restart App", "重启应用")) - .build(app_handle)?; - let app_version = MenuItemBuilder::with_id("app_version", format!("Version {version}")) - .build(app_handle)?; - let more = SubmenuBuilder::with_id(app_handle, "more", t!("More", "更多")) - .items(&[&restart_clash, &restart_app, &app_version]) - .build()?; - let quit = MenuItemBuilder::with_id("quit", t!("Quit", "退出")) - .accelerator("CmdOrControl+Q") - .build(app_handle)?; - let separator = PredefinedMenuItem::separator(app_handle)?; - let menu = MenuBuilder::new(app_handle) - .items(&[ - &open_window, - &separator, - &rule_mode, - &global_mode, - &direct_mode, - &separator, - &system_proxy, - &tun_mode, - ©_env, - &open_dir, - &more, - &separator, - &quit, - ]) - .build()?; - - let _ = TrayIconBuilder::with_id("verge_tray") - .menu(&menu) - .on_menu_event(Self::on_menu_event) - .on_tray_icon_event(|tray, event| { - let tray_event = { Config::verge().latest().tray_event.clone() }; - let tray_event: String = tray_event.unwrap_or("main_window".into()); - if let TrayIconEvent::Click { - button: MouseButton::Left, - button_state: MouseButtonState::Up, - .. - } = event - { - let app = tray.app_handle(); - match tray_event.as_str() { - "system_proxy" => feat::toggle_system_proxy(), - "tun_mode" => feat::toggle_tun_mode(), - "main_window" => resolve::create_window(app), - _ => {} - } - } - }) - .build(app_handle); - - Tray::update_part(app_handle)?; Ok(()) } pub fn update_part(app_handle: &AppHandle) -> Result<()> { - let zh = { Config::verge().latest().language == Some("zh".into()) }; - let version = app_handle.package_info().version.to_string(); - - macro_rules! t { - ($en: expr, $zh: expr) => { - if zh { - $zh - } else { - $en - } - }; - } - + let use_zh = { Config::verge().latest().language == Some("zh".into()) }; + let version = VERSION.get().unwrap(); let mode = { Config::clash() .latest() @@ -131,264 +55,324 @@ impl Tray { .to_owned() }; - if let Some(menu) = app_handle.menu() { - if let Some(item) = menu.get("rule_mode") { - let item = item.as_check_menuitem().unwrap(); - let _ = item.set_checked(mode == "rule"); + let verge = Config::verge().latest().clone(); + let system_proxy = verge.enable_system_proxy.as_ref().unwrap_or(&false); + let tun_mode = verge.enable_tun_mode.as_ref().unwrap_or(&false); + #[cfg(target_os = "macos")] + let tray_icon = verge.tray_icon.clone().unwrap_or("monochrome".to_string()); + let common_tray_icon = verge.common_tray_icon.as_ref().unwrap_or(&false); + let sysproxy_tray_icon = verge.sysproxy_tray_icon.as_ref().unwrap_or(&false); + let tun_tray_icon = verge.tun_tray_icon.as_ref().unwrap_or(&false); + let tray = app_handle.tray_by_id("main").unwrap(); + + let _ = tray.set_menu(Some(create_tray_menu( + app_handle, + Some(mode.as_str()), + *system_proxy, + *tun_mode, + )?)); + + // let _ = tray. + #[cfg(target_os = "macos")] + match tray_icon.as_str() { + "monochrome" => { + let _ = tray.set_icon_as_template(true); } - if let Some(item) = menu.get("global_mode") { - let item = item.as_check_menuitem().unwrap(); - let _ = item.set_checked(mode == "global"); + "colorful" => { + let _ = tray.set_icon_as_template(false); } - if let Some(item) = menu.get("direct_mode") { - let item = item.as_check_menuitem().unwrap(); - let _ = item.set_checked(mode == "direct"); - } - - #[cfg(target_os = "linux")] - match mode.as_str() { - "rule" => { - if let Some(item) = menu.get("rule_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Rule Mode ✔", "规则模式 ✔")); - } - - if let Some(item) = menu.get("global_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Global Mode", "全局模式")); - } - - if let Some(item) = menu.get("direct_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Direct Mode", "直连模式")); - } - } - "global" => { - if let Some(item) = menu.get("rule_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Rule Mode", "规则模式")); - } - - if let Some(item) = menu.get("global_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Global Mode ✔", "全局模式 ✔")); - } - - if let Some(item) = menu.get("direct_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Direct Mode", "直连模式")); - } - } - "direct" => { - if let Some(item) = menu.get("rule_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Rule Mode", "规则模式")); - } - if let Some(item) = menu.get("global_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Global Mode", "全局模式")); - } - if let Some(item) = menu.get("direct_mode") { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("Direct Mode ✔", "直连模式 ✔")); - } - } - _ => {} - } - - let verge = Config::verge(); - let verge = verge.latest(); - let system_proxy = verge.enable_system_proxy.as_ref().unwrap_or(&false); - let tun_mode = verge.enable_tun_mode.as_ref().unwrap_or(&false); - #[cfg(target_os = "macos")] - let tray_icon = verge.tray_icon.clone().unwrap_or("monochrome".to_string()); - let common_tray_icon = verge.common_tray_icon.as_ref().unwrap_or(&false); - let sysproxy_tray_icon = verge.sysproxy_tray_icon.as_ref().unwrap_or(&false); - let tun_tray_icon = verge.tun_tray_icon.as_ref().unwrap_or(&false); - let tray: TrayIcon = app_handle.tray_by_id("verge_tray").unwrap(); - - #[cfg(target_os = "macos")] - match tray_icon.as_str() { - "monochrome" => { - let _ = tray.set_icon_as_template(true); - } - "colorful" => { - let _ = tray.set_icon_as_template(false); - } - _ => {} - } - let mut indication_icon = if *system_proxy { - #[cfg(target_os = "macos")] - let mut icon = match tray_icon.as_str() { - "monochrome" => include_bytes!("../../icons/tray-icon-sys-mono.ico").to_vec(), - "colorful" => include_bytes!("../../icons/tray-icon-sys.ico").to_vec(), - _ => include_bytes!("../../icons/tray-icon-sys-mono.ico").to_vec(), - }; - #[cfg(not(target_os = "macos"))] - let mut icon = include_bytes!("../../icons/tray-icon-sys.ico").to_vec(); - - if *sysproxy_tray_icon { - let icon_dir_path = dirs::app_home_dir()?.join("icons"); - let png_path = icon_dir_path.join("sysproxy.png"); - let ico_path = icon_dir_path.join("sysproxy.ico"); - if ico_path.exists() { - icon = std::fs::read(ico_path).unwrap(); - } else if png_path.exists() { - icon = std::fs::read(png_path).unwrap(); - } - } - icon - } else { - #[cfg(target_os = "macos")] - let mut icon = match tray_icon.as_str() { - "monochrome" => include_bytes!("../../icons/tray-icon-mono.ico").to_vec(), - "colorful" => include_bytes!("../../icons/tray-icon.ico").to_vec(), - _ => include_bytes!("../../icons/tray-icon-mono.ico").to_vec(), - }; - #[cfg(not(target_os = "macos"))] - let mut icon = include_bytes!("../../icons/tray-icon.ico").to_vec(); - if *common_tray_icon { - let icon_dir_path = dirs::app_home_dir()?.join("icons"); - let png_path = icon_dir_path.join("common.png"); - let ico_path = icon_dir_path.join("common.ico"); - if ico_path.exists() { - icon = std::fs::read(ico_path).unwrap(); - } else if png_path.exists() { - icon = std::fs::read(png_path).unwrap(); - } - } - icon - }; - if *tun_mode { - #[cfg(target_os = "macos")] - let mut icon = match tray_icon.as_str() { - "monochrome" => include_bytes!("../../icons/tray-icon-tun-mono.ico").to_vec(), - "colorful" => include_bytes!("../../icons/tray-icon-tun.ico").to_vec(), - _ => include_bytes!("../../icons/tray-icon-tun-mono.ico").to_vec(), - }; - #[cfg(not(target_os = "macos"))] - let mut icon = include_bytes!("../../icons/tray-icon-tun.ico").to_vec(); - if *tun_tray_icon { - let icon_dir_path = dirs::app_home_dir()?.join("icons"); - let png_path = icon_dir_path.join("tun.png"); - let ico_path = icon_dir_path.join("tun.ico"); - if ico_path.exists() { - icon = std::fs::read(ico_path).unwrap(); - } else if png_path.exists() { - icon = std::fs::read(png_path).unwrap(); - } - } - indication_icon = icon - } - - let _ = tray.set_icon(Some(tauri::image::Image::from_bytes(&indication_icon)?)); - if let Some(item) = menu.get("system_proxy") { - let item = item.as_check_menuitem().unwrap(); - let _ = item.set_checked(mode == "system_proxy"); - } - if let Some(item) = menu.get("tun_mode") { - let item = item.as_check_menuitem().unwrap(); - let _ = item.set_checked(mode == "tun_mode"); - } - - #[cfg(target_os = "linux")] - { - if let Some(item) = menu.get("system_proxy") { - if *system_proxy { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("System Proxy ✔", "系统代理 ✔")); - } else { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("System Proxy", "系统代理")); - } - } - - if let Some(item) = menu.get("tun_mode") { - if *tun_mode { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("TUN Mode ✔", "Tun 模式 ✔")); - } else { - let _ = item - .as_menuitem() - .unwrap() - .set_text(t!("TUN Mode", "Tun 模式")); - } - } - } - - let switch_map = { - let mut map = std::collections::HashMap::new(); - map.insert(true, "on"); - map.insert(false, "off"); - map - }; - - let mut current_profile_name = "None".to_string(); - let profiles = Config::profiles(); - let profiles = profiles.latest(); - if let Some(current_profile_uid) = profiles.get_current() { - let current_profile = profiles.get_item(¤t_profile_uid); - current_profile_name = match ¤t_profile.unwrap().name { - Some(profile_name) => profile_name.to_string(), - None => current_profile_name, - }; - }; - - let _ = tray.set_tooltip(Some(&format!( - "Clash Verge {version}\n{}: {}\n{}: {}\n{}: {}", - t!("SysProxy", "系统代理"), - switch_map[system_proxy], - t!("TUN", "Tun模式"), - switch_map[tun_mode], - t!("Profile", "当前订阅"), - current_profile_name - ))); - } - - Ok(()) - } - - pub fn on_menu_event(app_handle: &AppHandle, event: MenuEvent) { - match event.id.as_ref() { - mode @ ("rule_mode" | "global_mode" | "direct_mode") => { - let mode = &mode[0..mode.len() - 5]; - feat::change_clash_mode(mode.into()); - } - "open_window" => resolve::create_window(app_handle), - "system_proxy" => feat::toggle_system_proxy(), - "tun_mode" => feat::toggle_tun_mode(), - "copy_env" => feat::copy_clash_env(app_handle), - "open_app_dir" => crate::log_err!(cmds::open_app_dir()), - "open_core_dir" => crate::log_err!(cmds::open_core_dir()), - "open_logs_dir" => crate::log_err!(cmds::open_logs_dir()), - "restart_clash" => feat::restart_clash_core(), - "restart_app" => tauri::process::restart(&app_handle.env()), - "quit" => cmds::exit_app(app_handle.clone()), _ => {} } + + let mut indication_icon = if *system_proxy { + #[cfg(target_os = "macos")] + let mut icon = match tray_icon.as_str() { + "monochrome" => include_bytes!("../../icons/tray-icon-sys-mono.ico").to_vec(), + "colorful" => include_bytes!("../../icons/tray-icon-sys.ico").to_vec(), + _ => include_bytes!("../../icons/tray-icon-sys-mono.ico").to_vec(), + }; + #[cfg(not(target_os = "macos"))] + let mut icon = include_bytes!("../../icons/tray-icon-sys.ico").to_vec(); + + if *sysproxy_tray_icon { + let icon_dir_path = dirs::app_home_dir()?.join("icons"); + let png_path = icon_dir_path.join("sysproxy.png"); + let ico_path = icon_dir_path.join("sysproxy.ico"); + if ico_path.exists() { + icon = std::fs::read(ico_path).unwrap(); + } else if png_path.exists() { + icon = std::fs::read(png_path).unwrap(); + } + } + icon + } else { + #[cfg(target_os = "macos")] + let mut icon = match tray_icon.as_str() { + "monochrome" => include_bytes!("../../icons/tray-icon-mono.ico").to_vec(), + "colorful" => include_bytes!("../../icons/tray-icon.ico").to_vec(), + _ => include_bytes!("../../icons/tray-icon-mono.ico").to_vec(), + }; + #[cfg(not(target_os = "macos"))] + let mut icon = include_bytes!("../../icons/tray-icon.ico").to_vec(); + if *common_tray_icon { + let icon_dir_path = dirs::app_home_dir()?.join("icons"); + let png_path = icon_dir_path.join("common.png"); + let ico_path = icon_dir_path.join("common.ico"); + if ico_path.exists() { + icon = std::fs::read(ico_path).unwrap(); + } else if png_path.exists() { + icon = std::fs::read(png_path).unwrap(); + } + } + icon + }; + + if *tun_mode { + #[cfg(target_os = "macos")] + let mut icon = match tray_icon.as_str() { + "monochrome" => include_bytes!("../../icons/tray-icon-tun-mono.ico").to_vec(), + "colorful" => include_bytes!("../../icons/tray-icon-tun.ico").to_vec(), + _ => include_bytes!("../../icons/tray-icon-tun-mono.ico").to_vec(), + }; + #[cfg(not(target_os = "macos"))] + let mut icon = include_bytes!("../../icons/tray-icon-tun.ico").to_vec(); + if *tun_tray_icon { + let icon_dir_path = dirs::app_home_dir()?.join("icons"); + let png_path = icon_dir_path.join("tun.png"); + let ico_path = icon_dir_path.join("tun.ico"); + if ico_path.exists() { + icon = std::fs::read(ico_path).unwrap(); + } else if png_path.exists() { + icon = std::fs::read(png_path).unwrap(); + } + } + indication_icon = icon + } + let _ = tray.set_icon(Some(tauri::image::Image::from_bytes(&indication_icon)?)); + + let switch_map = { + let mut map = std::collections::HashMap::new(); + map.insert(true, "on"); + map.insert(false, "off"); + map + }; + + let mut current_profile_name = "None".to_string(); + let profiles = Config::profiles(); + let profiles = profiles.latest(); + if let Some(current_profile_uid) = profiles.get_current() { + let current_profile = profiles.get_item(¤t_profile_uid); + current_profile_name = match ¤t_profile.unwrap().name { + Some(profile_name) => profile_name.to_string(), + None => current_profile_name, + }; + }; + + let _ = tray.set_tooltip(Some(&format!( + "Clash Verge {version}\n{}: {}\n{}: {}\n{}: {}", + t!("SysProxy", "系统代理", use_zh), + switch_map[system_proxy], + t!("TUN", "Tun模式", use_zh), + switch_map[tun_mode], + t!("Profile", "当前订阅", use_zh), + current_profile_name + ))); + Ok(()) + } +} + +fn create_tray_menu( + app_handle: &AppHandle, + mode: Option<&str>, + system_proxy_enabled: bool, + tun_mode_enabled: bool, +) -> Result> { + let mode = mode.unwrap_or(""); + let use_zh = { Config::verge().latest().language == Some("zh".into()) }; + let version = VERSION.get().unwrap(); + + let rule_mode_text = if mode == "rule" { + "✓ 规则模式" + } else { + "规则模式" + }; + + let global_mode_text = if mode == "global" { + "✓ 全局模式" + } else { + "全局模式" + }; + + let direct_mode_text = if mode == "direct" { + "✓ 直连模式" + } else { + "直连模式" + }; + + let system_proxy_text = if system_proxy_enabled { + "✓ 系统代理" + } else { + "系统代理" + }; + + let tun_mode_text = if tun_mode_enabled { + "✓ Tun 模式" + } else { + "Tun 模式" + }; + + let restart_clash = &MenuItem::with_id( + app_handle, + "restart_clash", + t!("Restart App", "重启 Clash", use_zh), + true, + None::<&str>, + ) + .unwrap(); + + let restart_app = &MenuItem::with_id( + app_handle, + "restart_app", + t!("Restart App", "重启应用", use_zh), + true, + None::<&str>, + ) + .unwrap(); + + let app_version = &MenuItem::with_id( + app_handle, + "app_version", + format!("Version {version}"), + true, + None::<&str>, + ) + .unwrap(); + + let menu = tauri::menu::MenuBuilder::new(app_handle) + .item( + &MenuItem::with_id( + app_handle, + "open_window", + t!("Dashboard", "打开面板", use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item(&PredefinedMenuItem::separator(app_handle).unwrap()) + .item( + &MenuItem::with_id( + app_handle, + "rule_mode", + t!("Rule Mode", rule_mode_text, use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item( + &MenuItem::with_id( + app_handle, + "global_mode", + t!("Global Mode", global_mode_text, use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item( + &MenuItem::with_id( + app_handle, + "direct_mode", + t!("Direct Mode", direct_mode_text, use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item(&PredefinedMenuItem::separator(app_handle).unwrap()) + .item( + &MenuItem::with_id( + app_handle, + "system_proxy", + t!("System Proxy", system_proxy_text, use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item( + &MenuItem::with_id( + app_handle, + "tun_mode", + t!("TUN Mode", tun_mode_text, use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item( + &MenuItem::with_id( + app_handle, + "copy_env", + t!("Copy Env", "复制环境变量", use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item( + &MenuItem::with_id( + app_handle, + "open_dir", + t!("Open Dir", "打开目录", use_zh), + true, + None::<&str>, + ) + .unwrap(), + ) + .item( + &Submenu::with_id_and_items( + app_handle, + "more", + t!("More", "更多", use_zh), + true, + &[restart_clash, restart_app, app_version], + ) + .unwrap(), + ) + .item(&PredefinedMenuItem::separator(app_handle).unwrap()) + .item( + &MenuItem::with_id( + app_handle, + "quit", + t!("Quit", "退出", use_zh), + true, + Some("CmdOrControl+Q"), + ) + .unwrap(), + ) + .build() + .unwrap(); + + Ok(menu) +} + +fn on_menu_event(app_handle: &AppHandle, event: MenuEvent) { + match event.id.as_ref() { + mode @ ("rule_mode" | "global_mode" | "direct_mode") => { + let mode = &mode[0..mode.len() - 5]; + println!("change mode to: {}", mode); + feat::change_clash_mode(mode.into()); + } + "open_window" => resolve::create_window(app_handle), + "system_proxy" => feat::toggle_system_proxy(), + "tun_mode" => feat::toggle_tun_mode(), + "copy_env" => feat::copy_clash_env(app_handle), + "open_dir" => crate::log_err!(cmds::open_app_dir()), + "restart_clash" => feat::restart_clash_core(), + "restart_app" => tauri::process::restart(&app_handle.env()), + "quit" => cmds::exit_app(app_handle.clone()), + _ => {} } } diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index bbc884a..fe0fb9c 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -10,8 +10,7 @@ mod enhance; mod feat; mod utils; -use crate::utils::{init, resolve, server}; -use tauri::tray::TrayIconBuilder; +use crate::utils::{resolve, server}; fn main() -> std::io::Result<()> { // 单例检测 @@ -30,7 +29,8 @@ fn main() -> std::io::Result<()> { #[cfg(target_os = "linux")] std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1"); - crate::log_err!(init::init_config()); + #[cfg(debug_assertions)] + let devtools = tauri_plugin_devtools::init(); #[allow(unused_mut)] let mut builder = tauri::Builder::default() @@ -43,26 +43,9 @@ fn main() -> std::io::Result<()> { .plugin(tauri_plugin_dialog::init()) .plugin(tauri_plugin_shell::init()) .setup(|app| { - TrayIconBuilder::new().build(app)?; - - #[cfg(target_os = "macos")] - { - use tauri::menu::MenuBuilder; - let _ = MenuBuilder::new(app) - .copy() - .paste() - .undo() - .redo() - .cut() - .select_all() - .quit() - .close_window() - .build(); - } tauri::async_runtime::block_on(async move { resolve::resolve_setup(app).await; }); - Ok(()) }) .invoke_handler(tauri::generate_handler![ @@ -120,6 +103,11 @@ fn main() -> std::io::Result<()> { cmds::clash_api_get_proxy_delay ]); + #[cfg(debug_assertions)] + { + builder = builder.plugin(devtools); + } + let app = builder .build(tauri::generate_context!()) .expect("error while running tauri application"); diff --git a/src-tauri/src/utils/help.rs b/src-tauri/src/utils/help.rs index 1d698fb..3583540 100644 --- a/src-tauri/src/utils/help.rs +++ b/src-tauri/src/utils/help.rs @@ -6,7 +6,6 @@ use serde_yaml::{Mapping, Value}; use std::{fs, path::PathBuf, str::FromStr}; use tauri_plugin_shell::ShellExt; - /// read data from yaml as struct T pub fn read_yaml(path: &PathBuf) -> Result { if !path.exists() { @@ -160,6 +159,17 @@ macro_rules! ret_err { }; } +#[macro_export] +macro_rules! t { + ($en:expr, $zh:expr, $use_zh:expr) => { + if $use_zh { + $zh + } else { + $en + } + }; +} + #[test] fn test_parse_value() { let test_1 = "upload=111; download=2222; total=3333; expire=444"; diff --git a/src-tauri/src/utils/resolve.rs b/src-tauri/src/utils/resolve.rs index f7860f6..079004e 100644 --- a/src-tauri/src/utils/resolve.rs +++ b/src-tauri/src/utils/resolve.rs @@ -7,7 +7,7 @@ use once_cell::sync::OnceCell; use serde_yaml::Mapping; use std::net::TcpListener; use tauri::{App, AppHandle, Manager}; -#[cfg(not(target_os = "linux"))] +//#[cfg(not(target_os = "linux"))] // use window_shadows::set_shadow; use tauri_plugin_notification::NotificationExt; @@ -33,11 +33,11 @@ pub fn find_unused_port() -> Result { /// handle something when start app pub async fn resolve_setup(app: &mut App) { #[cfg(target_os = "macos")] - app.set_activation_policy(tauri::ActivationPolicy::Regular); + app.set_activation_policy(tauri::ActivationPolicy::Accessory); let version = app.package_info().version.to_string(); handle::Handle::global().init(app.app_handle()); VERSION.get_or_init(|| version.clone()); - + log_err!(init::init_config()); log_err!(init::init_resources()); log_err!(init::init_scheme()); log_err!(init::startup_script(app.app_handle()).await); diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index d6e6bf7..0876ef1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -43,7 +43,7 @@ "scope": ["$APPDATA/**", "$RESOURCE/../**", "**"], "enable": true }, - "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: asset: 'unsafe-eval' 'unsafe-inline' 'self';; connect-src ipc: http://ipc.localhost" + "csp": null }, "windows": [] } diff --git a/src-tauri/webview2.arm64.json b/src-tauri/webview2.arm64.json index 64ce7c5..27bf4eb 100644 --- a/src-tauri/webview2.arm64.json +++ b/src-tauri/webview2.arm64.json @@ -1,30 +1,26 @@ { - "$schema": "../node_modules/@tauri-apps/cli/schema.json", - "tauri": { - "systemTray": { - "iconPath": "icons/tray-icon.ico" - }, - "bundle": { - "identifier": "io.github.clash-verge-rev.clash-verge-rev", - "targets": ["nsis", "updater"], - "windows": { - "certificateThumbprint": null, - "digestAlgorithm": "sha256", - "timestampUrl": "", - "webviewInstallMode": { - "type": "fixedRuntime", - "path": "./Microsoft.WebView2.FixedVersionRuntime.109.0.1518.78.arm64/" - }, - "nsis": { - "displayLanguageSelector": true, - "installerIcon": "icons/icon.ico", - "languages": ["SimpChinese", "English"], - "license": "../LICENSE", - "installMode": "perMachine", - "template": "./template/installer.nsi" - } + "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", + "identifier": "io.github.clash-verge-rev.clash-verge-rev", + "bundle": { + "targets": ["nsis"], + "windows": { + "certificateThumbprint": null, + "digestAlgorithm": "sha256", + "timestampUrl": "", + "webviewInstallMode": { + "type": "fixedRuntime", + "path": "./Microsoft.WebView2.FixedVersionRuntime.109.0.1518.78.arm64/" + }, + "nsis": { + "displayLanguageSelector": true, + "installerIcon": "icons/icon.ico", + "languages": ["SimpChinese", "English"], + "installMode": "perMachine", + "template": "./template/installer.nsi" } - }, + } + }, + "plugins": { "updater": { "active": true, "dialog": false, @@ -34,5 +30,11 @@ ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK" } + }, + "app": { + "trayIcon": { + "iconPath": "icons/tray-icon.ico", + "iconAsTemplate": true + } } } diff --git a/src-tauri/webview2.x64.json b/src-tauri/webview2.x64.json index 085d567..325ef64 100644 --- a/src-tauri/webview2.x64.json +++ b/src-tauri/webview2.x64.json @@ -1,30 +1,26 @@ { - "$schema": "../node_modules/@tauri-apps/cli/schema.json", - "tauri": { - "systemTray": { - "iconPath": "icons/tray-icon.ico" - }, - "bundle": { - "identifier": "io.github.clash-verge-rev.clash-verge-rev", - "targets": ["nsis", "updater"], - "windows": { - "certificateThumbprint": null, - "digestAlgorithm": "sha256", - "timestampUrl": "", - "webviewInstallMode": { - "type": "fixedRuntime", - "path": "./Microsoft.WebView2.FixedVersionRuntime.109.0.1518.78.x64/" - }, - "nsis": { - "displayLanguageSelector": true, - "installerIcon": "icons/icon.ico", - "languages": ["SimpChinese", "English"], - "license": "../LICENSE", - "installMode": "perMachine", - "template": "./template/installer.nsi" - } + "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", + "identifier": "io.github.clash-verge-rev.clash-verge-rev", + "bundle": { + "targets": ["nsis"], + "windows": { + "certificateThumbprint": null, + "digestAlgorithm": "sha256", + "timestampUrl": "", + "webviewInstallMode": { + "type": "fixedRuntime", + "path": "./Microsoft.WebView2.FixedVersionRuntime.109.0.1518.78.x64/" + }, + "nsis": { + "displayLanguageSelector": true, + "installerIcon": "icons/icon.ico", + "languages": ["SimpChinese", "English"], + "installMode": "perMachine", + "template": "./template/installer.nsi" } - }, + } + }, + "plugins": { "updater": { "active": true, "dialog": false, @@ -34,5 +30,11 @@ ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK" } + }, + "app": { + "trayIcon": { + "iconPath": "icons/tray-icon.ico", + "iconAsTemplate": true + } } } diff --git a/src-tauri/webview2.x86.json b/src-tauri/webview2.x86.json index 726d16a..03a955f 100644 --- a/src-tauri/webview2.x86.json +++ b/src-tauri/webview2.x86.json @@ -1,30 +1,26 @@ { - "$schema": "../node_modules/@tauri-apps/cli/schema.json", - "tauri": { - "systemTray": { - "iconPath": "icons/tray-icon.ico" - }, - "bundle": { - "identifier": "io.github.clash-verge-rev.clash-verge-rev", - "targets": ["nsis", "updater"], - "windows": { - "certificateThumbprint": null, - "digestAlgorithm": "sha256", - "timestampUrl": "", - "webviewInstallMode": { - "type": "fixedRuntime", - "path": "./Microsoft.WebView2.FixedVersionRuntime.109.0.1518.78.x86/" - }, - "nsis": { - "displayLanguageSelector": true, - "installerIcon": "icons/icon.ico", - "languages": ["SimpChinese", "English"], - "license": "../LICENSE", - "installMode": "perMachine", - "template": "./template/installer.nsi" - } + "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", + "identifier": "io.github.clash-verge-rev.clash-verge-rev", + "bundle": { + "targets": ["nsis"], + "windows": { + "certificateThumbprint": null, + "digestAlgorithm": "sha256", + "timestampUrl": "", + "webviewInstallMode": { + "type": "fixedRuntime", + "path": "./Microsoft.WebView2.FixedVersionRuntime.109.0.1518.78.x86/" + }, + "nsis": { + "displayLanguageSelector": true, + "installerIcon": "icons/icon.ico", + "languages": ["SimpChinese", "English"], + "installMode": "perMachine", + "template": "./template/installer.nsi" } - }, + } + }, + "plugins": { "updater": { "active": true, "dialog": false, @@ -34,5 +30,11 @@ ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK" } + }, + "app": { + "trayIcon": { + "iconPath": "icons/tray-icon.ico", + "iconAsTemplate": true + } } } diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx index 9e2436a..71fee9a 100644 --- a/src/pages/profiles.tsx +++ b/src/pages/profiles.tsx @@ -137,7 +137,12 @@ const ProfilePage = () => { mutate("getProfiles", newProfiles); const remoteItem = newProfiles.items?.find((e) => e.type === "remote"); - if (newProfiles.current && remoteItem) { + + const profilesCount = newProfiles.items?.filter( + (e) => e.type === "remote" || e.type === "local" + ).length as number; + + if (remoteItem && (profilesCount == 1 || !newProfiles.current)) { const current = remoteItem.uid; await patchProfiles({ current }); mutateLogs();