Skip to content

Commit

Permalink
docs(all): incorrect path for registering plugin in rust (#2123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed-Rahif authored Dec 2, 2024
1 parent 664c452 commit 3ef756f
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion plugins/autostart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-autostart#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
use tauri_plugin_autostart::MacosLauncher;
Expand Down
2 changes: 1 addition & 1 deletion plugins/barcode-scanner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-barcode-scanner#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/biometric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-biometric#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-cli#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/clipboard-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-clipboard-manager#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/deep-link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Under `tauri.conf.json > plugins > deep-link`, configure the domains (mobile) an

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/dialog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-dialog#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/fs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-fs#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/geolocation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The Google Play Store uses this property to decide whether it should show the ap

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/global-shortcut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-global-shortcut#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/haptics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-haptics#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-http#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/localhost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspac

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
use tauri::{Manager, window::WindowBuilder, WindowUrl};
Expand Down
2 changes: 1 addition & 1 deletion plugins/log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-log#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
use tauri_plugin_log::{Target, TargetKind};
Expand Down
2 changes: 1 addition & 1 deletion plugins/nfc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-nfc#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/notification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-notification#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/opener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-opener#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/os/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-os#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/persisted-scope/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tauri-plugin-persisted-scope = { git = "https://github.com/tauri-apps/plugins-wo

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/positioner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-positioner#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
use tauri::tray::TrayIconBuilder;
Expand Down
2 changes: 1 addition & 1 deletion plugins/process/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-process#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/shell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-shell#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/single-instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-wo

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
use tauri::{Manager};
Expand Down
2 changes: 1 addition & 1 deletion plugins/sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-sql#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/stronghold/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-stronghold#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/updater/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-updater#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/upload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-upload#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/websocket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-websocket#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/window-state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-window-state#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion shared/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add https://github.com/tauri-apps/tauri-plugin-PLUGIN_NAME#v2

First you need to register the core plugin with Tauri:

`src-tauri/src/main.rs`
`src-tauri/src/lib.rs`

```rust
fn main() {
Expand Down

0 comments on commit 3ef756f

Please sign in to comment.