* 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 <lucas@tauri.app>
* Make deep link optional for single instance
* Add change file
* Add deep-link feature to example
* Update plugins/deep-link/README.md
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
* format
* [skip ci] update readme
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
* feat(deep-link): implement getCurrent on Windows/Linux
checks std::env::args() on initialization, also includes integration with the single-instance plugin
* fmt
* update docs, fix event
* add register_all function
* expose api
* be nicer on docs, clippy
* added semver compatibility check for Windows and Linux
* fixed formatting
* put semver feature behind a feature flag
* remove semver from root manifest
* linux compile error
* docs: Add mention for semver feature in readme
---------
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
* feat(fs): improved API
* fmt
* fix unix builds
* again
* clippy
* clippy
* fix import in docs examples
* fmt, clippy
* Update linux.rs
* add API for watch
* fix with `watcher` feature flag
* use baseDir for all commands
* do not export close function
* fix build
* organize and address review comments
* fmt
* generated files
* rename FsFile to FileHandle, move APIs and docs
* extend example
* extend `Resource`
* actually extend it
---------
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>