From 63f660996f4f4103fffc4c7c5d36d66e5fc8a015 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Thu, 7 Aug 2025 15:28:44 +0200 Subject: [PATCH] fmt --- .github/workflows/check-generated-files.yml | 6 +-- .github/workflows/lint-rust.yml | 16 ++++---- .github/workflows/test-rust.yml | 40 +++++++++---------- .../base-directories/appcache.toml | 30 +++----------- .../base-directories/appconfig.toml | 30 +++----------- .../base-directories/appdata.toml | 30 +++----------- .../base-directories/applocaldata.toml | 30 +++----------- .../base-directories/applog.toml | 30 +++----------- .../autogenerated/base-directories/audio.toml | 30 +++----------- .../autogenerated/base-directories/cache.toml | 30 +++----------- .../base-directories/config.toml | 30 +++----------- .../autogenerated/base-directories/data.toml | 30 +++----------- .../base-directories/desktop.toml | 30 +++----------- .../base-directories/document.toml | 30 +++----------- .../base-directories/download.toml | 30 +++----------- .../autogenerated/base-directories/exe.toml | 30 +++----------- .../autogenerated/base-directories/font.toml | 30 +++----------- .../autogenerated/base-directories/home.toml | 30 +++----------- .../base-directories/localdata.toml | 30 +++----------- .../autogenerated/base-directories/log.toml | 30 +++----------- .../base-directories/picture.toml | 30 +++----------- .../base-directories/public.toml | 30 +++----------- .../base-directories/resource.toml | 30 +++----------- .../base-directories/runtime.toml | 30 +++----------- .../autogenerated/base-directories/temp.toml | 30 +++----------- .../base-directories/template.toml | 30 +++----------- .../autogenerated/base-directories/video.toml | 30 +++----------- .../commands/read_text_file_lines.toml | 5 +-- .../autogenerated/commands/write_file.toml | 6 +-- plugins/secure-storage/Cargo.toml | 6 ++- plugins/secure-storage/api-iife.js | 2 +- 31 files changed, 183 insertions(+), 618 deletions(-) diff --git a/.github/workflows/check-generated-files.yml b/.github/workflows/check-generated-files.yml index 9f396bd32..89c1c1bde 100644 --- a/.github/workflows/check-generated-files.yml +++ b/.github/workflows/check-generated-files.yml @@ -7,9 +7,9 @@ name: check generated files on: pull_request: paths: - - ".github/workflows/check-generated-files.yml" + - '.github/workflows/check-generated-files.yml' - pnpm-lock.yaml - - "**/guest-js/**" + - '**/guest-js/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -169,7 +169,7 @@ jobs: ${{ runner.os }}- - uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: 'lts/*' - uses: pnpm/action-setup@v4 with: version: 10.x.x diff --git a/.github/workflows/lint-rust.yml b/.github/workflows/lint-rust.yml index 7a4185c95..510702446 100644 --- a/.github/workflows/lint-rust.yml +++ b/.github/workflows/lint-rust.yml @@ -10,19 +10,19 @@ on: - v1 - v2 paths: - - ".github/workflows/lint-rust.yml" - - "plugins/*/src/**" - - "!plugins/*/src/api-iife.js" - - "**/Cargo.toml" + - '.github/workflows/lint-rust.yml' + - 'plugins/*/src/**' + - '!plugins/*/src/api-iife.js' + - '**/Cargo.toml' pull_request: branches: - v1 - v2 paths: - - ".github/workflows/lint-rust.yml" - - "plugins/*/src/**" - - "!plugins/*/src/api-iife.js" - - "**/Cargo.toml" + - '.github/workflows/lint-rust.yml' + - 'plugins/*/src/**' + - '!plugins/*/src/api-iife.js' + - '**/Cargo.toml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index c25479fe4..2f8b91b40 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -10,21 +10,21 @@ on: - v1 - v2 paths: - - ".github/workflows/test-rust.yml" - - "plugins/*/src/**" - - "!plugins/*/src/api-iife.js" - - "**/Cargo.toml" - - "**/Cargo.lock" + - '.github/workflows/test-rust.yml' + - 'plugins/*/src/**' + - '!plugins/*/src/api-iife.js' + - '**/Cargo.toml' + - '**/Cargo.lock' pull_request: branches: - v1 - v2 paths: - - ".github/workflows/test-rust.yml" - - "plugins/*/src/**" - - "!plugins/*/src/api-iife.js" - - "**/Cargo.toml" - - "**/Cargo.lock" + - '.github/workflows/test-rust.yml' + - 'plugins/*/src/**' + - '!plugins/*/src/api-iife.js' + - '**/Cargo.toml' + - '**/Cargo.lock' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -199,32 +199,32 @@ jobs: - { target: x86_64-pc-windows-msvc, os: windows-latest, - runner: "cargo", - command: "test", + runner: 'cargo', + command: 'test' } - { target: x86_64-unknown-linux-gnu, os: ubuntu-22.04, - runner: "cargo", - command: "test", + runner: 'cargo', + command: 'test' } - { target: aarch64-apple-darwin, os: macos-latest, - runner: "cargo", - command: "test", + runner: 'cargo', + command: 'test' } - { target: aarch64-apple-ios, os: macos-latest, - runner: "cargo", - command: "build", + runner: 'cargo', + command: 'build' } - { target: aarch64-linux-android, os: ubuntu-latest, - runner: "cross", - command: "build", + runner: 'cross', + command: 'build' } runs-on: ${{ matrix.platform.os }} diff --git a/plugins/fs/permissions/autogenerated/base-directories/appcache.toml b/plugins/fs/permissions/autogenerated/base-directories/appcache.toml index 50e19efc9..1fbb4ece6 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/appcache.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/appcache.toml @@ -36,47 +36,29 @@ path = "$APPCACHE" [[set]] 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" -] +permissions = ["read-all", "scope-appcache-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-appcache-recursive"] [[set]] identifier = "allow-appcache-read" description = "This allows non-recursive read access to the `$APPCACHE` folder." -permissions = [ - "read-all", - "scope-appcache" -] +permissions = ["read-all", "scope-appcache"] [[set]] identifier = "allow-appcache-write" description = "This allows non-recursive write access to the `$APPCACHE` folder." -permissions = [ - "write-all", - "scope-appcache" -] +permissions = ["write-all", "scope-appcache"] [[set]] 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" -] +permissions = ["read-meta", "scope-appcache-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-appcache-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/appconfig.toml b/plugins/fs/permissions/autogenerated/base-directories/appconfig.toml index ab136956d..0c3b821e4 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/appconfig.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/appconfig.toml @@ -36,47 +36,29 @@ path = "$APPCONFIG" [[set]] 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" -] +permissions = ["read-all", "scope-appconfig-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-appconfig-recursive"] [[set]] identifier = "allow-appconfig-read" description = "This allows non-recursive read access to the `$APPCONFIG` folder." -permissions = [ - "read-all", - "scope-appconfig" -] +permissions = ["read-all", "scope-appconfig"] [[set]] identifier = "allow-appconfig-write" description = "This allows non-recursive write access to the `$APPCONFIG` folder." -permissions = [ - "write-all", - "scope-appconfig" -] +permissions = ["write-all", "scope-appconfig"] [[set]] 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" -] +permissions = ["read-meta", "scope-appconfig-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-appconfig-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/appdata.toml b/plugins/fs/permissions/autogenerated/base-directories/appdata.toml index 1b0931e20..3960f6241 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/appdata.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/appdata.toml @@ -36,47 +36,29 @@ path = "$APPDATA" [[set]] 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" -] +permissions = ["read-all", "scope-appdata-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-appdata-recursive"] [[set]] identifier = "allow-appdata-read" description = "This allows non-recursive read access to the `$APPDATA` folder." -permissions = [ - "read-all", - "scope-appdata" -] +permissions = ["read-all", "scope-appdata"] [[set]] identifier = "allow-appdata-write" description = "This allows non-recursive write access to the `$APPDATA` folder." -permissions = [ - "write-all", - "scope-appdata" -] +permissions = ["write-all", "scope-appdata"] [[set]] 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" -] +permissions = ["read-meta", "scope-appdata-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-appdata-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/applocaldata.toml b/plugins/fs/permissions/autogenerated/base-directories/applocaldata.toml index a6e38a31f..8bec20d74 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/applocaldata.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/applocaldata.toml @@ -36,47 +36,29 @@ path = "$APPLOCALDATA" [[set]] 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" -] +permissions = ["read-all", "scope-applocaldata-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-applocaldata-recursive"] [[set]] identifier = "allow-applocaldata-read" description = "This allows non-recursive read access to the `$APPLOCALDATA` folder." -permissions = [ - "read-all", - "scope-applocaldata" -] +permissions = ["read-all", "scope-applocaldata"] [[set]] identifier = "allow-applocaldata-write" description = "This allows non-recursive write access to the `$APPLOCALDATA` folder." -permissions = [ - "write-all", - "scope-applocaldata" -] +permissions = ["write-all", "scope-applocaldata"] [[set]] 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" -] +permissions = ["read-meta", "scope-applocaldata-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-applocaldata-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/applog.toml b/plugins/fs/permissions/autogenerated/base-directories/applog.toml index a979ce76a..d67c648e0 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/applog.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/applog.toml @@ -36,47 +36,29 @@ path = "$APPLOG" [[set]] 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" -] +permissions = ["read-all", "scope-applog-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-applog-recursive"] [[set]] identifier = "allow-applog-read" description = "This allows non-recursive read access to the `$APPLOG` folder." -permissions = [ - "read-all", - "scope-applog" -] +permissions = ["read-all", "scope-applog"] [[set]] identifier = "allow-applog-write" description = "This allows non-recursive write access to the `$APPLOG` folder." -permissions = [ - "write-all", - "scope-applog" -] +permissions = ["write-all", "scope-applog"] [[set]] 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" -] +permissions = ["read-meta", "scope-applog-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-applog-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/audio.toml b/plugins/fs/permissions/autogenerated/base-directories/audio.toml index d66d68a23..570e2cc21 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/audio.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/audio.toml @@ -36,47 +36,29 @@ path = "$AUDIO" [[set]] 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" -] +permissions = ["read-all", "scope-audio-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-audio-recursive"] [[set]] identifier = "allow-audio-read" description = "This allows non-recursive read access to the `$AUDIO` folder." -permissions = [ - "read-all", - "scope-audio" -] +permissions = ["read-all", "scope-audio"] [[set]] identifier = "allow-audio-write" description = "This allows non-recursive write access to the `$AUDIO` folder." -permissions = [ - "write-all", - "scope-audio" -] +permissions = ["write-all", "scope-audio"] [[set]] 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" -] +permissions = ["read-meta", "scope-audio-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-audio-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/cache.toml b/plugins/fs/permissions/autogenerated/base-directories/cache.toml index 814319eb8..509247363 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/cache.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/cache.toml @@ -36,47 +36,29 @@ path = "$CACHE" [[set]] 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" -] +permissions = ["read-all", "scope-cache-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-cache-recursive"] [[set]] identifier = "allow-cache-read" description = "This allows non-recursive read access to the `$CACHE` folder." -permissions = [ - "read-all", - "scope-cache" -] +permissions = ["read-all", "scope-cache"] [[set]] identifier = "allow-cache-write" description = "This allows non-recursive write access to the `$CACHE` folder." -permissions = [ - "write-all", - "scope-cache" -] +permissions = ["write-all", "scope-cache"] [[set]] 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" -] +permissions = ["read-meta", "scope-cache-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-cache-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/config.toml b/plugins/fs/permissions/autogenerated/base-directories/config.toml index 592210456..fdde6c3bf 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/config.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/config.toml @@ -36,47 +36,29 @@ path = "$CONFIG" [[set]] 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" -] +permissions = ["read-all", "scope-config-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-config-recursive"] [[set]] identifier = "allow-config-read" description = "This allows non-recursive read access to the `$CONFIG` folder." -permissions = [ - "read-all", - "scope-config" -] +permissions = ["read-all", "scope-config"] [[set]] identifier = "allow-config-write" description = "This allows non-recursive write access to the `$CONFIG` folder." -permissions = [ - "write-all", - "scope-config" -] +permissions = ["write-all", "scope-config"] [[set]] 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" -] +permissions = ["read-meta", "scope-config-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-config-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/data.toml b/plugins/fs/permissions/autogenerated/base-directories/data.toml index a8428ca13..c384bd181 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/data.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/data.toml @@ -36,47 +36,29 @@ path = "$DATA" [[set]] 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" -] +permissions = ["read-all", "scope-data-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-data-recursive"] [[set]] identifier = "allow-data-read" description = "This allows non-recursive read access to the `$DATA` folder." -permissions = [ - "read-all", - "scope-data" -] +permissions = ["read-all", "scope-data"] [[set]] identifier = "allow-data-write" description = "This allows non-recursive write access to the `$DATA` folder." -permissions = [ - "write-all", - "scope-data" -] +permissions = ["write-all", "scope-data"] [[set]] 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" -] +permissions = ["read-meta", "scope-data-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-data-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/desktop.toml b/plugins/fs/permissions/autogenerated/base-directories/desktop.toml index da369fa03..b0b4feb12 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/desktop.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/desktop.toml @@ -36,47 +36,29 @@ path = "$DESKTOP" [[set]] 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" -] +permissions = ["read-all", "scope-desktop-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-desktop-recursive"] [[set]] identifier = "allow-desktop-read" description = "This allows non-recursive read access to the `$DESKTOP` folder." -permissions = [ - "read-all", - "scope-desktop" -] +permissions = ["read-all", "scope-desktop"] [[set]] identifier = "allow-desktop-write" description = "This allows non-recursive write access to the `$DESKTOP` folder." -permissions = [ - "write-all", - "scope-desktop" -] +permissions = ["write-all", "scope-desktop"] [[set]] 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" -] +permissions = ["read-meta", "scope-desktop-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-desktop-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/document.toml b/plugins/fs/permissions/autogenerated/base-directories/document.toml index 9feb4d0d0..ad2ac2224 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/document.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/document.toml @@ -36,47 +36,29 @@ path = "$DOCUMENT" [[set]] 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" -] +permissions = ["read-all", "scope-document-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-document-recursive"] [[set]] identifier = "allow-document-read" description = "This allows non-recursive read access to the `$DOCUMENT` folder." -permissions = [ - "read-all", - "scope-document" -] +permissions = ["read-all", "scope-document"] [[set]] identifier = "allow-document-write" description = "This allows non-recursive write access to the `$DOCUMENT` folder." -permissions = [ - "write-all", - "scope-document" -] +permissions = ["write-all", "scope-document"] [[set]] 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" -] +permissions = ["read-meta", "scope-document-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-document-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/download.toml b/plugins/fs/permissions/autogenerated/base-directories/download.toml index 8659e3ac4..30953f61a 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/download.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/download.toml @@ -36,47 +36,29 @@ path = "$DOWNLOAD" [[set]] 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" -] +permissions = ["read-all", "scope-download-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-download-recursive"] [[set]] identifier = "allow-download-read" description = "This allows non-recursive read access to the `$DOWNLOAD` folder." -permissions = [ - "read-all", - "scope-download" -] +permissions = ["read-all", "scope-download"] [[set]] identifier = "allow-download-write" description = "This allows non-recursive write access to the `$DOWNLOAD` folder." -permissions = [ - "write-all", - "scope-download" -] +permissions = ["write-all", "scope-download"] [[set]] 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" -] +permissions = ["read-meta", "scope-download-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-download-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/exe.toml b/plugins/fs/permissions/autogenerated/base-directories/exe.toml index 94950e844..e305ae3e4 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/exe.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/exe.toml @@ -36,47 +36,29 @@ path = "$EXE" [[set]] 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" -] +permissions = ["read-all", "scope-exe-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-exe-recursive"] [[set]] identifier = "allow-exe-read" description = "This allows non-recursive read access to the `$EXE` folder." -permissions = [ - "read-all", - "scope-exe" -] +permissions = ["read-all", "scope-exe"] [[set]] identifier = "allow-exe-write" description = "This allows non-recursive write access to the `$EXE` folder." -permissions = [ - "write-all", - "scope-exe" -] +permissions = ["write-all", "scope-exe"] [[set]] 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" -] +permissions = ["read-meta", "scope-exe-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-exe-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/font.toml b/plugins/fs/permissions/autogenerated/base-directories/font.toml index 21840046a..2736c4c47 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/font.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/font.toml @@ -36,47 +36,29 @@ path = "$FONT" [[set]] 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" -] +permissions = ["read-all", "scope-font-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-font-recursive"] [[set]] identifier = "allow-font-read" description = "This allows non-recursive read access to the `$FONT` folder." -permissions = [ - "read-all", - "scope-font" -] +permissions = ["read-all", "scope-font"] [[set]] identifier = "allow-font-write" description = "This allows non-recursive write access to the `$FONT` folder." -permissions = [ - "write-all", - "scope-font" -] +permissions = ["write-all", "scope-font"] [[set]] 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" -] +permissions = ["read-meta", "scope-font-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-font-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/home.toml b/plugins/fs/permissions/autogenerated/base-directories/home.toml index cbf48e2fb..d80ae823a 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/home.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/home.toml @@ -36,47 +36,29 @@ path = "$HOME" [[set]] 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" -] +permissions = ["read-all", "scope-home-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-home-recursive"] [[set]] identifier = "allow-home-read" description = "This allows non-recursive read access to the `$HOME` folder." -permissions = [ - "read-all", - "scope-home" -] +permissions = ["read-all", "scope-home"] [[set]] identifier = "allow-home-write" description = "This allows non-recursive write access to the `$HOME` folder." -permissions = [ - "write-all", - "scope-home" -] +permissions = ["write-all", "scope-home"] [[set]] 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" -] +permissions = ["read-meta", "scope-home-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-home-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/localdata.toml b/plugins/fs/permissions/autogenerated/base-directories/localdata.toml index 90a8f48bc..4fffb63ee 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/localdata.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/localdata.toml @@ -36,47 +36,29 @@ path = "$LOCALDATA" [[set]] 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" -] +permissions = ["read-all", "scope-localdata-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-localdata-recursive"] [[set]] identifier = "allow-localdata-read" description = "This allows non-recursive read access to the `$LOCALDATA` folder." -permissions = [ - "read-all", - "scope-localdata" -] +permissions = ["read-all", "scope-localdata"] [[set]] identifier = "allow-localdata-write" description = "This allows non-recursive write access to the `$LOCALDATA` folder." -permissions = [ - "write-all", - "scope-localdata" -] +permissions = ["write-all", "scope-localdata"] [[set]] 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" -] +permissions = ["read-meta", "scope-localdata-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-localdata-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/log.toml b/plugins/fs/permissions/autogenerated/base-directories/log.toml index d505a3ce2..a93d64ec3 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/log.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/log.toml @@ -36,47 +36,29 @@ path = "$LOG" [[set]] 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" -] +permissions = ["read-all", "scope-log-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-log-recursive"] [[set]] identifier = "allow-log-read" description = "This allows non-recursive read access to the `$LOG` folder." -permissions = [ - "read-all", - "scope-log" -] +permissions = ["read-all", "scope-log"] [[set]] identifier = "allow-log-write" description = "This allows non-recursive write access to the `$LOG` folder." -permissions = [ - "write-all", - "scope-log" -] +permissions = ["write-all", "scope-log"] [[set]] 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" -] +permissions = ["read-meta", "scope-log-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-log-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/picture.toml b/plugins/fs/permissions/autogenerated/base-directories/picture.toml index 6a760909d..9ddc8ebaa 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/picture.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/picture.toml @@ -36,47 +36,29 @@ path = "$PICTURE" [[set]] 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" -] +permissions = ["read-all", "scope-picture-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-picture-recursive"] [[set]] identifier = "allow-picture-read" description = "This allows non-recursive read access to the `$PICTURE` folder." -permissions = [ - "read-all", - "scope-picture" -] +permissions = ["read-all", "scope-picture"] [[set]] identifier = "allow-picture-write" description = "This allows non-recursive write access to the `$PICTURE` folder." -permissions = [ - "write-all", - "scope-picture" -] +permissions = ["write-all", "scope-picture"] [[set]] 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" -] +permissions = ["read-meta", "scope-picture-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-picture-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/public.toml b/plugins/fs/permissions/autogenerated/base-directories/public.toml index 2e39abb45..6714755c1 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/public.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/public.toml @@ -36,47 +36,29 @@ path = "$PUBLIC" [[set]] 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" -] +permissions = ["read-all", "scope-public-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-public-recursive"] [[set]] identifier = "allow-public-read" description = "This allows non-recursive read access to the `$PUBLIC` folder." -permissions = [ - "read-all", - "scope-public" -] +permissions = ["read-all", "scope-public"] [[set]] identifier = "allow-public-write" description = "This allows non-recursive write access to the `$PUBLIC` folder." -permissions = [ - "write-all", - "scope-public" -] +permissions = ["write-all", "scope-public"] [[set]] 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" -] +permissions = ["read-meta", "scope-public-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-public-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/resource.toml b/plugins/fs/permissions/autogenerated/base-directories/resource.toml index 53dfeb079..1def9a083 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/resource.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/resource.toml @@ -36,47 +36,29 @@ path = "$RESOURCE" [[set]] 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" -] +permissions = ["read-all", "scope-resource-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-resource-recursive"] [[set]] identifier = "allow-resource-read" description = "This allows non-recursive read access to the `$RESOURCE` folder." -permissions = [ - "read-all", - "scope-resource" -] +permissions = ["read-all", "scope-resource"] [[set]] identifier = "allow-resource-write" description = "This allows non-recursive write access to the `$RESOURCE` folder." -permissions = [ - "write-all", - "scope-resource" -] +permissions = ["write-all", "scope-resource"] [[set]] 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" -] +permissions = ["read-meta", "scope-resource-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-resource-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/runtime.toml b/plugins/fs/permissions/autogenerated/base-directories/runtime.toml index 8dcc2a038..0e6636210 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/runtime.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/runtime.toml @@ -36,47 +36,29 @@ path = "$RUNTIME" [[set]] 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" -] +permissions = ["read-all", "scope-runtime-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-runtime-recursive"] [[set]] identifier = "allow-runtime-read" description = "This allows non-recursive read access to the `$RUNTIME` folder." -permissions = [ - "read-all", - "scope-runtime" -] +permissions = ["read-all", "scope-runtime"] [[set]] identifier = "allow-runtime-write" description = "This allows non-recursive write access to the `$RUNTIME` folder." -permissions = [ - "write-all", - "scope-runtime" -] +permissions = ["write-all", "scope-runtime"] [[set]] 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" -] +permissions = ["read-meta", "scope-runtime-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-runtime-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/temp.toml b/plugins/fs/permissions/autogenerated/base-directories/temp.toml index c08e1da21..5af17ca4d 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/temp.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/temp.toml @@ -36,47 +36,29 @@ path = "$TEMP" [[set]] 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" -] +permissions = ["read-all", "scope-temp-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-temp-recursive"] [[set]] identifier = "allow-temp-read" description = "This allows non-recursive read access to the `$TEMP` folder." -permissions = [ - "read-all", - "scope-temp" -] +permissions = ["read-all", "scope-temp"] [[set]] identifier = "allow-temp-write" description = "This allows non-recursive write access to the `$TEMP` folder." -permissions = [ - "write-all", - "scope-temp" -] +permissions = ["write-all", "scope-temp"] [[set]] 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" -] +permissions = ["read-meta", "scope-temp-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-temp-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/template.toml b/plugins/fs/permissions/autogenerated/base-directories/template.toml index ce39f7736..385ba96ef 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/template.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/template.toml @@ -36,47 +36,29 @@ path = "$TEMPLATE" [[set]] 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" -] +permissions = ["read-all", "scope-template-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-template-recursive"] [[set]] identifier = "allow-template-read" description = "This allows non-recursive read access to the `$TEMPLATE` folder." -permissions = [ - "read-all", - "scope-template" -] +permissions = ["read-all", "scope-template"] [[set]] identifier = "allow-template-write" description = "This allows non-recursive write access to the `$TEMPLATE` folder." -permissions = [ - "write-all", - "scope-template" -] +permissions = ["write-all", "scope-template"] [[set]] 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" -] +permissions = ["read-meta", "scope-template-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-template-index"] diff --git a/plugins/fs/permissions/autogenerated/base-directories/video.toml b/plugins/fs/permissions/autogenerated/base-directories/video.toml index df41abdc6..ea40b4192 100644 --- a/plugins/fs/permissions/autogenerated/base-directories/video.toml +++ b/plugins/fs/permissions/autogenerated/base-directories/video.toml @@ -36,47 +36,29 @@ path = "$VIDEO" [[set]] 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" -] +permissions = ["read-all", "scope-video-recursive"] [[set]] 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" -] +permissions = ["write-all", "scope-video-recursive"] [[set]] identifier = "allow-video-read" description = "This allows non-recursive read access to the `$VIDEO` folder." -permissions = [ - "read-all", - "scope-video" -] +permissions = ["read-all", "scope-video"] [[set]] identifier = "allow-video-write" description = "This allows non-recursive write access to the `$VIDEO` folder." -permissions = [ - "write-all", - "scope-video" -] +permissions = ["write-all", "scope-video"] [[set]] 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" -] +permissions = ["read-meta", "scope-video-recursive"] [[set]] 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" -] \ No newline at end of file +permissions = ["read-meta", "scope-video-index"] diff --git a/plugins/fs/permissions/autogenerated/commands/read_text_file_lines.toml b/plugins/fs/permissions/autogenerated/commands/read_text_file_lines.toml index 84b4ebb22..8ebce8087 100644 --- a/plugins/fs/permissions/autogenerated/commands/read_text_file_lines.toml +++ b/plugins/fs/permissions/autogenerated/commands/read_text_file_lines.toml @@ -7,10 +7,7 @@ identifier = "allow-read-text-file-lines" description = "Enables the read_text_file_lines command without any pre-configured scope." [permission.commands] -allow = [ - "read_text_file_lines", - "read_text_file_lines_next", -] +allow = ["read_text_file_lines", "read_text_file_lines_next"] deny = [] [[permission]] diff --git a/plugins/fs/permissions/autogenerated/commands/write_file.toml b/plugins/fs/permissions/autogenerated/commands/write_file.toml index ea7d51368..174dfcf8f 100644 --- a/plugins/fs/permissions/autogenerated/commands/write_file.toml +++ b/plugins/fs/permissions/autogenerated/commands/write_file.toml @@ -7,11 +7,7 @@ identifier = "allow-write-file" description = "Enables the write_file command without any pre-configured scope." [permission.commands] -allow = [ - "write_file", - "open", - "write", -] +allow = ["write_file", "open", "write"] deny = [] [[permission]] diff --git a/plugins/secure-storage/Cargo.toml b/plugins/secure-storage/Cargo.toml index a62d02acc..04e398921 100644 --- a/plugins/secure-storage/Cargo.toml +++ b/plugins/secure-storage/Cargo.toml @@ -33,7 +33,11 @@ log = { workspace = true } thiserror = { workspace = true } # When updating to v4 we likely won't use linux-native aka keyutils but we need to look into which backend to use. # Also, `linux-native` is non persistent. -keyring = { version = "3.6", features = ["apple-native", "windows-native", "linux-native"]} +keyring = { version = "3.6", features = [ + "apple-native", + "windows-native", + "linux-native", +] } [target."cfg(target_os = \"android\")".dependencies] android-keyring = "0.2.0" diff --git a/plugins/secure-storage/api-iife.js b/plugins/secure-storage/api-iife.js index b0005fd78..bf29710af 100644 --- a/plugins/secure-storage/api-iife.js +++ b/plugins/secure-storage/api-iife.js @@ -1 +1 @@ -if("__TAURI__"in window){var __TAURI_PLUGIN_SECURE_STORAGE__=function(e){"use strict";async function n(e,n={},r){return window.__TAURI_INTERNALS__.invoke(e,n,r)}return"function"==typeof SuppressedError&&SuppressedError,e.getBinary=async function(e){return n("plugin:secure-storage|set_string",{key:e})},e.getString=async function(e){return n("plugin:secure-storage|get_string",{key:e})},e.setBinary=async function(e,r){return n("plugin:secure-storage|set_binary",{key:e,value:r})},e.setString=async function(e,r){return n("plugin:secure-storage|set_string",{key:e,value:r})},e}({});Object.defineProperty(window.__TAURI__,"secureStorage",{value:__TAURI_PLUGIN_SECURE_STORAGE__})} +if("__TAURI__"in window){var __TAURI_PLUGIN_SECURE_STORAGE__=function(e){"use strict";async function n(e,n={},r){return window.__TAURI_INTERNALS__.invoke(e,n,r)}return"function"==typeof SuppressedError&&SuppressedError,e.getBinary=async function(e){return await n("plugin:secure-storage|set_string",{key:e})},e.getString=async function(e){return await n("plugin:secure-storage|get_string",{key:e})},e.setBinary=async function(e,r){return await n("plugin:secure-storage|set_binary",{key:e,value:r})},e.setString=async function(e,r){return await n("plugin:secure-storage|set_string",{key:e,value:r})},e}({});Object.defineProperty(window.__TAURI__,"secureStorage",{value:__TAURI_PLUGIN_SECURE_STORAGE__})}