├── .cargo └── audit.toml ├── .changes ├── add-allow-downgrades.md ├── autostart-feature.md ├── config.json ├── log-keep-some.md ├── opener-require-literal-leading-dot.md ├── readme.md └── updater-download-headers.md ├── .github ├── CODEOWNERS ├── sponsors │ ├── crabnebula.svg │ └── rescue.png ├── sync-to-mirrors.sh └── workflows │ ├── audit-javascript.yml │ ├── audit-rust.yml │ ├── check-change-files.yml │ ├── check-generated-files.yml │ ├── check-license-header.yml │ ├── covector-comment-on-fork.yml │ ├── covector-status.yml │ ├── covector-version-or-publish.yml │ ├── fmt.yml │ ├── integration-tests.yml │ ├── lint-javascript.yml │ ├── lint-rust.yml │ ├── sync.yml │ └── test-rust.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── .scripts └── ci │ ├── check-change-files.js │ ├── check-license-header.js │ └── has-diff.sh ├── .taurignore ├── .vscode └── extensions.json ├── Cargo.lock ├── Cargo.toml ├── LICENSE.spdx ├── LICENSE_APACHE-2.0 ├── LICENSE_MIT ├── README.md ├── SECURITY.md ├── eslint.config.js ├── examples └── api │ ├── .setup-cross.sh │ ├── .taurignore │ ├── CHANGELOG.md │ ├── README.md │ ├── index.html │ ├── isolation-dist │ ├── index.html │ └── index.js │ ├── jsconfig.json │ ├── package.json │ ├── public │ └── tauri_logo.png │ ├── screenshot.png │ ├── src-tauri │ ├── .gitignore │ ├── .taurignore │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── Cross.toml │ ├── Info.plist │ ├── build.rs │ ├── capabilities │ │ ├── base.json │ │ ├── desktop.json │ │ └── mobile.json │ ├── gen │ │ ├── android │ │ │ ├── .editorconfig │ │ │ ├── .gitignore │ │ │ ├── .idea │ │ │ │ ├── compiler.xml │ │ │ │ ├── gradle.xml │ │ │ │ ├── kotlinc.xml │ │ │ │ ├── misc.xml │ │ │ │ └── vcs.xml │ │ │ ├── app │ │ │ │ ├── .gitignore │ │ │ │ ├── build.gradle.kts │ │ │ │ ├── proguard-rules.pro │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── java │ │ │ │ │ └── com │ │ │ │ │ │ └── tauri │ │ │ │ │ │ └── api │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── res │ │ │ │ │ ├── drawable-v24 │ │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ │ ├── drawable │ │ │ │ │ └── ic_launcher_background.xml │ │ │ │ │ ├── layout │ │ │ │ │ └── activity_main.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── values-night │ │ │ │ │ └── themes.xml │ │ │ │ │ ├── values │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── themes.xml │ │ │ │ │ └── xml │ │ │ │ │ └── file_paths.xml │ │ │ ├── build.gradle.kts │ │ │ ├── buildSrc │ │ │ │ ├── build.gradle.kts │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── tauri │ │ │ │ │ └── api │ │ │ │ │ └── kotlin │ │ │ │ │ ├── BuildTask.kt │ │ │ │ │ └── RustPlugin.kt │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ │ └── gradle-wrapper.properties │ │ │ ├── gradlew │ │ │ ├── gradlew.bat │ │ │ └── settings.gradle │ │ └── apple │ │ │ ├── .gitignore │ │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── AppIcon-20x20@1x.png │ │ │ │ ├── AppIcon-20x20@2x-1.png │ │ │ │ ├── AppIcon-20x20@2x.png │ │ │ │ ├── AppIcon-20x20@3x.png │ │ │ │ ├── AppIcon-29x29@1x.png │ │ │ │ ├── AppIcon-29x29@2x-1.png │ │ │ │ ├── AppIcon-29x29@2x.png │ │ │ │ ├── AppIcon-29x29@3x.png │ │ │ │ ├── AppIcon-40x40@1x.png │ │ │ │ ├── AppIcon-40x40@2x-1.png │ │ │ │ ├── AppIcon-40x40@2x.png │ │ │ │ ├── AppIcon-40x40@3x.png │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ ├── AppIcon-60x60@2x.png │ │ │ │ ├── AppIcon-60x60@3x.png │ │ │ │ ├── AppIcon-76x76@1x.png │ │ │ │ ├── AppIcon-76x76@2x.png │ │ │ │ ├── AppIcon-83.5x83.5@2x.png │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ │ ├── ExportOptions.plist │ │ │ ├── LaunchScreen.storyboard │ │ │ ├── Podfile │ │ │ ├── Sources │ │ │ └── api │ │ │ │ ├── bindings │ │ │ │ └── bindings.h │ │ │ │ └── main.mm │ │ │ ├── api.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── api_iOS.xcscheme │ │ │ ├── api_iOS │ │ │ ├── Info.plist │ │ │ └── api_iOS.entitlements │ │ │ └── project.yml │ ├── icons │ │ ├── 128x128.png │ │ ├── 128x128@2x.png │ │ ├── 32x32.png │ │ ├── icon.icns │ │ ├── icon.ico │ │ ├── icon.png │ │ ├── tray_icon.png │ │ ├── tray_icon_with_transparency.ico │ │ └── tray_icon_with_transparency.png │ ├── locales │ │ └── pt-BR.wxl │ ├── src │ │ ├── cmd.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ └── tray.rs │ └── tauri.conf.json │ ├── src │ ├── App.svelte │ ├── app.css │ ├── lib │ │ └── utils.js │ ├── main.js │ └── views │ │ ├── Biometric.svelte │ │ ├── Cli.svelte │ │ ├── Clipboard.svelte │ │ ├── Communication.svelte │ │ ├── Dialog.svelte │ │ ├── FileSystem.svelte │ │ ├── Geolocation.svelte │ │ ├── Haptics.svelte │ │ ├── Http.svelte │ │ ├── Nfc.svelte │ │ ├── Notifications.svelte │ │ ├── Opener.svelte │ │ ├── Scanner.svelte │ │ ├── Shell.svelte │ │ ├── Shortcuts.svelte │ │ ├── Store.svelte │ │ ├── Updater.svelte │ │ ├── WebRTC.svelte │ │ └── Welcome.svelte │ ├── unocss.config.js │ └── vite.config.js ├── package.json ├── plugins ├── autostart │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── disable.toml │ │ │ │ ├── enable.toml │ │ │ │ └── is_enabled.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ └── lib.rs │ └── tsconfig.json ├── barcode-scanner │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ ├── BarcodeScannerPlugin.kt │ │ │ │ └── GraphicOverlay.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── contributors │ │ ├── crabnebula.svg │ │ └── impierce.svg │ ├── guest-js │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ ├── BarcodeScannerPlugin.swift │ │ │ ├── CameraView.swift │ │ │ └── Utils.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── cancel.toml │ │ │ │ ├── check_permissions.toml │ │ │ │ ├── open_app_settings.toml │ │ │ │ ├── request_permissions.toml │ │ │ │ ├── scan.toml │ │ │ │ └── vibrate.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── mobile.rs │ │ └── models.rs │ └── tsconfig.json ├── biometric │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ ├── BiometricActivity.kt │ │ │ │ └── BiometricPlugin.kt │ │ │ └── res │ │ │ │ ├── layout │ │ │ │ └── auth_activity.xml │ │ │ │ └── values │ │ │ │ └── styles.xml │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── build.rs │ ├── contributors │ │ ├── crabnebula.svg │ │ └── impierce.svg │ ├── guest-js │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ └── BiometricPlugin.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── authenticate.toml │ │ │ │ └── status.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── error.rs │ │ ├── lib.rs │ │ └── models.rs │ └── tsconfig.json ├── cli │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ └── cli_matches.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── config.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── parser.rs │ │ └── parser │ │ │ └── macros.rs │ └── tsconfig.json ├── clipboard-manager │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── ClipboardPlugin.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ └── ClipboardPlugin.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── clear.toml │ │ │ │ ├── read_image.toml │ │ │ │ ├── read_text.toml │ │ │ │ ├── write_html.toml │ │ │ │ ├── write_image.toml │ │ │ │ └── write_text.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── desktop.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ └── mobile.rs │ └── tsconfig.json ├── deep-link │ ├── .test-server │ │ ├── .well-known │ │ │ └── apple-app-site-association │ │ └── server.js │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── DeepLinkPlugin.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── contributors │ │ ├── crabnebula.svg │ │ └── impierce.svg │ ├── examples │ │ └── app │ │ │ ├── .gitignore │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── public │ │ │ ├── svelte.svg │ │ │ ├── tauri.svg │ │ │ └── vite.svg │ │ │ ├── src-tauri │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── apple-app-site-association │ │ │ ├── assetlinks.json.txt │ │ │ ├── build.rs │ │ │ ├── capabilities │ │ │ │ └── app.json │ │ │ ├── gen │ │ │ │ ├── android │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── app │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── build.gradle.kts │ │ │ │ │ │ ├── proguard-rules.pro │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── main │ │ │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ │ │ ├── java │ │ │ │ │ │ │ └── com │ │ │ │ │ │ │ │ └── tauri │ │ │ │ │ │ │ │ └── deep_link_example │ │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ │ │ └── res │ │ │ │ │ │ │ ├── drawable-v24 │ │ │ │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ │ └── ic_launcher_background.xml │ │ │ │ │ │ │ ├── layout │ │ │ │ │ │ │ └── activity_main.xml │ │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_foreground.png │ │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ │ │ ├── values-night │ │ │ │ │ │ │ └── themes.xml │ │ │ │ │ │ │ ├── values │ │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ │ └── themes.xml │ │ │ │ │ │ │ └── xml │ │ │ │ │ │ │ └── file_paths.xml │ │ │ │ │ ├── build.gradle.kts │ │ │ │ │ ├── buildSrc │ │ │ │ │ │ ├── build.gradle.kts │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── main │ │ │ │ │ │ │ └── java │ │ │ │ │ │ │ └── com │ │ │ │ │ │ │ └── tauri │ │ │ │ │ │ │ └── deep_link_example │ │ │ │ │ │ │ └── kotlin │ │ │ │ │ │ │ ├── BuildTask.kt │ │ │ │ │ │ │ └── RustPlugin.kt │ │ │ │ │ ├── gradle.properties │ │ │ │ │ ├── gradle │ │ │ │ │ │ └── wrapper │ │ │ │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ │ │ │ └── gradle-wrapper.properties │ │ │ │ │ ├── gradlew │ │ │ │ │ ├── gradlew.bat │ │ │ │ │ └── settings.gradle │ │ │ │ └── apple │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── Assets.xcassets │ │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ │ ├── AppIcon-20x20@1x.png │ │ │ │ │ │ ├── AppIcon-20x20@2x-1.png │ │ │ │ │ │ ├── AppIcon-20x20@2x.png │ │ │ │ │ │ ├── AppIcon-20x20@3x.png │ │ │ │ │ │ ├── AppIcon-29x29@1x.png │ │ │ │ │ │ ├── AppIcon-29x29@2x-1.png │ │ │ │ │ │ ├── AppIcon-29x29@2x.png │ │ │ │ │ │ ├── AppIcon-29x29@3x.png │ │ │ │ │ │ ├── AppIcon-40x40@1x.png │ │ │ │ │ │ ├── AppIcon-40x40@2x-1.png │ │ │ │ │ │ ├── AppIcon-40x40@2x.png │ │ │ │ │ │ ├── AppIcon-40x40@3x.png │ │ │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ │ │ ├── AppIcon-60x60@2x.png │ │ │ │ │ │ ├── AppIcon-60x60@3x.png │ │ │ │ │ │ ├── AppIcon-76x76@1x.png │ │ │ │ │ │ ├── AppIcon-76x76@2x.png │ │ │ │ │ │ ├── AppIcon-83.5x83.5@2x.png │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ │ ├── ExportOptions.plist │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ ├── Podfile │ │ │ │ │ ├── Sources │ │ │ │ │ └── deep-link-example │ │ │ │ │ │ ├── bindings │ │ │ │ │ │ └── bindings.h │ │ │ │ │ │ └── main.mm │ │ │ │ │ ├── deep-link-example.xcodeproj │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── xcschemes │ │ │ │ │ │ └── deep-link-example_iOS.xcscheme │ │ │ │ │ ├── deep-link-example_iOS │ │ │ │ │ ├── Info.plist │ │ │ │ │ └── deep-link-example_iOS.entitlements │ │ │ │ │ └── project.yml │ │ │ ├── icons │ │ │ │ ├── 128x128.png │ │ │ │ ├── 128x128@2x.png │ │ │ │ ├── 32x32.png │ │ │ │ ├── icon.icns │ │ │ │ ├── icon.ico │ │ │ │ └── icon.png │ │ │ ├── server.js │ │ │ ├── src │ │ │ │ ├── lib.rs │ │ │ │ └── main.rs │ │ │ └── tauri.conf.json │ │ │ ├── src │ │ │ ├── assets │ │ │ │ ├── tauri.svg │ │ │ │ ├── typescript.svg │ │ │ │ └── vite.svg │ │ │ ├── main.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.json │ │ │ └── vite.config.ts │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── get_current.toml │ │ │ │ ├── is_registered.toml │ │ │ │ ├── register.toml │ │ │ │ └── unregister.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── config.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ └── template.desktop │ └── tsconfig.json ├── dialog │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ ├── DialogPlugin.kt │ │ │ │ └── FilePickerUtils.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ ├── index.ts │ │ └── init.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ ├── DialogPlugin.swift │ │ │ └── FilePickerController.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── ask.toml │ │ │ │ ├── confirm.toml │ │ │ │ ├── message.toml │ │ │ │ ├── open.toml │ │ │ │ └── save.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── desktop.rs │ │ ├── error.rs │ │ ├── init-iife.js │ │ ├── lib.rs │ │ ├── mobile.rs │ │ └── models.rs │ ├── test │ │ └── tauri.conf.json │ └── tsconfig.json ├── fs │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── FsPlugin.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── app.toml │ │ ├── autogenerated │ │ │ ├── base-directories │ │ │ │ ├── appcache.toml │ │ │ │ ├── appconfig.toml │ │ │ │ ├── appdata.toml │ │ │ │ ├── applocaldata.toml │ │ │ │ ├── applog.toml │ │ │ │ ├── audio.toml │ │ │ │ ├── cache.toml │ │ │ │ ├── config.toml │ │ │ │ ├── data.toml │ │ │ │ ├── desktop.toml │ │ │ │ ├── document.toml │ │ │ │ ├── download.toml │ │ │ │ ├── exe.toml │ │ │ │ ├── font.toml │ │ │ │ ├── home.toml │ │ │ │ ├── localdata.toml │ │ │ │ ├── log.toml │ │ │ │ ├── picture.toml │ │ │ │ ├── public.toml │ │ │ │ ├── resource.toml │ │ │ │ ├── runtime.toml │ │ │ │ ├── temp.toml │ │ │ │ ├── template.toml │ │ │ │ └── video.toml │ │ │ ├── commands │ │ │ │ ├── copy_file.toml │ │ │ │ ├── create.toml │ │ │ │ ├── exists.toml │ │ │ │ ├── fstat.toml │ │ │ │ ├── ftruncate.toml │ │ │ │ ├── lstat.toml │ │ │ │ ├── mkdir.toml │ │ │ │ ├── open.toml │ │ │ │ ├── read.toml │ │ │ │ ├── read_dir.toml │ │ │ │ ├── read_file.toml │ │ │ │ ├── read_text_file.toml │ │ │ │ ├── read_text_file_lines.toml │ │ │ │ ├── read_text_file_lines_next.toml │ │ │ │ ├── remove.toml │ │ │ │ ├── rename.toml │ │ │ │ ├── seek.toml │ │ │ │ ├── size.toml │ │ │ │ ├── stat.toml │ │ │ │ ├── truncate.toml │ │ │ │ ├── unwatch.toml │ │ │ │ ├── watch.toml │ │ │ │ ├── write.toml │ │ │ │ ├── write_file.toml │ │ │ │ └── write_text_file.toml │ │ │ └── reference.md │ │ ├── create-app-specific-dirs.toml │ │ ├── default.toml │ │ ├── deny-default.toml │ │ ├── deny-webview-data.toml │ │ ├── read-all.toml │ │ ├── read-app-specific-dirs-recursive.toml │ │ ├── read-dirs.toml │ │ ├── read-files.toml │ │ ├── read-meta.toml │ │ ├── schemas │ │ │ └── schema.json │ │ ├── scope.toml │ │ ├── write-all.toml │ │ └── write-files.toml │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── config.rs │ │ ├── desktop.rs │ │ ├── error.rs │ │ ├── file_path.rs │ │ ├── lib.rs │ │ ├── mobile.rs │ │ ├── models.rs │ │ ├── scope.rs │ │ └── watcher.rs │ └── tsconfig.json ├── geolocation │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ ├── Geolocation.kt │ │ │ │ └── GeolocationPlugin.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── build.rs │ ├── contributors │ │ ├── crabnebula.svg │ │ └── rescue.png │ ├── guest-js │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ └── GeolocationPlugin.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── check_permissions.toml │ │ │ │ ├── clear_permissions.toml │ │ │ │ ├── clear_watch.toml │ │ │ │ ├── get_current_position.toml │ │ │ │ ├── request_permissions.toml │ │ │ │ └── watch_position.toml │ │ │ └── reference.md │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── desktop.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── mobile.rs │ │ └── models.rs │ └── tsconfig.json ├── global-shortcut │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── is_registered.toml │ │ │ │ ├── register.toml │ │ │ │ ├── register_all.toml │ │ │ │ ├── unregister.toml │ │ │ │ └── unregister_all.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── error.rs │ │ └── lib.rs │ └── tsconfig.json ├── haptics │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ ├── HapticsPlugin.kt │ │ │ │ └── patterns │ │ │ │ ├── Impact.kt │ │ │ │ ├── Notification.kt │ │ │ │ ├── Pattern.kt │ │ │ │ └── Selection.kt │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── build.rs │ ├── contributors │ │ ├── crabnebula.svg │ │ └── rescue.png │ ├── guest-js │ │ ├── bindings.ts │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ └── HapticsPlugin.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── impact_feedback.toml │ │ │ │ ├── notification_feedback.toml │ │ │ │ ├── selection_feedback.toml │ │ │ │ └── vibrate.toml │ │ │ └── reference.md │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── desktop.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── mobile.rs │ │ └── models.rs │ └── tsconfig.json ├── http │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── fetch.toml │ │ │ │ ├── fetch_cancel.toml │ │ │ │ ├── fetch_read_body.toml │ │ │ │ └── fetch_send.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── reqwest_cookie_store.rs │ │ └── scope.rs │ └── tsconfig.json ├── localhost │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── banner.png │ └── src │ │ └── lib.rs ├── log │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ └── Sources │ │ │ └── LogPlugin.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ └── log.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ └── lib.rs │ └── tsconfig.json ├── mirrors.txt ├── nfc │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── NfcPlugin.kt │ │ │ └── res │ │ │ │ └── xml │ │ │ │ └── nfc_tech_filter.xml │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── build.rs │ ├── contributors │ │ ├── crabnebula.svg │ │ └── impierce.svg │ ├── guest-js │ │ └── index.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ └── NfcPlugin.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── is_available.toml │ │ │ │ ├── scan.toml │ │ │ │ └── write.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── mobile.rs │ │ └── models.rs │ └── tsconfig.json ├── notification │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ ├── AssetUtils.kt │ │ │ │ ├── ChannelManager.kt │ │ │ │ ├── Notification.kt │ │ │ │ ├── NotificationAttachment.kt │ │ │ │ ├── NotificationPlugin.kt │ │ │ │ ├── NotificationSchedule.kt │ │ │ │ ├── NotificationStorage.kt │ │ │ │ └── TauriNotificationManager.kt │ │ │ └── res │ │ │ │ └── drawable │ │ │ │ └── ic_transparent.xml │ │ │ └── test │ │ │ └── java │ │ │ └── ExampleUnitTest.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ ├── index.ts │ │ └── init.ts │ ├── ios │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ ├── Sources │ │ │ ├── Notification.swift │ │ │ ├── NotificationCategory.swift │ │ │ ├── NotificationHandler.swift │ │ │ ├── NotificationManager.swift │ │ │ └── NotificationPlugin.swift │ │ └── Tests │ │ │ └── PluginTests │ │ │ └── PluginTests.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── batch.toml │ │ │ │ ├── cancel.toml │ │ │ │ ├── check_permissions.toml │ │ │ │ ├── create_channel.toml │ │ │ │ ├── delete_channel.toml │ │ │ │ ├── get_active.toml │ │ │ │ ├── get_pending.toml │ │ │ │ ├── is_permission_granted.toml │ │ │ │ ├── list_channels.toml │ │ │ │ ├── notify.toml │ │ │ │ ├── permission_state.toml │ │ │ │ ├── register_action_types.toml │ │ │ │ ├── register_listener.toml │ │ │ │ ├── remove_active.toml │ │ │ │ ├── request_permission.toml │ │ │ │ └── show.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── desktop.rs │ │ ├── error.rs │ │ ├── init-iife.js │ │ ├── lib.rs │ │ ├── mobile.rs │ │ └── models.rs │ ├── test │ │ └── tauri.conf.json │ └── tsconfig.json ├── opener │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── OpenerPlugin.kt │ ├── api-iife.js │ ├── build.rs │ ├── guest-js │ │ ├── index.ts │ │ └── init.ts │ ├── ios │ │ ├── Package.resolved │ │ ├── Package.swift │ │ └── Sources │ │ │ └── OpenerPlugin.swift │ ├── package.json │ ├── permissions │ │ ├── allow-default-urls.toml │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── open_path.toml │ │ │ │ ├── open_url.toml │ │ │ │ └── reveal_item_in_dir.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── config.rs │ │ ├── error.rs │ │ ├── init-iife.js │ │ ├── lib.rs │ │ ├── open.rs │ │ ├── reveal_item_in_dir.rs │ │ ├── scope.rs │ │ └── scope_entry.rs │ └── tsconfig.json ├── os │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── arch.toml │ │ │ │ ├── exe_extension.toml │ │ │ │ ├── family.toml │ │ │ │ ├── hostname.toml │ │ │ │ ├── locale.toml │ │ │ │ ├── os_type.toml │ │ │ │ ├── platform.toml │ │ │ │ └── version.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── error.rs │ │ ├── init.js │ │ └── lib.rs │ └── tsconfig.json ├── persisted-scope │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── banner.png │ └── src │ │ └── lib.rs ├── positioner │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── move_window.toml │ │ │ │ ├── move_window_constrained.toml │ │ │ │ └── set_tray_icon_state.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── ext.rs │ │ └── lib.rs │ └── tsconfig.json ├── process │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── exit.toml │ │ │ │ └── restart.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ └── lib.rs │ └── tsconfig.json ├── shell │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── ShellPlugin.kt │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ ├── index.ts │ │ └── init.ts │ ├── ios │ │ ├── Package.resolved │ │ ├── Package.swift │ │ └── Sources │ │ │ └── ShellPlugin.swift │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── execute.toml │ │ │ │ ├── kill.toml │ │ │ │ ├── open.toml │ │ │ │ ├── spawn.toml │ │ │ │ └── stdin_write.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── config.rs │ │ ├── error.rs │ │ ├── init-iife.js │ │ ├── lib.rs │ │ ├── open.rs │ │ ├── process │ │ │ └── mod.rs │ │ ├── scope.rs │ │ └── scope_entry.rs │ ├── test │ │ └── test.txt │ └── tsconfig.json ├── single-instance │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── banner.png │ ├── examples │ │ └── vanilla │ │ │ ├── .gitignore │ │ │ ├── dist │ │ │ └── .gitkeep │ │ │ ├── package.json │ │ │ ├── public │ │ │ └── index.html │ │ │ └── src-tauri │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── icons │ │ │ ├── 128x128.png │ │ │ ├── 128x128@2x.png │ │ │ ├── 32x32.png │ │ │ ├── icon.icns │ │ │ ├── icon.ico │ │ │ └── icon.png │ │ │ ├── src │ │ │ └── main.rs │ │ │ └── tauri.conf.json │ └── src │ │ ├── lib.rs │ │ ├── platform_impl │ │ ├── linux.rs │ │ ├── macos.rs │ │ └── windows.rs │ │ └── semver_compat.rs ├── sql │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── close.toml │ │ │ │ ├── execute.toml │ │ │ │ ├── load.toml │ │ │ │ └── select.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── decode │ │ │ ├── mod.rs │ │ │ ├── mysql.rs │ │ │ ├── postgres.rs │ │ │ └── sqlite.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ └── wrapper.rs │ └── tsconfig.json ├── store │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── examples │ │ └── AppSettingsManager │ │ │ ├── .gitignore │ │ │ ├── .vscode │ │ │ └── extensions.json │ │ │ ├── README.md │ │ │ ├── dist │ │ │ └── .gitkeep │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── src-tauri │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── icons │ │ │ │ ├── 128x128.png │ │ │ │ ├── 128x128@2x.png │ │ │ │ ├── 32x32.png │ │ │ │ ├── Square107x107Logo.png │ │ │ │ ├── Square142x142Logo.png │ │ │ │ ├── Square150x150Logo.png │ │ │ │ ├── Square284x284Logo.png │ │ │ │ ├── Square30x30Logo.png │ │ │ │ ├── Square310x310Logo.png │ │ │ │ ├── Square44x44Logo.png │ │ │ │ ├── Square71x71Logo.png │ │ │ │ ├── Square89x89Logo.png │ │ │ │ ├── StoreLogo.png │ │ │ │ ├── icon.icns │ │ │ │ ├── icon.ico │ │ │ │ └── icon.png │ │ │ ├── src │ │ │ │ ├── app │ │ │ │ │ ├── mod.rs │ │ │ │ │ └── settings.rs │ │ │ │ └── main.rs │ │ │ └── tauri.conf.json │ │ │ ├── src │ │ │ ├── assets │ │ │ │ ├── tauri.svg │ │ │ │ ├── typescript.svg │ │ │ │ └── vite.svg │ │ │ ├── main.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.json │ │ │ └── vite.config.ts │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── clear.toml │ │ │ │ ├── delete.toml │ │ │ │ ├── entries.toml │ │ │ │ ├── get.toml │ │ │ │ ├── get_store.toml │ │ │ │ ├── has.toml │ │ │ │ ├── keys.toml │ │ │ │ ├── length.toml │ │ │ │ ├── load.toml │ │ │ │ ├── reload.toml │ │ │ │ ├── reset.toml │ │ │ │ ├── save.toml │ │ │ │ ├── set.toml │ │ │ │ └── values.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── error.rs │ │ ├── lib.rs │ │ └── store.rs │ └── tsconfig.json ├── stronghold │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── create_client.toml │ │ │ │ ├── destroy.toml │ │ │ │ ├── execute_procedure.toml │ │ │ │ ├── get_store_record.toml │ │ │ │ ├── initialize.toml │ │ │ │ ├── load_client.toml │ │ │ │ ├── remove_secret.toml │ │ │ │ ├── remove_store_record.toml │ │ │ │ ├── save.toml │ │ │ │ ├── save_secret.toml │ │ │ │ └── save_store_record.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── kdf.rs │ │ ├── lib.rs │ │ └── stronghold.rs │ └── tsconfig.json ├── updater │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── check.toml │ │ │ │ ├── download.toml │ │ │ │ ├── download_and_install.toml │ │ │ │ └── install.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── commands.rs │ │ ├── config.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ └── updater.rs │ ├── tests │ │ ├── app-updater │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── icons │ │ │ │ ├── 128x128.png │ │ │ │ ├── 128x128@2x.png │ │ │ │ ├── 32x32.png │ │ │ │ ├── icon.icns │ │ │ │ ├── icon.ico │ │ │ │ └── icon.png │ │ │ ├── src │ │ │ │ └── main.rs │ │ │ ├── tauri.conf.json │ │ │ └── tests │ │ │ │ └── update.rs │ │ └── updater-migration │ │ │ ├── Cargo.toml │ │ │ ├── icons │ │ │ ├── 128x128.png │ │ │ ├── 128x128@2x.png │ │ │ ├── 32x32.png │ │ │ ├── icon.icns │ │ │ ├── icon.ico │ │ │ └── icon.png │ │ │ ├── tests │ │ │ └── update.rs │ │ │ ├── v1-app │ │ │ ├── .gitignore │ │ │ ├── Cargo.lock │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── main.rs │ │ │ └── tauri.conf.json │ │ │ └── v2-app │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── src │ │ │ └── main.rs │ │ │ └── tauri.conf.json │ └── tsconfig.json ├── upload │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── download.toml │ │ │ │ └── upload.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ ├── lib.rs │ │ └── transfer_stats.rs │ ├── test │ │ └── test.txt │ └── tsconfig.json ├── websocket │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── examples │ │ └── tauri-app │ │ │ ├── .gitignore │ │ │ ├── dist │ │ │ └── .gitkeep │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── public │ │ │ └── vite.svg │ │ │ ├── src-tauri │ │ │ ├── .gitignore │ │ │ ├── Cargo.toml │ │ │ ├── build.rs │ │ │ ├── icons │ │ │ │ ├── 128x128.png │ │ │ │ ├── 128x128@2x.png │ │ │ │ ├── 32x32.png │ │ │ │ ├── Square107x107Logo.png │ │ │ │ ├── Square142x142Logo.png │ │ │ │ ├── Square150x150Logo.png │ │ │ │ ├── Square284x284Logo.png │ │ │ │ ├── Square30x30Logo.png │ │ │ │ ├── Square310x310Logo.png │ │ │ │ ├── Square44x44Logo.png │ │ │ │ ├── Square71x71Logo.png │ │ │ │ ├── Square89x89Logo.png │ │ │ │ ├── StoreLogo.png │ │ │ │ ├── icon.icns │ │ │ │ ├── icon.ico │ │ │ │ └── icon.png │ │ │ ├── rustfmt.toml │ │ │ ├── src │ │ │ │ └── main.rs │ │ │ └── tauri.conf.json │ │ │ ├── src │ │ │ ├── main.ts │ │ │ ├── style.css │ │ │ ├── typescript.svg │ │ │ └── vite-env.d.ts │ │ │ └── tsconfig.json │ ├── guest-js │ │ └── index.ts │ ├── package.json │ ├── permissions │ │ ├── autogenerated │ │ │ ├── commands │ │ │ │ ├── connect.toml │ │ │ │ └── send.toml │ │ │ └── reference.md │ │ ├── default.toml │ │ └── schemas │ │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ │ └── lib.rs │ └── tsconfig.json └── window-state │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── api-iife.js │ ├── banner.png │ ├── build.rs │ ├── guest-js │ └── index.ts │ ├── package.json │ ├── permissions │ ├── autogenerated │ │ ├── commands │ │ │ ├── filename.toml │ │ │ ├── restore_state.toml │ │ │ └── save_window_state.toml │ │ └── reference.md │ ├── default.toml │ └── schemas │ │ └── schema.json │ ├── rollup.config.js │ ├── src │ ├── cmd.rs │ └── lib.rs │ └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── renovate.json ├── shared ├── rollup.config.js └── template │ ├── Cargo.toml │ ├── LICENSE.spdx │ ├── LICENSE_APACHE-2.0 │ ├── LICENSE_MIT │ ├── README.md │ ├── SECURITY.md │ ├── android │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ ├── settings.gradle │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── ExamplePlugin.kt │ │ └── test │ │ └── java │ │ └── ExampleUnitTest.kt │ ├── build.rs │ ├── guest-js │ └── index.ts │ ├── ios │ ├── .gitignore │ ├── Package.swift │ ├── README.md │ ├── Sources │ │ └── ExamplePlugin.swift │ └── Tests │ │ └── PluginTests │ │ └── PluginTests.swift │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── commands.rs │ ├── desktop.rs │ ├── error.rs │ ├── lib.rs │ ├── mobile.rs │ └── models.rs │ └── tsconfig.json ├── taplo.toml └── tsconfig.base.json /.cargo/audit.toml: -------------------------------------------------------------------------------- 1 | [advisories] 2 | ignore = [ 3 | # time 0.1 4 | "RUSTSEC-2020-0071", 5 | # needs sqlx 0.7 (still in alpha) 6 | "RUSTSEC-2022-0090", 7 | # wry needs kuchiki on Android 8 | "RUSTSEC-2023-0019", 9 | # atty is only used when the `colored` feature is enabled on tauri-plugin-log 10 | "RUSTSEC-2021-0145", 11 | ] 12 | -------------------------------------------------------------------------------- /.changes/add-allow-downgrades.md: -------------------------------------------------------------------------------- 1 | --- 2 | "updater": minor 3 | "updater-js": minor 4 | --- 5 | 6 | Add allowDowngrades parameter to check command 7 | 8 | Added a new optional `allowDowngrades` parameter to the JavaScript check command that allows the updater to consider versions that are lower than the current version as valid updates. When enabled, the version comparator will accept any version that is different from the current version, effectively allowing downgrades. 9 | -------------------------------------------------------------------------------- /.changes/autostart-feature.md: -------------------------------------------------------------------------------- 1 | --- 2 | autostart: minor 3 | autostart-js: minor 4 | --- 5 | 6 | Added a new builder method app_name() to allow customizing the application name in the autostart entry. -------------------------------------------------------------------------------- /.changes/log-keep-some.md: -------------------------------------------------------------------------------- 1 | --- 2 | log: minor 3 | log-js: minor 4 | --- 5 | 6 | Added the `KeepSome` rotation strategy. Like `KeepAll` it will rename files when the max file size is exceeded but will keep only the specified amount of files around. 7 | -------------------------------------------------------------------------------- /.changes/opener-require-literal-leading-dot.md: -------------------------------------------------------------------------------- 1 | --- 2 | opener: minor 3 | opener-js: minor 4 | --- 5 | 6 | Similar to the `fs` plugin the `opener` plugin now supports a `requireLiteralLeadingDot` configuration in `tauri.conf.json`. -------------------------------------------------------------------------------- /.changes/updater-download-headers.md: -------------------------------------------------------------------------------- 1 | --- 2 | "updater": patch 3 | "updater-js": patch 4 | --- 5 | 6 | Fix headers option in `Update.download` and `Update.downloadAndInstall` doesn't work with `Record | Headers` types -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Order is important; the last matching pattern takes the most precedence. 2 | * @tauri-apps/plugin-maintainers 3 | 4 | # Currently CI/CD for plugins are in heavy flux, and the plugin team manages it themselves. 5 | # .github @tauri-apps/wg-devops 6 | -------------------------------------------------------------------------------- /.github/sponsors/rescue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/.github/sponsors/rescue.png -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | link-workspace-packages=true 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | /.changes 2 | /.vscode 3 | 4 | # dependcies and artifacts directories 5 | node_modules/ 6 | target/ 7 | dist-js/ 8 | dist/ 9 | 10 | # lock files 11 | pnpm-lock.yaml 12 | 13 | # examples gen directory 14 | examples/*/src-tauri/gen/ 15 | plugins/*/examples/*/src-tauri/gen/ 16 | 17 | # autogenerated files 18 | **/autogenerated/**/*.md 19 | api-iife.js 20 | init-iife.js 21 | CHANGELOG.md 22 | *schema.json 23 | 24 | # mobile build 25 | **/ios/.build 26 | **/.tauri 27 | plugins/*/android/build 28 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "semi": false, 4 | "trailingComma": "none", 5 | "experimentalOperatorPosition": "start" 6 | } 7 | -------------------------------------------------------------------------------- /.scripts/ci/has-diff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if git diff --quiet --ignore-submodules HEAD 4 | then 5 | echo "working directory is clean" 6 | else 7 | echo "found diff" 8 | git diff --name-status HEAD 9 | exit 1 10 | fi 11 | -------------------------------------------------------------------------------- /.taurignore: -------------------------------------------------------------------------------- 1 | plugins/*/permissions/autogenerated/ 2 | plugins/*/android/.tauri/tauri-api/build/ 3 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "rust-lang.rust-analyzer", 4 | "EditorConfig.EditorConfig", 5 | "esbenp.prettier-vscode", 6 | "tamasfe.even-better-toml" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /examples/api/.setup-cross.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright 2019-2023 Tauri Programme within The Commons Conservancy 3 | # SPDX-License-Identifier: Apache-2.0 4 | # SPDX-License-Identifier: MIT 5 | 6 | export ICONS_VOLUME="$(realpath icons)" 7 | export DIST_VOLUME="$(realpath dist)" 8 | export ISOLATION_VOLUME="$(realpath isolation-dist)" 9 | -------------------------------------------------------------------------------- /examples/api/.taurignore: -------------------------------------------------------------------------------- 1 | src-tauri/locales/ 2 | src-tauri/Cross.toml 3 | src-tauri/.gitignore 4 | -------------------------------------------------------------------------------- /examples/api/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | Svelte + Vite App 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /examples/api/isolation-dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Isolation Secure Script 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/api/isolation-dist/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | window.__TAURI_ISOLATION_HOOK__ = (payload) => { 6 | return payload 7 | } 8 | -------------------------------------------------------------------------------- /examples/api/public/tauri_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/public/tauri_logo.png -------------------------------------------------------------------------------- /examples/api/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/screenshot.png -------------------------------------------------------------------------------- /examples/api/src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | 5 | # cargo-mobile 6 | .cargo/ 7 | 8 | gen/schemas/*.json 9 | !gen/schemas/desktop-schema.json 10 | !gen/schemas/mobile-schema.json 11 | -------------------------------------------------------------------------------- /examples/api/src-tauri/.taurignore: -------------------------------------------------------------------------------- 1 | tauri-plugin-sample/ -------------------------------------------------------------------------------- /examples/api/src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build(); 7 | } 8 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | indent_size = 2 9 | end_of_line = lf 10 | charset = utf-8 11 | trim_trailing_whitespace = false 12 | insert_final_newline = false -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | key.properties 17 | 18 | /.tauri 19 | /tauri.settings.gradle -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/.idea/kotlinc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/.gitignore: -------------------------------------------------------------------------------- 1 | /src/main/java/com/tauri/api/generated 2 | /src/main/jniLibs/**/*.so 3 | /src/main/assets/tauri.conf.json 4 | /tauri.build.gradle.kts 5 | /proguard-tauri.pro 6 | /tauri.properties -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/java/com/tauri/api/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.tauri.api 2 | 3 | class MainActivity : TauriActivity() -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Tauri API 3 | Tauri API 4 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/app/src/main/res/xml/file_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/buildSrc/build.gradle.kts: -------------------------------------------------------------------------------- 1 | plugins { 2 | `kotlin-dsl` 3 | } 4 | 5 | gradlePlugin { 6 | plugins { 7 | create("pluginsForCoolKids") { 8 | id = "rust" 9 | implementationClass = "RustPlugin" 10 | } 11 | } 12 | } 13 | 14 | repositories { 15 | google() 16 | mavenCentral() 17 | } 18 | 19 | dependencies { 20 | compileOnly(gradleApi()) 21 | implementation("com.android.tools.build:gradle:8.5.1") 22 | } 23 | 24 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 10 19:22:52 CST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | apply from: 'tauri.settings.gradle' 4 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/.gitignore: -------------------------------------------------------------------------------- 1 | xcuserdata/ 2 | build/ 3 | Externals/ 4 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "version": 1, 4 | "author": "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/ExportOptions.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | method 6 | debugging 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Sources/api/bindings/bindings.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace ffi { 4 | extern "C" { 5 | void start_app(); 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/Sources/api/main.mm: -------------------------------------------------------------------------------- 1 | #include "bindings/bindings.h" 2 | 3 | int main(int argc, char * argv[]) { 4 | ffi::start_app(); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/api.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/api.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/api.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildSystemType 6 | Original 7 | DisableBuildSystemDeprecationDiagnostic 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/api/src-tauri/gen/apple/api_iOS/api_iOS.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.developer.nfc.readersession.formats 6 | 7 | TAG 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/tray_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/tray_icon.png -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/tray_icon_with_transparency.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/tray_icon_with_transparency.ico -------------------------------------------------------------------------------- /examples/api/src-tauri/icons/tray_icon_with_transparency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/examples/api/src-tauri/icons/tray_icon_with_transparency.png -------------------------------------------------------------------------------- /examples/api/src-tauri/src/main.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | // Prevents additional console window on Windows in release, DO NOT REMOVE!! 6 | #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] 7 | 8 | fn main() { 9 | api_lib::run(); 10 | } 11 | -------------------------------------------------------------------------------- /examples/api/src/main.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import 'uno.css' 6 | import './app.css' 7 | import App from './App.svelte' 8 | import { mount } from 'svelte' 9 | 10 | const app = mount(App, { 11 | target: document.querySelector('#app') 12 | }) 13 | 14 | export default app 15 | -------------------------------------------------------------------------------- /plugins/autostart/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/autostart/banner.png -------------------------------------------------------------------------------- /plugins/autostart/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["enable", "disable", "is_enabled"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/autostart/permissions/autogenerated/commands/disable.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-disable" 7 | description = "Enables the disable command without any pre-configured scope." 8 | commands.allow = ["disable"] 9 | 10 | [[permission]] 11 | identifier = "deny-disable" 12 | description = "Denies the disable command without any pre-configured scope." 13 | commands.deny = ["disable"] 14 | -------------------------------------------------------------------------------- /plugins/autostart/permissions/autogenerated/commands/enable.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-enable" 7 | description = "Enables the enable command without any pre-configured scope." 8 | commands.allow = ["enable"] 9 | 10 | [[permission]] 11 | identifier = "deny-enable" 12 | description = "Denies the enable command without any pre-configured scope." 13 | commands.deny = ["enable"] 14 | -------------------------------------------------------------------------------- /plugins/autostart/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = """ 4 | This permission set configures if your 5 | application can enable or disable auto 6 | starting the application on boot. 7 | 8 | #### Granted Permissions 9 | 10 | It allows all to check, enable and 11 | disable the automatic start on boot. 12 | 13 | """ 14 | 15 | permissions = ["allow-enable", "allow-disable", "allow-is-enabled"] 16 | -------------------------------------------------------------------------------- /plugins/autostart/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/autostart/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/barcode-scanner/banner.png -------------------------------------------------------------------------------- /plugins/barcode-scanner/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin Barcode Scanner 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | 7 | @testable import ExamplePlugin 8 | 9 | final class ExamplePluginTests: XCTestCase { 10 | func testExample() throws { 11 | let plugin = ExamplePlugin() 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/permissions/autogenerated/commands/cancel.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-cancel" 7 | description = "Enables the cancel command without any pre-configured scope." 8 | commands.allow = ["cancel"] 9 | 10 | [[permission]] 11 | identifier = "deny-cancel" 12 | description = "Denies the cancel command without any pre-configured scope." 13 | commands.deny = ["cancel"] 14 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/permissions/autogenerated/commands/scan.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-scan" 7 | description = "Enables the scan command without any pre-configured scope." 8 | commands.allow = ["scan"] 9 | 10 | [[permission]] 11 | identifier = "deny-scan" 12 | description = "Denies the scan command without any pre-configured scope." 13 | commands.deny = ["scan"] 14 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/permissions/autogenerated/commands/vibrate.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-vibrate" 7 | description = "Enables the vibrate command without any pre-configured scope." 8 | commands.allow = ["vibrate"] 9 | 10 | [[permission]] 11 | identifier = "deny-vibrate" 12 | description = "Denies the vibrate command without any pre-configured scope." 13 | commands.deny = ["vibrate"] 14 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/src/mobile.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/src/models.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | -------------------------------------------------------------------------------- /plugins/barcode-scanner/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/biometric/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/biometric/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/biometric/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /plugins/biometric/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/biometric/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin {{ plugin_name_original }} 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/biometric/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/biometric/permissions/autogenerated/commands/status.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-status" 7 | description = "Enables the status command without any pre-configured scope." 8 | commands.allow = ["status"] 9 | 10 | [[permission]] 11 | identifier = "deny-status" 12 | description = "Denies the status command without any pre-configured scope." 13 | commands.deny = ["status"] 14 | -------------------------------------------------------------------------------- /plugins/biometric/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = """ 4 | This permission set configures which 5 | biometric features are by default exposed. 6 | 7 | #### Granted Permissions 8 | 9 | It allows acccess to all biometric commands. 10 | 11 | """ 12 | 13 | permissions = ["allow-authenticate", "allow-status"] 14 | -------------------------------------------------------------------------------- /plugins/biometric/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/biometric/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/cli/api-iife.js: -------------------------------------------------------------------------------- 1 | if("__TAURI__"in window){var __TAURI_PLUGIN_CLI__=function(_){"use strict";return"function"==typeof SuppressedError&&SuppressedError,_.getMatches=async function(){return await async function(_,n={},e){return window.__TAURI_INTERNALS__.invoke(_,n,e)}("plugin:cli|cli_matches")},_}({});Object.defineProperty(window.__TAURI__,"cli",{value:__TAURI_PLUGIN_CLI__})} 2 | -------------------------------------------------------------------------------- /plugins/cli/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/cli/banner.png -------------------------------------------------------------------------------- /plugins/cli/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["cli_matches"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/cli/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = "Allows reading the CLI matches" 4 | permissions = ["allow-cli-matches"] 5 | -------------------------------------------------------------------------------- /plugins/cli/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/clipboard-manager/banner.png -------------------------------------------------------------------------------- /plugins/clipboard-manager/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin {{ plugin_name_original }} 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ClipboardPlugin 7 | 8 | final class ClipboardPluginTests: XCTestCase { 9 | func testClipboard() throws { 10 | let plugin = ClipboardPlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/permissions/autogenerated/commands/clear.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-clear" 7 | description = "Enables the clear command without any pre-configured scope." 8 | commands.allow = ["clear"] 9 | 10 | [[permission]] 11 | identifier = "deny-clear" 12 | description = "Denies the clear command without any pre-configured scope." 13 | commands.deny = ["clear"] 14 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = """ 4 | No features are enabled by default, as we believe 5 | the clipboard can be inherently dangerous and it is 6 | application specific if read and/or write access is needed. 7 | 8 | Clipboard interaction needs to be explicitly enabled. 9 | """ 10 | 11 | permissions = [] 12 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/clipboard-manager/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/deep-link/.test-server/.well-known/apple-app-site-association: -------------------------------------------------------------------------------- 1 | { 2 | "applinks": { 3 | "details": [ 4 | { 5 | "appIDs": [ 6 | "Q93MBH6S2F.com.tauri.deep-link-example" 7 | ], 8 | "components": [ 9 | { 10 | "/": "/open/*", 11 | "comment": "Matches any URL whose path starts with /open/" 12 | } 13 | ] 14 | } 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /plugins/deep-link/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/deep-link/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/deep-link/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/deep-link/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/banner.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist-ssr 12 | *.local 13 | 14 | # Editor directories and files 15 | .vscode/* 16 | !.vscode/extensions.json 17 | .idea 18 | .DS_Store 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | 25 | dist/ 26 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/README.md: -------------------------------------------------------------------------------- 1 | # Tauri + Vanilla TS 2 | 3 | This template should help get you started developing with Tauri in vanilla HTML, CSS and Typescript. 4 | 5 | ## Recommended IDE Setup 6 | 7 | - [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) 8 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | 5 | /gen/schemas 6 | 7 | .cargo -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/apple-app-site-association: -------------------------------------------------------------------------------- 1 | { 2 | "applinks": { 3 | "details": [ 4 | { 5 | "appIDs": [ "DEVELOPMENT_TEAM_ID_HERE.com.tauri.deep-link-example" ], 6 | "components": [ 7 | { 8 | "/": "/open/*", 9 | "comment": "Matches any URL whose path starts with /open/" 10 | } 11 | ] 12 | } 13 | ] 14 | } 15 | } -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/assetlinks.json.txt: -------------------------------------------------------------------------------- 1 | see https://fabianlars.de/.well-known/assetlinks.json -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/capabilities/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../gen/schemas/desktop-schema.json", 3 | "identifier": "run-app-base", 4 | "description": "Base permissions to run the app", 5 | "windows": ["main"], 6 | "permissions": [ 7 | "core:default", 8 | "deep-link:allow-get-current", 9 | "deep-link:default" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | indent_size = 2 9 | end_of_line = lf 10 | charset = utf-8 11 | trim_trailing_whitespace = false 12 | insert_final_newline = false -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | key.properties 17 | 18 | /.tauri 19 | /tauri.settings.gradle -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/.gitignore: -------------------------------------------------------------------------------- 1 | /src/main/java/com/tauri/deep_link_example/generated 2 | /src/main/jniLibs/**/*.so 3 | /src/main/assets/tauri.conf.json 4 | /tauri.build.gradle.kts 5 | /proguard-tauri.pro 6 | /tauri.properties -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/java/com/tauri/deep_link_example/MainActivity.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | package com.tauri.deep_link_example 6 | 7 | class MainActivity : TauriActivity() 8 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | deep-link-example 3 | deep-link-example 4 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/app/src/main/res/xml/file_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 10 19:22:52 CST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | apply from: 'tauri.settings.gradle' 4 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/.gitignore: -------------------------------------------------------------------------------- 1 | xcuserdata/ 2 | build/ 3 | Externals/ 4 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "version": 1, 4 | "author": "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/ExportOptions.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | method 6 | debugging 7 | 8 | 9 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Sources/deep-link-example/bindings/bindings.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace ffi { 4 | extern "C" { 5 | void start_app(); 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/Sources/deep-link-example/main.mm: -------------------------------------------------------------------------------- 1 | #include "bindings/bindings.h" 2 | 3 | int main(int argc, char * argv[]) { 4 | ffi::start_app(); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/deep-link-example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/deep-link-example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/deep-link-example.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildSystemType 6 | Original 7 | DisableBuildSystemDeprecationDiagnostic 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/gen/apple/deep-link-example_iOS/deep-link-example_iOS.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.developer.associated-domains 6 | 7 | applinks:fabianlars.de 8 | applinks:tauri.app 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/deep-link/examples/app/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /plugins/deep-link/examples/app/src-tauri/src/main.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | // Prevents additional console window on Windows in release, DO NOT REMOVE!! 6 | #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] 7 | 8 | fn main() { 9 | #[cfg(desktop)] 10 | deep_link_example::run(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/deep-link/permissions/autogenerated/commands/register.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-register" 7 | description = "Enables the register command without any pre-configured scope." 8 | commands.allow = ["register"] 9 | 10 | [[permission]] 11 | identifier = "deny-register" 12 | description = "Denies the register command without any pre-configured scope." 13 | commands.deny = ["register"] 14 | -------------------------------------------------------------------------------- /plugins/deep-link/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = "Allows reading the opened deep link via the get_current command" 4 | permissions = ["allow-get-current"] 5 | -------------------------------------------------------------------------------- /plugins/deep-link/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/deep-link/src/template.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Name={name} 4 | Exec={exec} %u 5 | Terminal=false 6 | MimeType={mime_type} 7 | NoDisplay=true -------------------------------------------------------------------------------- /plugins/deep-link/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/dialog/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/dialog/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/dialog/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/dialog/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/dialog/banner.png -------------------------------------------------------------------------------- /plugins/dialog/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/dialog/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin Dialog 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/dialog/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/dialog/permissions/autogenerated/commands/ask.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-ask" 7 | description = "Enables the ask command without any pre-configured scope." 8 | commands.allow = ["ask"] 9 | 10 | [[permission]] 11 | identifier = "deny-ask" 12 | description = "Denies the ask command without any pre-configured scope." 13 | commands.deny = ["ask"] 14 | -------------------------------------------------------------------------------- /plugins/dialog/permissions/autogenerated/commands/confirm.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-confirm" 7 | description = "Enables the confirm command without any pre-configured scope." 8 | commands.allow = ["confirm"] 9 | 10 | [[permission]] 11 | identifier = "deny-confirm" 12 | description = "Denies the confirm command without any pre-configured scope." 13 | commands.deny = ["confirm"] 14 | -------------------------------------------------------------------------------- /plugins/dialog/permissions/autogenerated/commands/message.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-message" 7 | description = "Enables the message command without any pre-configured scope." 8 | commands.allow = ["message"] 9 | 10 | [[permission]] 11 | identifier = "deny-message" 12 | description = "Denies the message command without any pre-configured scope." 13 | commands.deny = ["message"] 14 | -------------------------------------------------------------------------------- /plugins/dialog/permissions/autogenerated/commands/open.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-open" 7 | description = "Enables the open command without any pre-configured scope." 8 | commands.allow = ["open"] 9 | 10 | [[permission]] 11 | identifier = "deny-open" 12 | description = "Denies the open command without any pre-configured scope." 13 | commands.deny = ["open"] 14 | -------------------------------------------------------------------------------- /plugins/dialog/permissions/autogenerated/commands/save.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-save" 7 | description = "Enables the save command without any pre-configured scope." 8 | commands.allow = ["save"] 9 | 10 | [[permission]] 11 | identifier = "deny-save" 12 | description = "Denies the save command without any pre-configured scope." 13 | commands.deny = ["save"] 14 | -------------------------------------------------------------------------------- /plugins/dialog/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | This permission set configures the types of dialogs 6 | available from the dialog plugin. 7 | 8 | #### Granted Permissions 9 | 10 | All dialog types are enabled. 11 | 12 | 13 | """ 14 | permissions = [ 15 | "allow-ask", 16 | "allow-confirm", 17 | "allow-message", 18 | "allow-save", 19 | "allow-open", 20 | ] 21 | -------------------------------------------------------------------------------- /plugins/dialog/src/init-iife.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";async function n(n,i={},o){return window.__TAURI_INTERNALS__.invoke(n,i,o)}"function"==typeof SuppressedError&&SuppressedError,window.alert=function(i){n("plugin:dialog|message",{message:i.toString()})},window.confirm=async function(i){return await n("plugin:dialog|confirm",{message:i.toString()})}}(); 2 | -------------------------------------------------------------------------------- /plugins/dialog/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/fs/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/fs/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/fs/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/fs/banner.png -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/copy_file.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-copy-file" 7 | description = "Enables the copy_file command without any pre-configured scope." 8 | commands.allow = ["copy_file"] 9 | 10 | [[permission]] 11 | identifier = "deny-copy-file" 12 | description = "Denies the copy_file command without any pre-configured scope." 13 | commands.deny = ["copy_file"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/create.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-create" 7 | description = "Enables the create command without any pre-configured scope." 8 | commands.allow = ["create"] 9 | 10 | [[permission]] 11 | identifier = "deny-create" 12 | description = "Denies the create command without any pre-configured scope." 13 | commands.deny = ["create"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/exists.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-exists" 7 | description = "Enables the exists command without any pre-configured scope." 8 | commands.allow = ["exists"] 9 | 10 | [[permission]] 11 | identifier = "deny-exists" 12 | description = "Denies the exists command without any pre-configured scope." 13 | commands.deny = ["exists"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/fstat.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-fstat" 7 | description = "Enables the fstat command without any pre-configured scope." 8 | commands.allow = ["fstat"] 9 | 10 | [[permission]] 11 | identifier = "deny-fstat" 12 | description = "Denies the fstat command without any pre-configured scope." 13 | commands.deny = ["fstat"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/ftruncate.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-ftruncate" 7 | description = "Enables the ftruncate command without any pre-configured scope." 8 | commands.allow = ["ftruncate"] 9 | 10 | [[permission]] 11 | identifier = "deny-ftruncate" 12 | description = "Denies the ftruncate command without any pre-configured scope." 13 | commands.deny = ["ftruncate"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/lstat.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-lstat" 7 | description = "Enables the lstat command without any pre-configured scope." 8 | commands.allow = ["lstat"] 9 | 10 | [[permission]] 11 | identifier = "deny-lstat" 12 | description = "Denies the lstat command without any pre-configured scope." 13 | commands.deny = ["lstat"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/mkdir.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-mkdir" 7 | description = "Enables the mkdir command without any pre-configured scope." 8 | commands.allow = ["mkdir"] 9 | 10 | [[permission]] 11 | identifier = "deny-mkdir" 12 | description = "Denies the mkdir command without any pre-configured scope." 13 | commands.deny = ["mkdir"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/open.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-open" 7 | description = "Enables the open command without any pre-configured scope." 8 | commands.allow = ["open"] 9 | 10 | [[permission]] 11 | identifier = "deny-open" 12 | description = "Denies the open command without any pre-configured scope." 13 | commands.deny = ["open"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/read.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-read" 7 | description = "Enables the read command without any pre-configured scope." 8 | commands.allow = ["read"] 9 | 10 | [[permission]] 11 | identifier = "deny-read" 12 | description = "Denies the read command without any pre-configured scope." 13 | commands.deny = ["read"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/read_dir.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-read-dir" 7 | description = "Enables the read_dir command without any pre-configured scope." 8 | commands.allow = ["read_dir"] 9 | 10 | [[permission]] 11 | identifier = "deny-read-dir" 12 | description = "Denies the read_dir command without any pre-configured scope." 13 | commands.deny = ["read_dir"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/read_file.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-read-file" 7 | description = "Enables the read_file command without any pre-configured scope." 8 | commands.allow = ["read_file"] 9 | 10 | [[permission]] 11 | identifier = "deny-read-file" 12 | description = "Denies the read_file command without any pre-configured scope." 13 | commands.deny = ["read_file"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/remove.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-remove" 7 | description = "Enables the remove command without any pre-configured scope." 8 | commands.allow = ["remove"] 9 | 10 | [[permission]] 11 | identifier = "deny-remove" 12 | description = "Denies the remove command without any pre-configured scope." 13 | commands.deny = ["remove"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/rename.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-rename" 7 | description = "Enables the rename command without any pre-configured scope." 8 | commands.allow = ["rename"] 9 | 10 | [[permission]] 11 | identifier = "deny-rename" 12 | description = "Denies the rename command without any pre-configured scope." 13 | commands.deny = ["rename"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/seek.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-seek" 7 | description = "Enables the seek command without any pre-configured scope." 8 | commands.allow = ["seek"] 9 | 10 | [[permission]] 11 | identifier = "deny-seek" 12 | description = "Denies the seek command without any pre-configured scope." 13 | commands.deny = ["seek"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/size.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-size" 7 | description = "Enables the size command without any pre-configured scope." 8 | commands.allow = ["size"] 9 | 10 | [[permission]] 11 | identifier = "deny-size" 12 | description = "Denies the size command without any pre-configured scope." 13 | commands.deny = ["size"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/stat.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-stat" 7 | description = "Enables the stat command without any pre-configured scope." 8 | commands.allow = ["stat"] 9 | 10 | [[permission]] 11 | identifier = "deny-stat" 12 | description = "Denies the stat command without any pre-configured scope." 13 | commands.deny = ["stat"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/truncate.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-truncate" 7 | description = "Enables the truncate command without any pre-configured scope." 8 | commands.allow = ["truncate"] 9 | 10 | [[permission]] 11 | identifier = "deny-truncate" 12 | description = "Denies the truncate command without any pre-configured scope." 13 | commands.deny = ["truncate"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/unwatch.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-unwatch" 7 | description = "Enables the unwatch command without any pre-configured scope." 8 | commands.allow = ["unwatch"] 9 | 10 | [[permission]] 11 | identifier = "deny-unwatch" 12 | description = "Denies the unwatch command without any pre-configured scope." 13 | commands.deny = ["unwatch"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/watch.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-watch" 7 | description = "Enables the watch command without any pre-configured scope." 8 | commands.allow = ["watch"] 9 | 10 | [[permission]] 11 | identifier = "deny-watch" 12 | description = "Denies the watch command without any pre-configured scope." 13 | commands.deny = ["watch"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/autogenerated/commands/write.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-write" 7 | description = "Enables the write command without any pre-configured scope." 8 | commands.allow = ["write"] 9 | 10 | [[permission]] 11 | identifier = "deny-write" 12 | description = "Denies the write command without any pre-configured scope." 13 | commands.deny = ["write"] 14 | -------------------------------------------------------------------------------- /plugins/fs/permissions/create-app-specific-dirs.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "create-app-specific-dirs" 5 | description = """ 6 | This permissions allows to create the application specific directories. 7 | """ 8 | commands.allow = ["mkdir", "scope-app-index"] 9 | -------------------------------------------------------------------------------- /plugins/fs/permissions/deny-default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[set]] 4 | identifier = "deny-default" 5 | description = "This denies access to dangerous Tauri relevant files and folders by default." 6 | permissions = ["deny-webview-data-linux", "deny-webview-data-windows"] 7 | -------------------------------------------------------------------------------- /plugins/fs/permissions/read-dirs.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "read-dirs" 5 | description = "This enables directory read and file metadata related commands without any pre-configured accessible paths." 6 | commands.allow = ["read_dir", "stat", "lstat", "fstat", "exists"] 7 | -------------------------------------------------------------------------------- /plugins/fs/permissions/read-files.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "read-files" 5 | description = "This enables file read related commands without any pre-configured accessible paths." 6 | commands.allow = [ 7 | "read_file", 8 | "read", 9 | "open", 10 | "read_text_file", 11 | "read_text_file_lines", 12 | "read_text_file_lines_next", 13 | "seek", 14 | "stat", 15 | "lstat", 16 | "fstat", 17 | "exists", 18 | 19 | ] 20 | -------------------------------------------------------------------------------- /plugins/fs/permissions/read-meta.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "read-meta" 5 | description = "This enables all index or metadata related commands without any pre-configured accessible paths." 6 | commands.allow = ["read_dir", "stat", "lstat", "fstat", "exists", "size"] 7 | -------------------------------------------------------------------------------- /plugins/fs/permissions/scope.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "scope" 5 | description = "An empty permission you can use to modify the global scope." 6 | -------------------------------------------------------------------------------- /plugins/fs/permissions/write-all.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "write-all" 5 | description = "This enables all write related commands without any pre-configured accessible paths." 6 | commands.allow = [ 7 | "mkdir", 8 | "create", 9 | "copy_file", 10 | "remove", 11 | "rename", 12 | "truncate", 13 | "ftruncate", 14 | "write", 15 | "write_file", 16 | "write_text_file", 17 | ] 18 | -------------------------------------------------------------------------------- /plugins/fs/permissions/write-files.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "write-files" 5 | description = "This enables all file write related commands without any pre-configured accessible paths." 6 | commands.allow = [ 7 | "create", 8 | "copy_file", 9 | "remove", 10 | "rename", 11 | "truncate", 12 | "ftruncate", 13 | "write", 14 | "write_file", 15 | "write_text_file", 16 | ] 17 | -------------------------------------------------------------------------------- /plugins/fs/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/fs/src/scope.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | use std::path::PathBuf; 6 | 7 | use serde::Deserialize; 8 | 9 | #[derive(Debug)] 10 | pub struct Entry { 11 | pub path: Option, 12 | } 13 | 14 | #[derive(Deserialize)] 15 | #[serde(untagged)] 16 | pub(crate) enum EntryRaw { 17 | Value(PathBuf), 18 | Object { path: PathBuf }, 19 | } 20 | -------------------------------------------------------------------------------- /plugins/fs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/geolocation/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/geolocation/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/geolocation/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /plugins/geolocation/contributors/rescue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/geolocation/contributors/rescue.png -------------------------------------------------------------------------------- /plugins/geolocation/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/geolocation/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin Geolocation 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/geolocation/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/geolocation/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/geolocation/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/global-shortcut/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/global-shortcut/banner.png -------------------------------------------------------------------------------- /plugins/global-shortcut/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["register", "unregister", "unregister_all", "is_registered"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/global-shortcut/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = """ 4 | No features are enabled by default, as we believe 5 | the shortcuts can be inherently dangerous and it is 6 | application specific if specific shortcuts should be 7 | registered or unregistered. 8 | """ 9 | 10 | permissions = [] 11 | -------------------------------------------------------------------------------- /plugins/global-shortcut/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/global-shortcut/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/haptics/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/haptics/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/haptics/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/haptics/android/src/main/java/patterns/Pattern.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | package app.tauri.haptics.patterns 6 | 7 | class Pattern ( 8 | val timings: LongArray, 9 | val amplitudes: IntArray, 10 | val oldSDKPattern: LongArray 11 | ) {} -------------------------------------------------------------------------------- /plugins/haptics/android/src/main/java/patterns/Selection.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | package app.tauri.haptics.patterns 6 | 7 | val SelectionPattern = Pattern ( 8 | timings = longArrayOf(0, 50), 9 | amplitudes = intArrayOf(0, 30), 10 | oldSDKPattern = longArrayOf(0, 70) 11 | ) -------------------------------------------------------------------------------- /plugins/haptics/contributors/rescue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/haptics/contributors/rescue.png -------------------------------------------------------------------------------- /plugins/haptics/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/haptics/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin Haptics 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/haptics/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/haptics/permissions/autogenerated/commands/vibrate.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-vibrate" 7 | description = "Enables the vibrate command without any pre-configured scope." 8 | commands.allow = ["vibrate"] 9 | 10 | [[permission]] 11 | identifier = "deny-vibrate" 12 | description = "Denies the vibrate command without any pre-configured scope." 13 | commands.deny = ["vibrate"] 14 | -------------------------------------------------------------------------------- /plugins/haptics/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/haptics/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/http/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/http/banner.png -------------------------------------------------------------------------------- /plugins/http/permissions/autogenerated/commands/fetch.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-fetch" 7 | description = "Enables the fetch command without any pre-configured scope." 8 | commands.allow = ["fetch"] 9 | 10 | [[permission]] 11 | identifier = "deny-fetch" 12 | description = "Denies the fetch command without any pre-configured scope." 13 | commands.deny = ["fetch"] 14 | -------------------------------------------------------------------------------- /plugins/http/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/http/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/localhost/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/localhost/banner.png -------------------------------------------------------------------------------- /plugins/log/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/log/banner.png -------------------------------------------------------------------------------- /plugins/log/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["log"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .ios_path("ios") 11 | .build(); 12 | } 13 | -------------------------------------------------------------------------------- /plugins/log/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/log/ios/README.md: -------------------------------------------------------------------------------- 1 | # Log 2 | 3 | Exposes a function log a message using the OSLog API. 4 | -------------------------------------------------------------------------------- /plugins/log/permissions/autogenerated/commands/log.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-log" 7 | description = "Enables the log command without any pre-configured scope." 8 | commands.allow = ["log"] 9 | 10 | [[permission]] 11 | identifier = "deny-log" 12 | description = "Denies the log command without any pre-configured scope." 13 | commands.deny = ["log"] 14 | -------------------------------------------------------------------------------- /plugins/log/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = "Allows the log command" 4 | permissions = ["allow-log"] 5 | -------------------------------------------------------------------------------- /plugins/log/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/log/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/mirrors.txt: -------------------------------------------------------------------------------- 1 | autostart 2 | cli 3 | clipboard-manager 4 | dialog 5 | fs 6 | global-shortcut 7 | http 8 | log 9 | notification 10 | os 11 | positioner 12 | process 13 | shell 14 | sql 15 | store 16 | stronghold 17 | updater 18 | upload 19 | websocket 20 | window-state 21 | -------------------------------------------------------------------------------- /plugins/nfc/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/nfc/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/nfc/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/nfc/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/nfc/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin Nfc 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/nfc/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/nfc/permissions/autogenerated/commands/scan.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-scan" 7 | description = "Enables the scan command without any pre-configured scope." 8 | commands.allow = ["scan"] 9 | 10 | [[permission]] 11 | identifier = "deny-scan" 12 | description = "Denies the scan command without any pre-configured scope." 13 | commands.deny = ["scan"] 14 | -------------------------------------------------------------------------------- /plugins/nfc/permissions/autogenerated/commands/write.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-write" 7 | description = "Enables the write command without any pre-configured scope." 8 | commands.allow = ["write"] 9 | 10 | [[permission]] 11 | identifier = "deny-write" 12 | description = "Denies the write command without any pre-configured scope." 13 | commands.deny = ["write"] 14 | -------------------------------------------------------------------------------- /plugins/nfc/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | This permission set configures what kind of 6 | operations are available from the nfc plugin. 7 | 8 | #### Granted Permissions 9 | 10 | Checking if the NFC functionality is available 11 | and scanning nearby tags is allowed. 12 | Writing to tags needs to be manually enabled. 13 | 14 | """ 15 | permissions = ["allow-is-available", "allow-scan"] 16 | -------------------------------------------------------------------------------- /plugins/nfc/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/nfc/src/mobile.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | use serde::de::DeserializeOwned; 6 | use tauri::{ 7 | plugin::{PluginApi, PluginHandle}, 8 | AppHandle, Runtime, 9 | }; 10 | 11 | use crate::models::*; 12 | -------------------------------------------------------------------------------- /plugins/nfc/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/notification/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/notification/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/notification/android/src/main/res/drawable/ic_transparent.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /plugins/notification/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/notification/banner.png -------------------------------------------------------------------------------- /plugins/notification/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /plugins/notification/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin {{ plugin_name_original }} 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /plugins/notification/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /plugins/notification/permissions/autogenerated/commands/batch.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-batch" 7 | description = "Enables the batch command without any pre-configured scope." 8 | commands.allow = ["batch"] 9 | 10 | [[permission]] 11 | identifier = "deny-batch" 12 | description = "Denies the batch command without any pre-configured scope." 13 | commands.deny = ["batch"] 14 | -------------------------------------------------------------------------------- /plugins/notification/permissions/autogenerated/commands/cancel.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-cancel" 7 | description = "Enables the cancel command without any pre-configured scope." 8 | commands.allow = ["cancel"] 9 | 10 | [[permission]] 11 | identifier = "deny-cancel" 12 | description = "Denies the cancel command without any pre-configured scope." 13 | commands.deny = ["cancel"] 14 | -------------------------------------------------------------------------------- /plugins/notification/permissions/autogenerated/commands/notify.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-notify" 7 | description = "Enables the notify command without any pre-configured scope." 8 | commands.allow = ["notify"] 9 | 10 | [[permission]] 11 | identifier = "deny-notify" 12 | description = "Denies the notify command without any pre-configured scope." 13 | commands.deny = ["notify"] 14 | -------------------------------------------------------------------------------- /plugins/notification/permissions/autogenerated/commands/show.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-show" 7 | description = "Enables the show command without any pre-configured scope." 8 | commands.allow = ["show"] 9 | 10 | [[permission]] 11 | identifier = "deny-show" 12 | description = "Denies the show command without any pre-configured scope." 13 | commands.deny = ["show"] 14 | -------------------------------------------------------------------------------- /plugins/notification/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/opener/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/opener/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/opener/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/opener/ios/Package.resolved: -------------------------------------------------------------------------------- 1 | { 2 | "object": { 3 | "pins": [ 4 | { 5 | "package": "SwiftRs", 6 | "repositoryURL": "https://github.com/Brendonovich/swift-rs", 7 | "state": { 8 | "branch": null, 9 | "revision": "b5ed223fcdab165bc21219c1925dc1e77e2bef5e", 10 | "version": "1.0.6" 11 | } 12 | } 13 | ] 14 | }, 15 | "version": 1 16 | } 17 | -------------------------------------------------------------------------------- /plugins/opener/permissions/allow-default-urls.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [[permission]] 4 | identifier = "allow-default-urls" 5 | description = "This enables opening `mailto:`, `tel:`, `https://` and `http://` urls using their default application." 6 | 7 | [[permission.scope.allow]] 8 | url = "mailto:*" 9 | 10 | [[permission.scope.allow]] 11 | url = "tel:*" 12 | 13 | [[permission.scope.allow]] 14 | url = "http://*" 15 | 16 | [[permission.scope.allow]] 17 | url = "https://*" 18 | -------------------------------------------------------------------------------- /plugins/opener/permissions/autogenerated/commands/open_url.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-open-url" 7 | description = "Enables the open_url command without any pre-configured scope." 8 | commands.allow = ["open_url"] 9 | 10 | [[permission]] 11 | identifier = "deny-open-url" 12 | description = "Denies the open_url command without any pre-configured scope." 13 | commands.deny = ["open_url"] 14 | -------------------------------------------------------------------------------- /plugins/opener/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """This permission set allows opening `mailto:`, `tel:`, `https://` and `http://` urls using their default application 5 | as well as reveal file in directories using default file explorer""" 6 | permissions = [ 7 | "allow-open-url", 8 | "allow-reveal-item-in-dir", 9 | "allow-default-urls", 10 | ] 11 | -------------------------------------------------------------------------------- /plugins/opener/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/os/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/os/banner.png -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/arch.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-arch" 7 | description = "Enables the arch command without any pre-configured scope." 8 | commands.allow = ["arch"] 9 | 10 | [[permission]] 11 | identifier = "deny-arch" 12 | description = "Denies the arch command without any pre-configured scope." 13 | commands.deny = ["arch"] 14 | -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/family.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-family" 7 | description = "Enables the family command without any pre-configured scope." 8 | commands.allow = ["family"] 9 | 10 | [[permission]] 11 | identifier = "deny-family" 12 | description = "Denies the family command without any pre-configured scope." 13 | commands.deny = ["family"] 14 | -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/hostname.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-hostname" 7 | description = "Enables the hostname command without any pre-configured scope." 8 | commands.allow = ["hostname"] 9 | 10 | [[permission]] 11 | identifier = "deny-hostname" 12 | description = "Denies the hostname command without any pre-configured scope." 13 | commands.deny = ["hostname"] 14 | -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/locale.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-locale" 7 | description = "Enables the locale command without any pre-configured scope." 8 | commands.allow = ["locale"] 9 | 10 | [[permission]] 11 | identifier = "deny-locale" 12 | description = "Denies the locale command without any pre-configured scope." 13 | commands.deny = ["locale"] 14 | -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/os_type.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-os-type" 7 | description = "Enables the os_type command without any pre-configured scope." 8 | commands.allow = ["os_type"] 9 | 10 | [[permission]] 11 | identifier = "deny-os-type" 12 | description = "Denies the os_type command without any pre-configured scope." 13 | commands.deny = ["os_type"] 14 | -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/platform.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-platform" 7 | description = "Enables the platform command without any pre-configured scope." 8 | commands.allow = ["platform"] 9 | 10 | [[permission]] 11 | identifier = "deny-platform" 12 | description = "Denies the platform command without any pre-configured scope." 13 | commands.deny = ["platform"] 14 | -------------------------------------------------------------------------------- /plugins/os/permissions/autogenerated/commands/version.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-version" 7 | description = "Enables the version command without any pre-configured scope." 8 | commands.allow = ["version"] 9 | 10 | [[permission]] 11 | identifier = "deny-version" 12 | description = "Denies the version command without any pre-configured scope." 13 | commands.deny = ["version"] 14 | -------------------------------------------------------------------------------- /plugins/os/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/os/src/commands.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | #[tauri::command] 6 | pub fn locale() -> Option { 7 | crate::locale() 8 | } 9 | 10 | #[tauri::command] 11 | pub fn hostname() -> String { 12 | crate::hostname() 13 | } 14 | -------------------------------------------------------------------------------- /plugins/os/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/persisted-scope/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/persisted-scope/banner.png -------------------------------------------------------------------------------- /plugins/positioner/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/positioner/banner.png -------------------------------------------------------------------------------- /plugins/positioner/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &[ 6 | "move_window", 7 | "move_window_constrained", 8 | "set_tray_icon_state", 9 | ]; 10 | 11 | fn main() { 12 | tauri_plugin::Builder::new(COMMANDS) 13 | .global_api_script_path("./api-iife.js") 14 | .build(); 15 | } 16 | -------------------------------------------------------------------------------- /plugins/positioner/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = "Allows the moveWindow and handleIconState APIs" 4 | permissions = [ 5 | "allow-move-window", 6 | "allow-move-window-constrained", 7 | "allow-set-tray-icon-state", 8 | ] 9 | -------------------------------------------------------------------------------- /plugins/positioner/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/positioner/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/process/api-iife.js: -------------------------------------------------------------------------------- 1 | if("__TAURI__"in window){var __TAURI_PLUGIN_PROCESS__=function(_){"use strict";async function n(_,n={},e){return window.__TAURI_INTERNALS__.invoke(_,n,e)}return"function"==typeof SuppressedError&&SuppressedError,_.exit=async function(_=0){await n("plugin:process|exit",{code:_})},_.relaunch=async function(){await n("plugin:process|restart")},_}({});Object.defineProperty(window.__TAURI__,"process",{value:__TAURI_PLUGIN_PROCESS__})} 2 | -------------------------------------------------------------------------------- /plugins/process/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/process/banner.png -------------------------------------------------------------------------------- /plugins/process/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["exit", "restart"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/process/permissions/autogenerated/commands/exit.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-exit" 7 | description = "Enables the exit command without any pre-configured scope." 8 | commands.allow = ["exit"] 9 | 10 | [[permission]] 11 | identifier = "deny-exit" 12 | description = "Denies the exit command without any pre-configured scope." 13 | commands.deny = ["exit"] 14 | -------------------------------------------------------------------------------- /plugins/process/permissions/autogenerated/commands/restart.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-restart" 7 | description = "Enables the restart command without any pre-configured scope." 8 | commands.allow = ["restart"] 9 | 10 | [[permission]] 11 | identifier = "deny-restart" 12 | description = "Denies the restart command without any pre-configured scope." 13 | commands.deny = ["restart"] 14 | -------------------------------------------------------------------------------- /plugins/process/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | This permission set configures which 6 | process features are by default exposed. 7 | 8 | #### Granted Permissions 9 | 10 | This enables to quit via `allow-exit` and restart via `allow-restart` 11 | the application. 12 | """ 13 | 14 | permissions = ["allow-exit", "allow-restart"] 15 | -------------------------------------------------------------------------------- /plugins/process/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/process/src/commands.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | use tauri::{AppHandle, Runtime}; 6 | 7 | #[tauri::command] 8 | pub fn exit(app: AppHandle, code: i32) { 9 | app.exit(code) 10 | } 11 | 12 | #[tauri::command] 13 | pub fn restart(app: AppHandle) { 14 | app.request_restart() 15 | } 16 | -------------------------------------------------------------------------------- /plugins/process/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/shell/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /plugins/shell/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /plugins/shell/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/shell/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/shell/banner.png -------------------------------------------------------------------------------- /plugins/shell/ios/Package.resolved: -------------------------------------------------------------------------------- 1 | { 2 | "object": { 3 | "pins": [ 4 | { 5 | "package": "SwiftRs", 6 | "repositoryURL": "https://github.com/Brendonovich/swift-rs", 7 | "state": { 8 | "branch": null, 9 | "revision": "b5ed223fcdab165bc21219c1925dc1e77e2bef5e", 10 | "version": "1.0.6" 11 | } 12 | } 13 | ] 14 | }, 15 | "version": 1 16 | } 17 | -------------------------------------------------------------------------------- /plugins/shell/permissions/autogenerated/commands/execute.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-execute" 7 | description = "Enables the execute command without any pre-configured scope." 8 | commands.allow = ["execute"] 9 | 10 | [[permission]] 11 | identifier = "deny-execute" 12 | description = "Denies the execute command without any pre-configured scope." 13 | commands.deny = ["execute"] 14 | -------------------------------------------------------------------------------- /plugins/shell/permissions/autogenerated/commands/kill.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-kill" 7 | description = "Enables the kill command without any pre-configured scope." 8 | commands.allow = ["kill"] 9 | 10 | [[permission]] 11 | identifier = "deny-kill" 12 | description = "Denies the kill command without any pre-configured scope." 13 | commands.deny = ["kill"] 14 | -------------------------------------------------------------------------------- /plugins/shell/permissions/autogenerated/commands/open.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-open" 7 | description = "Enables the open command without any pre-configured scope." 8 | commands.allow = ["open"] 9 | 10 | [[permission]] 11 | identifier = "deny-open" 12 | description = "Denies the open command without any pre-configured scope." 13 | commands.deny = ["open"] 14 | -------------------------------------------------------------------------------- /plugins/shell/permissions/autogenerated/commands/spawn.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-spawn" 7 | description = "Enables the spawn command without any pre-configured scope." 8 | commands.allow = ["spawn"] 9 | 10 | [[permission]] 11 | identifier = "deny-spawn" 12 | description = "Denies the spawn command without any pre-configured scope." 13 | commands.deny = ["spawn"] 14 | -------------------------------------------------------------------------------- /plugins/shell/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | This permission set configures which 6 | shell functionality is exposed by default. 7 | 8 | #### Granted Permissions 9 | 10 | It allows to use the `open` functionality with a reasonable 11 | scope pre-configured. It will allow opening `http(s)://`, 12 | `tel:` and `mailto:` links. 13 | """ 14 | 15 | permissions = ["allow-open"] 16 | -------------------------------------------------------------------------------- /plugins/shell/test/test.txt: -------------------------------------------------------------------------------- 1 | This is a test doc! -------------------------------------------------------------------------------- /plugins/shell/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/single-instance/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/banner.png -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/** 3 | !dist/.gitkeep -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/dist/.gitkeep -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "app", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "tauri": "tauri" 8 | }, 9 | "author": "", 10 | "license": "MIT", 11 | "devDependencies": { 12 | "@tauri-apps/cli": "2.5.0" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Plugin example
4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | WixTools 5 | 6 | /gen/schemas 7 | -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /plugins/single-instance/examples/vanilla/src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/single-instance/examples/vanilla/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /plugins/sql/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/sql/banner.png -------------------------------------------------------------------------------- /plugins/sql/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["load", "execute", "select", "close"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/sql/permissions/autogenerated/commands/close.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-close" 7 | description = "Enables the close command without any pre-configured scope." 8 | commands.allow = ["close"] 9 | 10 | [[permission]] 11 | identifier = "deny-close" 12 | description = "Denies the close command without any pre-configured scope." 13 | commands.deny = ["close"] 14 | -------------------------------------------------------------------------------- /plugins/sql/permissions/autogenerated/commands/execute.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-execute" 7 | description = "Enables the execute command without any pre-configured scope." 8 | commands.allow = ["execute"] 9 | 10 | [[permission]] 11 | identifier = "deny-execute" 12 | description = "Denies the execute command without any pre-configured scope." 13 | commands.deny = ["execute"] 14 | -------------------------------------------------------------------------------- /plugins/sql/permissions/autogenerated/commands/load.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-load" 7 | description = "Enables the load command without any pre-configured scope." 8 | commands.allow = ["load"] 9 | 10 | [[permission]] 11 | identifier = "deny-load" 12 | description = "Denies the load command without any pre-configured scope." 13 | commands.deny = ["load"] 14 | -------------------------------------------------------------------------------- /plugins/sql/permissions/autogenerated/commands/select.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-select" 7 | description = "Enables the select command without any pre-configured scope." 8 | commands.allow = ["select"] 9 | 10 | [[permission]] 11 | identifier = "deny-select" 12 | description = "Denies the select command without any pre-configured scope." 13 | commands.deny = ["select"] 14 | -------------------------------------------------------------------------------- /plugins/sql/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | ### Default Permissions 6 | 7 | This permission set configures what kind of 8 | database operations are available from the sql plugin. 9 | 10 | ### Granted Permissions 11 | 12 | All reading related operations are enabled. 13 | Also allows to load or close a connection. 14 | 15 | """ 16 | permissions = ["allow-close", "allow-load", "allow-select"] 17 | -------------------------------------------------------------------------------- /plugins/sql/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/sql/src/decode/mod.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | #[cfg(feature = "mysql")] 6 | pub(crate) mod mysql; 7 | #[cfg(feature = "postgres")] 8 | pub(crate) mod postgres; 9 | #[cfg(feature = "sqlite")] 10 | pub(crate) mod sqlite; 11 | -------------------------------------------------------------------------------- /plugins/sql/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/store/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/banner.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | #dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] 3 | } 4 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/README.md: -------------------------------------------------------------------------------- 1 | # Tauri + Vanilla TS 2 | 3 | This template should help get you started developing with Tauri in vanilla HTML, CSS and Typescript. 4 | 5 | ## Recommended IDE Setup 6 | 7 | - [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) 8 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/dist/.gitkeep -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "type": "module", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "tsc && vite build", 7 | "preview": "vite preview", 8 | "tauri": "tauri" 9 | }, 10 | "devDependencies": { 11 | "@tauri-apps/cli": "2.5.0", 12 | "typescript": "^5.7.3", 13 | "vite": "^6.2.6" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | gen/schemas 5 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square107x107Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square107x107Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square142x142Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square142x142Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square150x150Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square150x150Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square284x284Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square284x284Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square30x30Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square30x30Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square310x310Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square310x310Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square44x44Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square44x44Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square71x71Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square71x71Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/Square89x89Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/Square89x89Logo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/StoreLogo.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/store/examples/AppSettingsManager/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src-tauri/src/app/mod.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | pub mod settings; 6 | -------------------------------------------------------------------------------- /plugins/store/examples/AppSettingsManager/src/main.ts: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | window.addEventListener('DOMContentLoaded', () => { 6 | document.querySelector('#greet-form')?.addEventListener('submit', (e) => { 7 | e.preventDefault() 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/clear.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-clear" 7 | description = "Enables the clear command without any pre-configured scope." 8 | commands.allow = ["clear"] 9 | 10 | [[permission]] 11 | identifier = "deny-clear" 12 | description = "Denies the clear command without any pre-configured scope." 13 | commands.deny = ["clear"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/delete.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-delete" 7 | description = "Enables the delete command without any pre-configured scope." 8 | commands.allow = ["delete"] 9 | 10 | [[permission]] 11 | identifier = "deny-delete" 12 | description = "Denies the delete command without any pre-configured scope." 13 | commands.deny = ["delete"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/entries.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-entries" 7 | description = "Enables the entries command without any pre-configured scope." 8 | commands.allow = ["entries"] 9 | 10 | [[permission]] 11 | identifier = "deny-entries" 12 | description = "Denies the entries command without any pre-configured scope." 13 | commands.deny = ["entries"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/get.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-get" 7 | description = "Enables the get command without any pre-configured scope." 8 | commands.allow = ["get"] 9 | 10 | [[permission]] 11 | identifier = "deny-get" 12 | description = "Denies the get command without any pre-configured scope." 13 | commands.deny = ["get"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/has.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-has" 7 | description = "Enables the has command without any pre-configured scope." 8 | commands.allow = ["has"] 9 | 10 | [[permission]] 11 | identifier = "deny-has" 12 | description = "Denies the has command without any pre-configured scope." 13 | commands.deny = ["has"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/keys.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-keys" 7 | description = "Enables the keys command without any pre-configured scope." 8 | commands.allow = ["keys"] 9 | 10 | [[permission]] 11 | identifier = "deny-keys" 12 | description = "Denies the keys command without any pre-configured scope." 13 | commands.deny = ["keys"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/length.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-length" 7 | description = "Enables the length command without any pre-configured scope." 8 | commands.allow = ["length"] 9 | 10 | [[permission]] 11 | identifier = "deny-length" 12 | description = "Denies the length command without any pre-configured scope." 13 | commands.deny = ["length"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/load.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-load" 7 | description = "Enables the load command without any pre-configured scope." 8 | commands.allow = ["load"] 9 | 10 | [[permission]] 11 | identifier = "deny-load" 12 | description = "Denies the load command without any pre-configured scope." 13 | commands.deny = ["load"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/reload.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-reload" 7 | description = "Enables the reload command without any pre-configured scope." 8 | commands.allow = ["reload"] 9 | 10 | [[permission]] 11 | identifier = "deny-reload" 12 | description = "Denies the reload command without any pre-configured scope." 13 | commands.deny = ["reload"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/reset.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-reset" 7 | description = "Enables the reset command without any pre-configured scope." 8 | commands.allow = ["reset"] 9 | 10 | [[permission]] 11 | identifier = "deny-reset" 12 | description = "Denies the reset command without any pre-configured scope." 13 | commands.deny = ["reset"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/save.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-save" 7 | description = "Enables the save command without any pre-configured scope." 8 | commands.allow = ["save"] 9 | 10 | [[permission]] 11 | identifier = "deny-save" 12 | description = "Denies the save command without any pre-configured scope." 13 | commands.deny = ["save"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/set.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-set" 7 | description = "Enables the set command without any pre-configured scope." 8 | commands.allow = ["set"] 9 | 10 | [[permission]] 11 | identifier = "deny-set" 12 | description = "Denies the set command without any pre-configured scope." 13 | commands.deny = ["set"] 14 | -------------------------------------------------------------------------------- /plugins/store/permissions/autogenerated/commands/values.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-values" 7 | description = "Enables the values command without any pre-configured scope." 8 | commands.allow = ["values"] 9 | 10 | [[permission]] 11 | identifier = "deny-values" 12 | description = "Denies the values command without any pre-configured scope." 13 | commands.deny = ["values"] 14 | -------------------------------------------------------------------------------- /plugins/store/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/store/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/stronghold/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/stronghold/banner.png -------------------------------------------------------------------------------- /plugins/stronghold/permissions/autogenerated/commands/destroy.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-destroy" 7 | description = "Enables the destroy command without any pre-configured scope." 8 | commands.allow = ["destroy"] 9 | 10 | [[permission]] 11 | identifier = "deny-destroy" 12 | description = "Denies the destroy command without any pre-configured scope." 13 | commands.deny = ["destroy"] 14 | -------------------------------------------------------------------------------- /plugins/stronghold/permissions/autogenerated/commands/save.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-save" 7 | description = "Enables the save command without any pre-configured scope." 8 | commands.allow = ["save"] 9 | 10 | [[permission]] 11 | identifier = "deny-save" 12 | description = "Denies the save command without any pre-configured scope." 13 | commands.deny = ["save"] 14 | -------------------------------------------------------------------------------- /plugins/stronghold/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/stronghold/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/updater/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/banner.png -------------------------------------------------------------------------------- /plugins/updater/permissions/autogenerated/commands/check.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-check" 7 | description = "Enables the check command without any pre-configured scope." 8 | commands.allow = ["check"] 9 | 10 | [[permission]] 11 | identifier = "deny-check" 12 | description = "Denies the check command without any pre-configured scope." 13 | commands.deny = ["check"] 14 | -------------------------------------------------------------------------------- /plugins/updater/permissions/autogenerated/commands/download.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-download" 7 | description = "Enables the download command without any pre-configured scope." 8 | commands.allow = ["download"] 9 | 10 | [[permission]] 11 | identifier = "deny-download" 12 | description = "Denies the download command without any pre-configured scope." 13 | commands.deny = ["download"] 14 | -------------------------------------------------------------------------------- /plugins/updater/permissions/autogenerated/commands/install.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-install" 7 | description = "Enables the install command without any pre-configured scope." 8 | commands.allow = ["install"] 9 | 10 | [[permission]] 11 | identifier = "deny-install" 12 | description = "Denies the install command without any pre-configured scope." 13 | commands.deny = ["install"] 14 | -------------------------------------------------------------------------------- /plugins/updater/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = """ 4 | This permission set configures which kind of 5 | updater functions are exposed to the frontend. 6 | 7 | #### Granted Permissions 8 | 9 | The full workflow from checking for updates to installing them 10 | is enabled. 11 | 12 | """ 13 | permissions = [ 14 | "allow-check", 15 | "allow-download", 16 | "allow-install", 17 | "allow-download-and-install", 18 | ] 19 | -------------------------------------------------------------------------------- /plugins/updater/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/.gitignore: -------------------------------------------------------------------------------- 1 | /gen/schemas 2 | -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/app-updater/icons/128x128.png -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/app-updater/icons/128x128@2x.png -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/app-updater/icons/32x32.png -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/app-updater/icons/icon.icns -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/app-updater/icons/icon.ico -------------------------------------------------------------------------------- /plugins/updater/tests/app-updater/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/app-updater/icons/icon.png -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/updater-migration/icons/128x128.png -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/updater-migration/icons/128x128@2x.png -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/updater-migration/icons/32x32.png -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/updater-migration/icons/icon.icns -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/updater-migration/icons/icon.ico -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/updater/tests/updater-migration/icons/icon.png -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v1-app/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | package-lock.json 3 | node_modules/ -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v1-app/Cargo.toml: -------------------------------------------------------------------------------- 1 | workspace = {} 2 | 3 | [package] 4 | name = "app-updater-v1" 5 | version = "0.1.0" 6 | edition = "2021" 7 | 8 | [build-dependencies] 9 | tauri-build = { version = "1", features = [] } 10 | 11 | [dependencies] 12 | serde = { version = "1", features = ["derive"] } 13 | serde_json = "1" 14 | tiny_http = "0.11" 15 | tauri = { version = "1", features = ["updater"] } 16 | 17 | [features] 18 | custom-protocol = ["tauri/custom-protocol"] 19 | -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v1-app/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v1-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "v1-app", 3 | "version": "0.0.0", 4 | "dependencies": { 5 | "@tauri-apps/cli": "^1.0.0" 6 | }, 7 | "scripts": { 8 | "tauri": "tauri" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v2-app/.gitignore: -------------------------------------------------------------------------------- 1 | /gen/schemas 2 | -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v2-app/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "app-updater-v2" 3 | version = "0.1.0" 4 | edition = { workspace = true } 5 | 6 | [build-dependencies] 7 | tauri-build = { workspace = true } 8 | 9 | [dependencies] 10 | tauri = { workspace = true, features = ["wry", "compression"] } 11 | serde = { workspace = true } 12 | serde_json = { workspace = true } 13 | tauri-plugin-updater = { path = "../../.." } 14 | tiny_http = "0.12" 15 | -------------------------------------------------------------------------------- /plugins/updater/tests/updater-migration/v2-app/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/updater/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/upload/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/upload/banner.png -------------------------------------------------------------------------------- /plugins/upload/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["download", "upload"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/upload/permissions/autogenerated/commands/download.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-download" 7 | description = "Enables the download command without any pre-configured scope." 8 | commands.allow = ["download"] 9 | 10 | [[permission]] 11 | identifier = "deny-download" 12 | description = "Denies the download command without any pre-configured scope." 13 | commands.deny = ["download"] 14 | -------------------------------------------------------------------------------- /plugins/upload/permissions/autogenerated/commands/upload.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-upload" 7 | description = "Enables the upload command without any pre-configured scope." 8 | commands.allow = ["upload"] 9 | 10 | [[permission]] 11 | identifier = "deny-upload" 12 | description = "Denies the upload command without any pre-configured scope." 13 | commands.deny = ["upload"] 14 | -------------------------------------------------------------------------------- /plugins/upload/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | This permission set configures what kind of 6 | operations are available from the upload plugin. 7 | 8 | #### Granted Permissions 9 | 10 | All operations are enabled by default. 11 | 12 | """ 13 | permissions = ["allow-upload", "allow-download"] 14 | -------------------------------------------------------------------------------- /plugins/upload/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/upload/test/test.txt: -------------------------------------------------------------------------------- 1 | mocked response body -------------------------------------------------------------------------------- /plugins/upload/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/websocket/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/banner.png -------------------------------------------------------------------------------- /plugins/websocket/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["connect", "send"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist/** 12 | !dist/.gitkeep 13 | dist-ssr 14 | *.local 15 | 16 | # Editor directories and files 17 | .vscode/* 18 | !.vscode/extensions.json 19 | .idea 20 | .DS_Store 21 | *.suo 22 | *.ntvs* 23 | *.njsproj 24 | *.sln 25 | *.sw? 26 | -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/dist/.gitkeep -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tauri-app", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "tsc && vite build", 9 | "preview": "vite preview" 10 | }, 11 | "devDependencies": { 12 | "@tauri-apps/cli": "2.5.0", 13 | "typescript": "^5.7.3", 14 | "vite": "^6.2.6" 15 | }, 16 | "dependencies": { 17 | "tauri-plugin-websocket-api": "link:..\\.." 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated by Cargo 2 | # will have compiled files and executables 3 | /target/ 4 | WixTools 5 | 6 | /gen/schemas 7 | 8 | # These are backup files generated by rustfmt 9 | **/*.rs.bk 10 | -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | fn main() { 6 | tauri_build::build() 7 | } 8 | -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square107x107Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square107x107Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square142x142Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square142x142Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square150x150Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square150x150Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square284x284Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square284x284Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square30x30Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square30x30Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square310x310Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square310x310Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square44x44Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square44x44Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square71x71Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square71x71Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/Square89x89Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/Square89x89Logo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/StoreLogo.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/websocket/examples/tauri-app/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src-tauri/rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width = 100 2 | hard_tabs = false 3 | tab_spaces = 2 4 | newline_style = "Auto" 5 | use_small_heuristics = "Default" 6 | reorder_imports = true 7 | reorder_modules = true 8 | remove_nested_parens = true 9 | edition = "2018" 10 | merge_derives = true 11 | use_try_shorthand = false 12 | use_field_init_shorthand = false 13 | force_explicit_abi = true 14 | -------------------------------------------------------------------------------- /plugins/websocket/examples/tauri-app/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | /// 6 | -------------------------------------------------------------------------------- /plugins/websocket/permissions/autogenerated/commands/connect.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-connect" 7 | description = "Enables the connect command without any pre-configured scope." 8 | commands.allow = ["connect"] 9 | 10 | [[permission]] 11 | identifier = "deny-connect" 12 | description = "Denies the connect command without any pre-configured scope." 13 | commands.deny = ["connect"] 14 | -------------------------------------------------------------------------------- /plugins/websocket/permissions/autogenerated/commands/send.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated - DO NOT EDIT! 2 | 3 | "$schema" = "../../schemas/schema.json" 4 | 5 | [[permission]] 6 | identifier = "allow-send" 7 | description = "Enables the send command without any pre-configured scope." 8 | commands.allow = ["send"] 9 | 10 | [[permission]] 11 | identifier = "deny-send" 12 | description = "Denies the send command without any pre-configured scope." 13 | commands.deny = ["send"] 14 | -------------------------------------------------------------------------------- /plugins/websocket/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | [default] 3 | description = "Allows connecting and sending data to a WebSocket server" 4 | permissions = ["allow-connect", "allow-send"] 5 | -------------------------------------------------------------------------------- /plugins/websocket/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/websocket/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/window-state/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tauri-apps/plugins-workspace/ce9888a2d4c9b449bd2a306f0fa6c76507fd46d3/plugins/window-state/banner.png -------------------------------------------------------------------------------- /plugins/window-state/build.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | const COMMANDS: &[&str] = &["save_window_state", "restore_state", "filename"]; 6 | 7 | fn main() { 8 | tauri_plugin::Builder::new(COMMANDS) 9 | .global_api_script_path("./api-iife.js") 10 | .build(); 11 | } 12 | -------------------------------------------------------------------------------- /plugins/window-state/permissions/default.toml: -------------------------------------------------------------------------------- 1 | "$schema" = "schemas/schema.json" 2 | 3 | [default] 4 | description = """ 5 | This permission set configures what kind of 6 | operations are available from the window state plugin. 7 | 8 | #### Granted Permissions 9 | 10 | All operations are enabled by default. 11 | 12 | """ 13 | permissions = [ 14 | "allow-filename", 15 | "allow-restore-state", 16 | "allow-save-window-state", 17 | ] 18 | -------------------------------------------------------------------------------- /plugins/window-state/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /plugins/window-state/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - plugins/* 3 | - plugins/*/examples/* 4 | - examples/* 5 | -------------------------------------------------------------------------------- /shared/template/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /.tauri 3 | -------------------------------------------------------------------------------- /shared/template/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':tauri-android' 2 | project(':tauri-android').projectDir = new File('./.tauri/tauri-api') 3 | -------------------------------------------------------------------------------- /shared/template/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /shared/template/guest-js/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | -------------------------------------------------------------------------------- /shared/template/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | DerivedData/ 7 | .swiftpm/config/registries.json 8 | .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 9 | .netrc 10 | Package.resolved 11 | -------------------------------------------------------------------------------- /shared/template/ios/README.md: -------------------------------------------------------------------------------- 1 | # Tauri Plugin {{ plugin_name_original }} 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /shared/template/ios/Tests/PluginTests/PluginTests.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import XCTest 6 | @testable import ExamplePlugin 7 | 8 | final class ExamplePluginTests: XCTestCase { 9 | func testExample() throws { 10 | let plugin = ExamplePlugin() 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /shared/template/rollup.config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | import { createConfig } from '../../shared/rollup.config.js' 6 | 7 | export default createConfig() 8 | -------------------------------------------------------------------------------- /shared/template/src/commands.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2019-2023 Tauri Programme within The Commons Conservancy 2 | // SPDX-License-Identifier: Apache-2.0 3 | // SPDX-License-Identifier: MIT 4 | 5 | use tauri::{AppHandle, command, Runtime, Window}; 6 | 7 | use crate::Result; 8 | 9 | #[command] 10 | pub(crate) async fn execute( 11 | _app: AppHandle, 12 | _window: Window, 13 | ) -> Result { 14 | Ok("success".to_string()) 15 | } 16 | -------------------------------------------------------------------------------- /shared/template/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "include": ["guest-js/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /taplo.toml: -------------------------------------------------------------------------------- 1 | exclude = ["plugins/*/permissions/autogenerated/**.toml"] 2 | -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2021", 4 | "module": "esnext", 5 | "moduleResolution": "bundler", 6 | "skipLibCheck": true, 7 | "strict": true, 8 | "noUnusedLocals": true, 9 | "noImplicitAny": true, 10 | "noEmit": true 11 | }, 12 | "exclude": ["dist-js", "node_modules", "test/types"] 13 | } 14 | --------------------------------------------------------------------------------