-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(custom-scheme): add custom scheme functionality (WIP) * feat(custom-schema): implement custom schema for auto import * fix(custom-schema): fix missing deep link prepare * fix(custom-schema): fix typo and better handling
- Loading branch information
Showing
27 changed files
with
1,189 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ scripts/_env.sh | |
|
||
tauri.nightly.conf.json | ||
|
||
.idea |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
backend/tauri-plugin-deep-link/.github/workflows/audit.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Audit | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "**/Cargo.lock" | ||
- "**/Cargo.toml" | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "**/Cargo.lock" | ||
- "**/Cargo.toml" | ||
|
||
jobs: | ||
audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rs/audit-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
24 changes: 24 additions & 0 deletions
24
backend/tauri-plugin-deep-link/.github/workflows/format.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Format | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: rustfmt | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo fmt --all -- --check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Clippy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
clippy: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo clippy --all-targets --all-features -- -D warnings |
33 changes: 33 additions & 0 deletions
33
backend/tauri-plugin-deep-link/.github/workflows/release.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Release to crates.io | ||
run: | | ||
cargo login ${{ secrets.CRATES_IO }} | ||
cargo publish | ||
- name: Generate Changelog | ||
uses: orhun/git-cliff-action@v2 | ||
id: git-cliff | ||
with: | ||
config: cliff.toml | ||
args: -vv --latest --strip header | ||
|
||
- name: Create GitHub Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body: ${{ steps.git-cliff.outputs.content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target | ||
/Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## [0.1.2] - 2023-08-15 | ||
|
||
**This plugin will be migrated to https://github.com/tauri-apps/plugins-workspace/.** Therefore, this will likely be the last release in this repository. | ||
|
||
### Miscellaneous Tasks | ||
|
||
- Update rust crate objc2 to 0.4.0 (#30) | ||
- Update rust crate objc2 to 0.4.1 (#31) | ||
|
||
## [0.1.1] - 2023-04-04 | ||
|
||
### Bug Fixes | ||
|
||
- Info.plist formatting (#22) | ||
- Fixed inability to focus when launched from a Windows notification. (#27) | ||
|
||
### Documentation | ||
|
||
- Add env::args getter to example | ||
|
||
### Miscellaneous Tasks | ||
|
||
- Update rust crate winreg to 0.50.0 (#28) | ||
- Switch from dirs-next to dirs | ||
|
||
## [0.1.0] - 2023-02-27 | ||
|
||
### Features | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[package] | ||
name = "tauri-plugin-deep-link" | ||
version = "0.1.2" | ||
authors = ["FabianLars <fabianlars@fabianlars.de>"] | ||
description = "A Tauri plugin for deep linking support" | ||
repository = "https://github.com/FabianLars/tauri-plugin-deep-link" | ||
edition = "2021" | ||
rust-version = "1.64" | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
include = ["src/**", "Cargo.toml", "LICENSE_*"] | ||
|
||
[dependencies] | ||
dirs = "5" | ||
log = "0.4" | ||
once_cell = "1" | ||
tauri-utils = { version = "1" } | ||
|
||
[target.'cfg(windows)'.dependencies] | ||
interprocess = { version = "1.2", default-features = false } | ||
windows-sys = { version = "0.52.0", features = [ | ||
"Win32_Foundation", | ||
"Win32_UI_Input_KeyboardAndMouse", | ||
"Win32_UI_WindowsAndMessaging", | ||
] } | ||
winreg = "0.52.0" | ||
|
||
[target.'cfg(target_os = "macos")'.dependencies] | ||
objc2 = "0.4.1" |
Oops, something went wrong.