Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow double-clicking .chor files to open choreo #199

Open
gerth2 opened this issue Dec 8, 2023 · 7 comments
Open

Allow double-clicking .chor files to open choreo #199

gerth2 opened this issue Dec 8, 2023 · 7 comments
Labels
component: backend Rust/Tauri backend type: qol Quality of life features, non-critical

Comments

@gerth2
Copy link
Contributor

gerth2 commented Dec 8, 2023

I set up windows to open .chor files with choreo, but it isn't actually opening them when I double click. I believe this just means the command line needs to accept a file to open as the first argument?

@Awesomeplayer165
Copy link
Collaborator

Awesomeplayer165 commented Jan 2, 2024

a little more:

  1. the app needs to tell the operating system that it associates itself with a .chor file (which we could already do as a user manually)
  2. Tauri needs to accept this, but not necessarily as a command argument, unless everyone always opened choreo from the cli.

as far as I can tell, Tauri does not have this officially..

@calcmogul
Copy link
Member

Tauri added support for file associations, but it's not well-documented yet.

tauri-apps/tauri#3736
tauri-apps/tauri@3b98141
https://beta.tauri.app/references/v2/config/#fileassociation

@calcmogul calcmogul added the component: backend Rust/Tauri backend label Mar 3, 2024
@calcmogul calcmogul changed the title allow double-clicking .chor files to open choreo Allow double-clicking .chor files to open choreo Mar 3, 2024
@calcmogul calcmogul added the type: qol Quality of life features, non-critical label Mar 3, 2024
@Gold856
Copy link
Contributor

Gold856 commented Sep 3, 2024

#602 added the ability to double-click .chor files and have Choreo load them. Can this issue be closed, or should it be left open to track file associations?

@spacey-sooty
Copy link
Collaborator

It doesn't appear to work on main

@Gold856
Copy link
Contributor

Gold856 commented Sep 3, 2024

Works for me on Windows 11.

@spacey-sooty
Copy link
Collaborator

doesn't work for me on ubuntu 24.04

@Gold856
Copy link
Contributor

Gold856 commented Sep 3, 2024

How does Ubuntu handle launching apps with files? On Windows 11, the app is launched with the absolute file location as an argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: backend Rust/Tauri backend type: qol Quality of life features, non-critical
Projects
None yet
Development

No branches or pull requests

5 participants