Commit Graph

32 Commits

Author SHA1 Message Date
Nick Müller 6f345870df fix(single-instance): disable dbus name replacement (#2860) 2025-07-20 23:05:09 +02:00
Simon Laux dc84f8d8bb single-instance: fix cwd in single instance on macOS (#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 <lucas@tauri.app>
2025-04-18 10:14:52 -03:00
Amr Bashir 0af367f7d4 refactor(single-instance): improve userdata ptr handling (#2453)
* fix(single-instance): fix null pointer dereference panic on Windows

* fmt
2025-02-24 17:10:30 +02:00
Fabian-Lars 1ab5f15763 fix(single-instance): check if pointer is null (#2452) 2025-02-23 19:25:00 +02:00
Amr Bashir a3b553ddb4 feat(http): add request and response tracing behind feature flag (#2079) 2024-11-21 17:08:34 +02:00
Fabian-Lars 51856e9e0a docs: Remove header image from inline docs (#2045) 2024-11-13 16:07:29 +01:00
Tony b2269333e3 chore(single-instance): put deep link integration behined a feature (#1766)
* 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>
2024-09-12 18:20:15 +08:00
Lucas Fernandes Nogueira 64a6240f79 feat(deep-link): implement getCurrent on Windows/Linux (#1759)
* 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
2024-09-10 16:00:42 -03:00
Amr Bashir a2fe55512f refactor: add methods and implement traits for FilePath and SafeFilePath (#1727)
* refactor: add methods and implement traits for `FilePath` and `SafeFilePath`

closes #1726

* clippy

* path -> as_path

* fix prettierignore

* Discard changes to Cargo.lock

* Discard changes to Cargo.toml

* update tauri deps
2024-09-05 14:12:40 +03:00
Amr Bashir 3c52f30ea4 chore(deps): update windows-sys crate to 0.59 and global-hotkey to 0.6 (#1665)
* chore(deps): update windows-sys crate to `0.59`

* update global-hotkey as well

* change files
2024-08-21 17:04:03 +03:00
renovate[bot] 76daee7aaf chore(deps): update tauri monorepo (v2) (#1512)
* fix(deps): update tauri monorepo

* Create tauri-beta-23.md

* fix clippy - regen permissions

* revert accidental cargo.toml change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-07-02 11:23:48 +02:00
Lucas Fernandes Nogueira 1d8662e71a feat(fs): use IPC streaming for read and write file (#1251)
* feat(fs): use IPC streaming for read and write file

* fix build

* clippy
2024-05-29 22:17:47 -03:00
FabianLars ed46dca74f Merge remote-tracking branch 'origin/v1' into chore/merge-v1-into-v2 2024-04-16 00:29:36 +02:00
matthme 4210cf316a feat(single-instance): Add semver compatibility check for Windows and Linux (#502)
* 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>
2024-04-15 15:54:09 +02:00
Wito dabac0eedf feat(single-instance): add MacOs unix domain socket impl (#1035)
* feat(single-instance): add macos implementation

* chore(single-instance): test MacOs by adding CLI to example

* feat(single-instance): simplify macOS implementation

* chore(single-instance): address remarks
2024-03-28 00:34:33 +01:00
Tony 2397ec5937 fix: single instance doesn't shutdown immediately (#1019)
* Fix single instance doesn't shutdown immediately

* Add change file
2024-03-04 14:52:40 +01:00
Lucas Fernandes Nogueira 6d1e6218b5 fix(single-instance): wrong zbus import, closes #980 (#981) 2024-02-22 22:17:59 -03:00
Lucas Nogueira 569defbe94 updates 2024-02-21 13:29:09 -03:00
Tillmann d198c01486 feat: update to tauri beta, add permissions (#862)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-02-03 15:14:41 -03:00
Amr Bashir 69a1fa099c feat(fs): improved API (#751)
* 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>
2023-12-19 22:08:34 -03:00
Fabian-Lars 387c2f9e0c chore: Update Tauri to alpha.18 (#802) 2023-12-11 15:41:42 -03:00
Fabian-Lars a67f7cb7c8 chore(authenticator): Inline u2f crate (#780)
* chore(authenticator): Inline u2f crate

* update chrono

* update rustix

* clippy
2023-11-29 12:56:26 +01:00
Simon Hyll 5fd597ddaf docs: added banners and icons (#443)
* added banners and icons

* fix: formatting
2023-06-20 14:55:14 +03:00
Lucas Fernandes Nogueira 5914fb9f36 chore: add license headers (#384)
* feat: check for license headers

* add headers

* format
2023-05-21 16:56:10 -03:00
Lucas Fernandes Nogueira d677f73495 feat(ci): test mobile targets (#378) 2023-05-19 09:46:06 -07:00
Lucas Fernandes Nogueira 22f987bf24 feat: update setup hook to new syntax (#257) 2023-02-16 13:42:26 -03:00
Fabian-Lars 4bb200aac5 fix: apply clippy suggestions (#120)
* fix: apply clippy suggestions

* fmt

* clippy for linux targets
2023-02-01 11:27:33 +01:00
amrbashir b02c7e15f9 clippy lints 2023-01-23 22:33:29 +02:00
Beanow 4709b41eeb chore: Cargo fmt 2023-01-11 12:44:38 +01:00
Beanow 9884734bf5 chore: Clippy suggestion, combine replaces 2023-01-11 12:41:45 +01:00
Beanow d9301f2ad1 chore: Clippy, unused variable 2023-01-11 12:29:17 +01:00
Beanow 9b38d388d9 chore: move single-instance plugin 2023-01-11 11:57:08 +01:00