Skip to content

Add custom link handlers#56

Closed
Airyzz wants to merge 2 commits into
cinnyapp:mainfrom
Airyzz:link-handlers
Closed

Add custom link handlers#56
Airyzz wants to merge 2 commits into
cinnyapp:mainfrom
Airyzz:link-handlers

Conversation

@Airyzz

@Airyzz Airyzz commented Sep 4, 2022

Copy link
Copy Markdown

Description

Adds the ability for the Tauri backend to handle the opening of links. This allows for certain links to be opened in a specific application, as well as fixing an issue where clicking a link in Cinny Desktop would navigate to that URL inside the tauri window.

I added an example link handler, for steamcommunity.com, and store.steampowered.com, which opens these urls inside the Steam app, if Steam is running on the user's computer.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Related: cinnyapp/cinny#790

Fixes links being opened inside the tauri application instead of browser.

Added an example link handler for steamcommunity.com, store.steampowered.com
@Airyzz Airyzz mentioned this pull request Sep 4, 2022
9 tasks
@Airyzz

Airyzz commented Sep 5, 2022

Copy link
Copy Markdown
Author

Changes to the Cinny submodule can be discarded, the necessary changes are in the pull request over on the main repo

@Airyzz Airyzz marked this pull request as draft September 21, 2022 07:20
@Airyzz Airyzz marked this pull request as ready for review September 22, 2022 01:43
@kfiven

kfiven commented May 22, 2024

Copy link
Copy Markdown
Member

As cinnyapp/cinny#790 is closed.

@kfiven kfiven closed this May 22, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants