diff --git a/plugins/autostart/README.md b/plugins/autostart/README.md index 0a1415dbd..76d68f73c 100644 --- a/plugins/autostart/README.md +++ b/plugins/autostart/README.md @@ -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; diff --git a/plugins/barcode-scanner/README.md b/plugins/barcode-scanner/README.md index eba7ca9e7..4abbef0ad 100644 --- a/plugins/barcode-scanner/README.md +++ b/plugins/barcode-scanner/README.md @@ -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() { diff --git a/plugins/biometric/README.md b/plugins/biometric/README.md index 2028595dd..c7844f7bd 100644 --- a/plugins/biometric/README.md +++ b/plugins/biometric/README.md @@ -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() { diff --git a/plugins/cli/README.md b/plugins/cli/README.md index 05d5bd35e..91a8080b8 100644 --- a/plugins/cli/README.md +++ b/plugins/cli/README.md @@ -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() { diff --git a/plugins/clipboard-manager/README.md b/plugins/clipboard-manager/README.md index daec970d4..935d8ff9d 100644 --- a/plugins/clipboard-manager/README.md +++ b/plugins/clipboard-manager/README.md @@ -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() { diff --git a/plugins/deep-link/README.md b/plugins/deep-link/README.md index 77fae2c8a..61a36a80a 100644 --- a/plugins/deep-link/README.md +++ b/plugins/deep-link/README.md @@ -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() { diff --git a/plugins/dialog/README.md b/plugins/dialog/README.md index 2259e35b6..63d71767d 100644 --- a/plugins/dialog/README.md +++ b/plugins/dialog/README.md @@ -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() { diff --git a/plugins/fs/README.md b/plugins/fs/README.md index af5c63a81..dea88824e 100644 --- a/plugins/fs/README.md +++ b/plugins/fs/README.md @@ -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() { diff --git a/plugins/geolocation/README.md b/plugins/geolocation/README.md index dd9d8e613..bf8e1741e 100644 --- a/plugins/geolocation/README.md +++ b/plugins/geolocation/README.md @@ -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() { diff --git a/plugins/global-shortcut/README.md b/plugins/global-shortcut/README.md index 12a9b08d5..53e7b19fe 100644 --- a/plugins/global-shortcut/README.md +++ b/plugins/global-shortcut/README.md @@ -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() { diff --git a/plugins/haptics/README.md b/plugins/haptics/README.md index b96e267c3..e5f0e6973 100644 --- a/plugins/haptics/README.md +++ b/plugins/haptics/README.md @@ -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() { diff --git a/plugins/http/README.md b/plugins/http/README.md index c3fe92c03..5c3cd9c2e 100644 --- a/plugins/http/README.md +++ b/plugins/http/README.md @@ -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() { diff --git a/plugins/localhost/README.md b/plugins/localhost/README.md index 4e23c0383..dc0d98d21 100644 --- a/plugins/localhost/README.md +++ b/plugins/localhost/README.md @@ -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}; diff --git a/plugins/log/README.md b/plugins/log/README.md index 1748d0c0e..09369173f 100644 --- a/plugins/log/README.md +++ b/plugins/log/README.md @@ -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}; diff --git a/plugins/nfc/README.md b/plugins/nfc/README.md index e8a9e1569..1f8ceb6bd 100644 --- a/plugins/nfc/README.md +++ b/plugins/nfc/README.md @@ -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() { diff --git a/plugins/notification/README.md b/plugins/notification/README.md index e75ce540a..046324930 100644 --- a/plugins/notification/README.md +++ b/plugins/notification/README.md @@ -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() { diff --git a/plugins/opener/README.md b/plugins/opener/README.md index 17cc5b63f..82d0fea18 100644 --- a/plugins/opener/README.md +++ b/plugins/opener/README.md @@ -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() { diff --git a/plugins/os/README.md b/plugins/os/README.md index aafda769e..f66795046 100644 --- a/plugins/os/README.md +++ b/plugins/os/README.md @@ -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() { diff --git a/plugins/persisted-scope/README.md b/plugins/persisted-scope/README.md index c45a1711e..c3ec88feb 100644 --- a/plugins/persisted-scope/README.md +++ b/plugins/persisted-scope/README.md @@ -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() { diff --git a/plugins/positioner/README.md b/plugins/positioner/README.md index 1c766849a..8a86160d6 100644 --- a/plugins/positioner/README.md +++ b/plugins/positioner/README.md @@ -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; diff --git a/plugins/process/README.md b/plugins/process/README.md index ad7d53abf..9f75bacb3 100644 --- a/plugins/process/README.md +++ b/plugins/process/README.md @@ -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() { diff --git a/plugins/shell/README.md b/plugins/shell/README.md index 2f6e5ad68..5f309b8c9 100644 --- a/plugins/shell/README.md +++ b/plugins/shell/README.md @@ -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() { diff --git a/plugins/single-instance/README.md b/plugins/single-instance/README.md index 64224602f..711be6ae1 100644 --- a/plugins/single-instance/README.md +++ b/plugins/single-instance/README.md @@ -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}; diff --git a/plugins/sql/README.md b/plugins/sql/README.md index 85318cfff..1df02e216 100644 --- a/plugins/sql/README.md +++ b/plugins/sql/README.md @@ -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() { diff --git a/plugins/stronghold/README.md b/plugins/stronghold/README.md index d885bf645..6dd165195 100644 --- a/plugins/stronghold/README.md +++ b/plugins/stronghold/README.md @@ -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() { diff --git a/plugins/updater/README.md b/plugins/updater/README.md index 982dcf83b..f1d91b1c1 100644 --- a/plugins/updater/README.md +++ b/plugins/updater/README.md @@ -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() { diff --git a/plugins/upload/README.md b/plugins/upload/README.md index 15dd3ad62..d6169097d 100644 --- a/plugins/upload/README.md +++ b/plugins/upload/README.md @@ -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() { diff --git a/plugins/websocket/README.md b/plugins/websocket/README.md index 3383bc548..ec5fce9b5 100644 --- a/plugins/websocket/README.md +++ b/plugins/websocket/README.md @@ -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() { diff --git a/plugins/window-state/README.md b/plugins/window-state/README.md index a4355fb5e..4af93de25 100644 --- a/plugins/window-state/README.md +++ b/plugins/window-state/README.md @@ -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() { diff --git a/shared/template/README.md b/shared/template/README.md index d22a2ba69..5d1534993 100644 --- a/shared/template/README.md +++ b/shared/template/README.md @@ -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() {