You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
single-instance: fix cwd in single instance on macOS (tauri-apps#2609)
* single-instance: fix `cwd` in single instance on macOS
which was the `cwd` of the first instance, instead of the second how it should be and is on windows and linux.
also add rustfmt.toml to enforce the correct formatting (4 spaces for indent)
* use split_once
* remove rustfmt
* fix indentation
---------
Co-authored-by: Lucas Nogueira <[email protected]>
Copy file name to clipboardExpand all lines: plugins/deep-link/src/lib.rs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -114,8 +114,8 @@ mod imp {
114
114
/// ## Platform-specific:
115
115
///
116
116
/// - **Windows / Linux**: This function reads the command line arguments and checks if there's only one value, which must be an URL with scheme matching one of the configured values.
117
-
/// Note that you must manually check the arguments when registering deep link schemes dynamically with [`Self::register`].
118
-
/// Additionally, the deep link might have been provided as a CLI argument so you should check if its format matches what you expect.
117
+
/// Note that you must manually check the arguments when registering deep link schemes dynamically with [`Self::register`].
118
+
/// Additionally, the deep link might have been provided as a CLI argument so you should check if its format matches what you expect.
/// - **Windows / Linux**: This function reads the command line arguments and checks if there's only one value, which must be an URL with scheme matching one of the configured values.
229
-
/// Note that you must manually check the arguments when registering deep link schemes dynamically with [`Self::register`].
230
-
/// Additionally, the deep link might have been provided as a CLI argument so you should check if its format matches what you expect.
229
+
/// Note that you must manually check the arguments when registering deep link schemes dynamically with [`Self::register`].
230
+
/// Additionally, the deep link might have been provided as a CLI argument so you should check if its format matches what you expect.
0 commit comments